/**
 * Nile Flowers WooCommerce Stylesheet
 */

/* ==========================================================================
   1. SHOP ARCHIVE / CATALOG
   ========================================================================== */
.nf-shop-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--nf-space-2xl);
  margin-top: var(--nf-space-xl);
  margin-bottom: var(--nf-space-4xl);
}

@media (min-width: 992px) {
  .nf-shop-layout {
    grid-template-columns: 260px 1fr;
    gap: var(--nf-space-3xl);
  }
}

/* Filter Sidebar */
.nf-shop-sidebar {
  background-color: var(--nf-white);
  border: 1px solid var(--nf-border);
  border-radius: var(--nf-radius-lg);
  padding: var(--nf-space-xl);
  height: fit-content;
}

.nf-filter-widget {
  margin-bottom: var(--nf-space-xl);
  padding-bottom: var(--nf-space-lg);
  border-bottom: 1px solid var(--nf-border-light);
}

.nf-filter-widget:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.nf-filter-title {
  font-family: var(--nf-font-serif);
  font-size: 1.25rem;
  color: var(--nf-green-dark);
  margin-bottom: 14px;
}

.nf-filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nf-filter-list li {
  margin-bottom: 6px;
}

.nf-filter-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--nf-charcoal);
  text-decoration: none;
  transition: all 0.2s ease;
}

.nf-filter-list li a:hover {
  background-color: rgba(44, 62, 53, 0.05);
  color: var(--nf-green-dark);
  padding-left: 15px;
}

.nf-filter-list li a.is-active {
  background-color: rgba(44, 62, 53, 0.08);
  color: var(--nf-green-dark);
  font-weight: 700;
}

.nf-filter-list li a.is-active::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--nf-gold);
  margin-right: 8px;
}

.nf-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  padding: 2px 7px;
  border-radius: 12px;
  background-color: rgba(44, 62, 53, 0.06);
  color: var(--nf-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.nf-filter-list li a.is-active .nf-filter-count {
  background-color: var(--nf-green-dark);
  color: #FFFFFF;
}

/* Price Range Dual Slider Widget */
.nf-price-filter-widget {
  margin-top: 24px;
}

.nf-price-slider-wrap {
  padding: 8px 0;
}

.nf-slider-track-container {
  position: relative;
  height: 32px;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.nf-slider-track-bg {
  position: absolute;
  left: 0;
  right: 0;
  height: 5px;
  background-color: #E6E2DC;
  border-radius: 4px;
}

.nf-slider-track-fill {
  position: absolute;
  height: 5px;
  background: linear-gradient(90deg, var(--nf-green-dark) 0%, var(--nf-gold) 100%);
  border-radius: 4px;
  z-index: 1;
}

.nf-range-input {
  position: absolute;
  width: 100%;
  height: 5px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  outline: none;
  z-index: 2;
}

.nf-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 3px solid var(--nf-green-dark);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.nf-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  border-color: var(--nf-gold);
  box-shadow: 0 4px 10px rgba(200, 162, 73, 0.35);
}

.nf-range-input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 3px solid var(--nf-green-dark);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.nf-range-input::-moz-range-thumb:hover {
  transform: scale(1.15);
  border-color: var(--nf-gold);
}

.nf-price-inputs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.nf-price-values-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nf-price-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px 10px;
  background-color: var(--nf-cream);
  border: 1px solid rgba(44, 62, 53, 0.12);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--nf-green-dark);
  font-family: var(--nf-font-sans);
}

.nf-price-currency {
  font-size: 0.78rem;
  color: var(--nf-gold);
}

.nf-price-dash {
  color: var(--nf-muted);
  font-size: 0.8rem;
}

.nf-price-apply-btn {
  padding: 6px 14px !important;
  font-size: 0.8rem !important;
  border-radius: var(--nf-radius-full) !important;
  background-color: var(--nf-green-dark) !important;
  color: #FFFFFF !important;
  border: none !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: all 0.2s ease !important;
}

.nf-price-apply-btn:hover {
  background-color: var(--nf-gold) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200, 162, 73, 0.3);
}

/* Conceal native select without breaking form accessibility */
.nf-native-select-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;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Custom Select Dropdown Component */
.nf-custom-select-wrap {
  position: relative;
  display: inline-block;
  user-select: none;
}

.nf-custom-select-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 200px;
  padding: 9px 18px;
  background-color: #FFFFFF;
  border: 1.5px solid rgba(44, 62, 53, 0.15);
  border-radius: 30px;
  color: var(--nf-charcoal);
  font-family: var(--nf-font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.nf-custom-select-trigger:hover,
.nf-custom-select-wrap.is-open .nf-custom-select-trigger {
  border-color: var(--nf-green-dark);
  box-shadow: 0 4px 14px rgba(44, 62, 53, 0.08);
}

.nf-custom-select-arrow {
  display: inline-flex;
  align-items: center;
  color: var(--nf-green-dark);
  transition: transform 0.25s ease;
}

.nf-custom-select-wrap.is-open .nf-custom-select-arrow {
  transform: rotate(180deg);
}

.nf-custom-select-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 230px;
  background-color: #FFFFFF;
  border: 1px solid rgba(44, 62, 53, 0.08);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  padding: 8px;
  z-index: 999;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.nf-custom-select-wrap.is-open .nf-custom-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nf-custom-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  font-family: var(--nf-font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--nf-charcoal);
  cursor: pointer;
  transition: all 0.15s ease;
}

.nf-custom-select-option:hover {
  background-color: rgba(44, 62, 53, 0.05);
  color: var(--nf-green-dark);
  font-weight: 600;
  padding-left: 18px;
}

.nf-custom-select-option.is-selected {
  background-color: rgba(200, 162, 73, 0.12);
  color: var(--nf-green-dark);
  font-weight: 700;
}

.nf-option-check {
  color: var(--nf-gold);
  font-weight: 800;
  font-size: 0.9rem;
}

/* Shop Toolbar */
.nf-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--nf-space-xl);
  flex-wrap: wrap;
  gap: 12px;
}

.nf-shop-count {
  font-size: 0.9rem;
  color: var(--nf-muted);
}

.nf-shop-ordering .woocommerce-ordering {
  margin: 0;
}

.nf-shop-ordering select.orderby {
  height: 42px;
  border: 1.5px solid rgba(45, 74, 62, 0.18);
  border-radius: var(--nf-radius-full);
  background-color: var(--nf-white);
  color: var(--nf-green-dark);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0 32px 0 16px;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D4A3E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 13px;
  transition: all var(--nf-transition-fast);
}

.nf-shop-ordering select.orderby:hover,
.nf-shop-ordering select.orderby:focus {
  border-color: var(--nf-green-dark);
}

.nf-mobile-filter-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border: 1.5px solid rgba(44, 62, 53, 0.18);
  border-radius: var(--nf-radius-full);
  background-color: var(--nf-white);
  color: var(--nf-green-dark);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nf-mobile-filter-trigger:hover {
  border-color: var(--nf-green-dark);
  color: var(--nf-green-dark);
  background-color: var(--nf-cream);
}

@media (min-width: 992px) {
  .nf-mobile-filter-trigger {
    display: none;
  }
}

@media (max-width: 768px) {
  .nf-shop-toolbar {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    align-items: center !important;
    margin-bottom: 20px !important;
  }

  .nf-mobile-filter-trigger {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    justify-content: center !important;
    min-height: 44px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
  }

  .nf-shop-ordering {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
  }

  .nf-shop-ordering select.orderby {
    width: 100% !important;
    min-height: 44px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
  }

  .nf-shop-count {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    text-align: center !important;
    font-size: 0.82rem !important;
    color: var(--nf-muted) !important;
    margin-top: 4px !important;
  }
}

/* ==========================================================================
   REFINED NUMBERED PAGINATION (COMPLETELY OVERRIDING WOOCOMMERCE CORE)
   ========================================================================== */
.woocommerce nav.woocommerce-pagination,
nav.woocommerce-pagination,
.nf-woocommerce-pagination {
  margin: 48px auto 24px !important;
  text-align: center !important;
  clear: both !important;
  border: none !important;
  display: block !important;
  width: 100% !important;
}

.woocommerce nav.woocommerce-pagination ul,
nav.woocommerce-pagination ul,
.nf-woocommerce-pagination ul {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
  border: none !important; /* Strips WooCommerce outer box border */
  border-radius: 0 !important;
  white-space: normal !important;
  flex-wrap: wrap !important;
  background: transparent !important;
}

.woocommerce nav.woocommerce-pagination ul li,
nav.woocommerce-pagination ul li,
.nf-woocommerce-pagination ul li {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important; /* Strips WooCommerce vertical dividing borders */
  float: none !important;
  display: inline-flex !important;
  background: transparent !important;
  overflow: visible !important;
}

/* Page number circles: 1, 2, 3... and Current */
.woocommerce nav.woocommerce-pagination ul li > a,
.woocommerce nav.woocommerce-pagination ul li > span,
nav.woocommerce-pagination ul li > a,
nav.woocommerce-pagination ul li > span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(44, 62, 53, 0.15) !important;
  background-color: #FFFFFF !important;
  color: var(--nf-charcoal) !important;
  font-family: var(--nf-font-sans) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

/* Active / Current Page */
.woocommerce nav.woocommerce-pagination ul li > span.current,
nav.woocommerce-pagination ul li > span.current {
  background-color: var(--nf-green-dark) !important;
  color: #FFFFFF !important;
  border-color: var(--nf-green-dark) !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 18px rgba(44, 62, 53, 0.28) !important;
}

/* Hover on clickable page numbers */
.woocommerce nav.woocommerce-pagination ul li > a:hover,
nav.woocommerce-pagination ul li > a:hover {
  background-color: var(--nf-gold) !important;
  color: #FFFFFF !important;
  border-color: var(--nf-gold) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(200, 162, 73, 0.3) !important;
}

/* Prev / Next buttons: Elegant elongated pills */
.woocommerce nav.woocommerce-pagination ul li > a.prev,
.woocommerce nav.woocommerce-pagination ul li > a.next,
nav.woocommerce-pagination ul li > a.prev,
nav.woocommerce-pagination ul li > a.next {
  width: auto !important;
  max-width: none !important;
  min-width: 95px !important;
  height: 44px !important;
  padding: 0 22px !important;
  border-radius: 30px !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.02em !important;
  gap: 8px !important;
}

.woocommerce nav.woocommerce-pagination ul li > a.prev:hover,
.woocommerce nav.woocommerce-pagination ul li > a.next:hover,
nav.woocommerce-pagination ul li > a.prev:hover,
nav.woocommerce-pagination ul li > a.next:hover {
  background-color: var(--nf-green-dark) !important;
  border-color: var(--nf-green-dark) !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 16px rgba(44, 62, 53, 0.22) !important;
}

/* Dots (...) between page numbers */
.woocommerce nav.woocommerce-pagination ul li > span.dots,
nav.woocommerce-pagination ul li > span.dots {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--nf-muted) !important;
  font-size: 1.1rem !important;
  letter-spacing: 2px !important;
  width: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;
}

/* AJAX loading state on products content */
.nf-shop-content {
  position: relative;
  transition: opacity 0.25s ease;
}

.nf-shop-content.is-loading .nf-products-grid {
  opacity: 0.35;
  filter: blur(1.5px);
  pointer-events: none;
}

.nf-shop-content.is-loading::after {
  content: '';
  position: absolute;
  top: 180px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border: 3px solid rgba(44, 62, 53, 0.15);
  border-top-color: var(--nf-gold);
  border-radius: 50%;
  animation: nf-shop-spin 0.75s linear infinite;
  z-index: 10;
}

@keyframes nf-shop-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Mobile Sidebar Drawer Overlay */
.nf-shop-sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nf-shop-sidebar-overlay.is-active {
  display: block;
  opacity: 1;
}

.nf-sidebar-drawer-header {
  display: none;
}

@media (max-width: 991px) {
  .nf-shop-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 86vw;
    height: 100vh;
    height: 100dvh;
    background: #FFFFFF;
    z-index: 1050;
    padding: max(20px, env(safe-area-inset-top, 0px)) 20px max(24px, env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.25);
    transform: translateX(-100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  }
  .nf-shop-sidebar.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .nf-shop-sidebar-overlay {
    z-index: 1040;
  }
  .nf-sidebar-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--nf-border);
  }
  .nf-sidebar-drawer-title {
    font-family: var(--nf-font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--nf-green-dark);
  }
  .nf-sidebar-close {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background-color: var(--nf-cream);
    border: none;
    color: var(--nf-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--nf-transition-fast);
  }
  .nf-sidebar-close:hover {
    background-color: var(--nf-green-dark);
    color: var(--nf-white);
  }
}

/* ==========================================================================
   WOOCOMMERCE NOTICES & ALERTS (LUXURY FLOATING TOAST STYLING)
   ========================================================================== */
@keyframes nfToastSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.woocommerce-notices-wrapper {
  position: fixed !important;
  top: calc(76px + env(safe-area-inset-top, 0px) + 12px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 999999 !important;
  width: auto !important;
  max-width: min(92vw, 560px) !important;
  pointer-events: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 10px !important;
}

@media (min-width: 769px) {
  .woocommerce-notices-wrapper {
    top: calc(94px + 16px) !important;
  }
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  pointer-events: auto !important;
  background-color: var(--nf-green-dark) !important;
  color: #FFFFFF !important;
  padding: 13px 26px 13px 22px !important;
  border-radius: var(--nf-radius-full) !important;
  font-family: var(--nf-font-sans) !important;
  font-size: 0.94rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28) !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
  animation: nfToastSlideDown 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  margin: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  text-align: left !important;
}

.woocommerce-message::before {
  content: '✓' !important;
  font-family: inherit !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: #FFFFFF !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  position: static !important;
  line-height: 1 !important;
}

.woocommerce-info::before {
  content: 'ℹ' !important;
  font-family: inherit !important;
  font-size: 0.9rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: #FFFFFF !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  position: static !important;
  line-height: 1 !important;
}

.woocommerce-error {
  background-color: #8B2626 !important;
  border-radius: var(--nf-radius-md) !important;
}

.woocommerce-error::before {
  content: '✕' !important;
  font-family: inherit !important;
  font-size: 0.9rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: #FFFFFF !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  position: static !important;
  line-height: 1 !important;
}

.woocommerce-error li {
  color: #FFFFFF !important;
  margin: 0 !important;
}

/* "View cart" button inside notice */
.woocommerce-message a.button,
.woocommerce-message .button.wc-forward,
.woocommerce-notices-wrapper .button.wc-forward {
  float: none !important;
  margin: 0 0 0 10px !important;
  background-color: var(--nf-gold) !important;
  color: #FFFFFF !important;
  border: 1px solid var(--nf-gold) !important;
  border-radius: var(--nf-radius-full) !important;
  padding: 6px 18px !important;
  font-family: var(--nf-font-sans) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.25s ease !important;
  order: 3 !important;
  white-space: nowrap !important;
}

.woocommerce-message a.button:hover,
.woocommerce-message .button.wc-forward:hover,
.woocommerce-notices-wrapper .button.wc-forward:hover {
  background-color: #FFFFFF !important;
  border-color: #FFFFFF !important;
  color: var(--nf-green-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2) !important;
}

/* ==========================================================================
   2. SINGLE PRODUCT PAGE
   ========================================================================== */
.nf-single-product {
  padding-top: var(--nf-space-md);
  padding-bottom: var(--nf-space-4xl);
}

/* Breadcrumbs */
.nf-single-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  color: var(--nf-muted);
  margin-bottom: var(--nf-space-2xl);
  padding-bottom: var(--nf-space-sm);
}

.nf-single-breadcrumbs a {
  color: var(--nf-text-secondary);
  text-decoration: none;
  transition: color var(--nf-transition-fast);
}

.nf-single-breadcrumbs a:hover {
  color: var(--nf-green-dark);
}

.nf-breadcrumb-sep {
  color: var(--nf-border);
  font-size: 0.75rem;
}

.nf-breadcrumb-current {
  color: var(--nf-green-dark);
  font-weight: 600;
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 2-Column Product Grid */
.nf-single-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--nf-space-3xl);
  margin-bottom: var(--nf-space-4xl);
  align-items: start;
}

@media (min-width: 992px) {
  .nf-single-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 52px;
  }
}

/* Gallery Showcase */
.nf-product-gallery {
  position: relative;
}

@media (min-width: 992px) {
  .nf-product-gallery {
    position: sticky;
    top: 110px;
  }
}

.nf-gallery-main-wrapper {
  position: relative;
  width: 100%;
}

.nf-gallery-main {
  position: relative;
  width: 100%;
  border-radius: var(--nf-radius-lg);
  overflow: hidden;
  background-color: #FAF8F5;
  border: 1px solid var(--nf-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: box-shadow var(--nf-transition-normal);
}

.nf-gallery-main:hover {
  box-shadow: 0 16px 40px rgba(45, 74, 62, 0.08);
}

.nf-gallery-main img,
.nf-main-img-tag {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.nf-gallery-main:hover img {
  transform: scale(1.025);
}

.nf-single-badge-wrap {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;
}

.nf-single-badge-wrap .nf-badge {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: var(--nf-radius-full);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nf-gallery-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.nf-gallery-thumb {
  width: 74px;
  height: 74px;
  flex-shrink: 0;
  border-radius: var(--nf-radius-md);
  border: 2px solid transparent;
  background-color: #FAF8F5;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.72;
  transition: all var(--nf-transition-fast);
}

.nf-gallery-thumb:hover,
.nf-gallery-thumb.is-active {
  opacity: 1;
  border-color: var(--nf-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 74, 62, 0.15);
}

.nf-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Product Info Summary */
.nf-product-summary {
  display: flex;
  flex-direction: column;
}

.nf-single-category-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--nf-gold);
  margin-bottom: 8px;
}

.nf-single-category-tag a {
  color: inherit;
  text-decoration: none;
  transition: color var(--nf-transition-fast);
}

.nf-single-category-tag a:hover {
  color: var(--nf-green-dark);
}

.nf-single-title {
  font-family: var(--nf-font-serif);
  font-size: clamp(2.1rem, 3.2vw, 2.85rem);
  color: var(--nf-green-dark);
  margin-bottom: 14px;
  font-weight: 500;
  line-height: 1.18;
}

.nf-single-price-stock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--nf-border-light);
}

.nf-single-price {
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--nf-green-dark);
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.nf-single-price del {
  font-size: 1.2rem;
  color: var(--nf-muted);
  font-weight: 400;
}

.nf-single-price ins {
  text-decoration: none;
  color: var(--nf-green-dark);
}

.nf-single-stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--nf-radius-full);
  font-size: 0.82rem;
  font-weight: 600;
}

.nf-single-stock-pill.is-in-stock {
  background-color: rgba(45, 74, 62, 0.08);
  color: var(--nf-green-dark);
  border: 1px solid rgba(45, 74, 62, 0.15);
}

.nf-single-stock-pill.is-out-of-stock {
  background-color: rgba(220, 53, 69, 0.08);
  color: #C82333;
  border: 1px solid rgba(220, 53, 69, 0.2);
}

.nf-stock-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #28A745;
  display: inline-block;
}

@keyframes nfPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(40, 167, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
  }
}

.nf-single-stock-pill.is-in-stock .nf-stock-pulse {
  animation: nfPulse 2s infinite;
}

.nf-single-stock-pill.is-out-of-stock .nf-stock-pulse {
  background-color: #DC3545;
  animation: none;
}

.nf-single-desc {
  font-size: 0.98rem;
  color: var(--nf-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--nf-space-xl);
}
/* Quantity & Add to Cart Controls */
.nf-single-cart-form {
  margin-bottom: var(--nf-space-xl);
}

.nf-single-cart-form form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

/* Luxury Quantity Stepper */
.quantity.nf-quantity-stepper,
.nf-single-cart-form .quantity {
  display: inline-flex !important;
  align-items: center !important;
  border: 1.5px solid var(--nf-border) !important;
  border-radius: var(--nf-radius-full) !important;
  background-color: var(--nf-white) !important;
  padding: 0 4px !important;
  height: 52px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
  transition: border-color var(--nf-transition-fast), box-shadow var(--nf-transition-fast);
}

.quantity.nf-quantity-stepper:focus-within,
.nf-single-cart-form .quantity:focus-within {
  border-color: var(--nf-green-dark) !important;
  box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.1) !important;
}

.nf-qty-btn {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  color: var(--nf-green-dark) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all var(--nf-transition-fast) !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}

.nf-qty-btn:hover {
  background-color: var(--nf-cream) !important;
  color: var(--nf-green-dark) !important;
  transform: scale(1.08);
}

.nf-qty-btn svg {
  display: block;
}

.nf-single-cart-form .quantity .qty,
.quantity.nf-quantity-stepper input.qty,
.nf-qty-input {
  width: 48px !important;
  height: 44px !important;
  border: none !important;
  text-align: center !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: var(--nf-green-dark) !important;
  outline: none !important;
  background: transparent !important;
  -moz-appearance: textfield !important;
  padding: 0 !important;
}

.nf-single-cart-form .quantity .qty::-webkit-outer-spin-button,
.nf-single-cart-form .quantity .qty::-webkit-inner-spin-button,
.quantity.nf-quantity-stepper input.qty::-webkit-outer-spin-button,
.quantity.nf-quantity-stepper input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* Add to Cart Button (Strict Override of WooCommerce Default Purple) */
.woocommerce div.product form.cart .button,
.woocommerce button.button.alt.single_add_to_cart_button,
.woocommerce button.button.single_add_to_cart_button,
.woocommerce a.button.alt.single_add_to_cart_button,
.single_add_to_cart_button {
  flex: 1 1 220px !important;
  min-width: 200px !important;
  height: 52px !important;
  padding: 0 36px !important;
  font-family: var(--nf-font-sans) !important;
  font-size: 0.96rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  background-color: var(--nf-green-dark) !important;
  color: #FFFFFF !important;
  border: 1px solid var(--nf-green-dark) !important;
  border-radius: var(--nf-radius-full) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 6px 20px rgba(45, 74, 62, 0.22) !important;
}

.woocommerce div.product form.cart .button:hover,
.woocommerce button.button.alt.single_add_to_cart_button:hover,
.woocommerce button.button.single_add_to_cart_button:hover,
.single_add_to_cart_button:hover {
  background-color: var(--nf-green) !important;
  border-color: var(--nf-green) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(45, 74, 62, 0.32) !important;
}

.woocommerce div.product form.cart .button:active,
.single_add_to_cart_button:active {
  transform: translateY(0) !important;
}

/* Variable Products Support */
.nf-single-cart-form table.variations {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
}

.nf-single-cart-form table.variations td {
  padding: 10px 0;
  vertical-align: middle;
}

.nf-single-cart-form table.variations td.label {
  width: 90px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--nf-green-dark);
}

.nf-single-cart-form table.variations td.value select {
  width: 100%;
  max-width: 320px;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--nf-radius-md);
  border: 1px solid var(--nf-border);
  background-color: var(--nf-white);
  font-size: 0.92rem;
  color: var(--nf-text);
  outline: none;
}

.nf-single-cart-form table.variations td.value select:focus {
  border-color: var(--nf-green-dark);
  box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.12);
}

.nf-single-cart-form .reset_variations {
  margin-left: 12px;
  font-size: 0.8rem;
  color: var(--nf-muted);
  text-decoration: underline;
}

/* Actions Row: Wishlist & WhatsApp Florist Inquiry */
.nf-single-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.nf-single-wishlist-btn.nf-wishlist-btn {
  position: static !important;
  top: auto !important;
  right: auto !important;
  width: auto !important;
  height: 48px !important;
  padding: 0 22px !important;
  border-radius: var(--nf-radius-full) !important;
  border: 1.5px solid var(--nf-border) !important;
  background-color: var(--nf-white) !important;
  color: var(--nf-text) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all var(--nf-transition-fast) !important;
  z-index: 1 !important;
}

.nf-single-wishlist-btn.nf-wishlist-btn:hover {
  border-color: var(--nf-green-dark) !important;
  color: var(--nf-green-dark) !important;
  background-color: var(--nf-cream) !important;
  transform: translateY(-1px) !important;
}

.nf-single-wishlist-btn.nf-wishlist-btn.is-active {
  background-color: #FFF0F0 !important;
  border-color: #E08282 !important;
  color: #D94848 !important;
}

.nf-single-wishlist-btn.nf-wishlist-btn .nf-icon {
  width: 17px !important;
  height: 17px !important;
}

.nf-single-whatsapp-inquire {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--nf-radius-full);
  border: 1.5px solid rgba(37, 211, 102, 0.4);
  background-color: rgba(37, 211, 102, 0.08);
  color: #128C7E;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--nf-transition-fast);
}

.nf-single-whatsapp-inquire:hover {
  background-color: #25D366;
  color: var(--nf-white);
  border-color: #25D366;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
}

.nf-single-whatsapp-inquire .nf-icon {
  width: 17px;
  height: 17px;
}

/* Social Sharing Bar */
.nf-social-share-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: var(--nf-space-2xl);
  padding: 14px 18px;
  background-color: #FAF8F5;
  border: 1px solid var(--nf-border);
  border-radius: var(--nf-radius-md);
}

.nf-share-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nf-muted);
}

.nf-share-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nf-share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--nf-white);
  border: 1px solid var(--nf-border);
  color: var(--nf-text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: all var(--nf-transition-fast);
  padding: 0;
}

.nf-share-btn .nf-icon,
.nf-share-btn svg {
  width: 15px;
  height: 15px;
  display: block;
}

.nf-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nf-share-wa:hover {
  background-color: #25D366;
  border-color: #25D366;
  color: #FFFFFF;
}

.nf-share-fb:hover {
  background-color: #1877F2;
  border-color: #1877F2;
  color: #FFFFFF;
}

.nf-share-tw:hover {
  background-color: #000000;
  border-color: #000000;
  color: #FFFFFF;
}

.nf-share-pin:hover {
  background-color: #BD081C;
  border-color: #BD081C;
  color: #FFFFFF;
}

.nf-share-pin .nf-icon,
.nf-share-pin svg {
  width: 13px;
  height: 17px;
}

/* Artisanal Florist Perks / Guarantee Card */
.nf-single-perks-card {
  background-color: #FAF8F5;
  border: 1px solid #ECE4D6;
  border-radius: var(--nf-radius-lg);
  padding: 24px;
}

.nf-single-perks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 576px) {
  .nf-single-perks-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
  }
}

.nf-single-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.nf-perk-icon-circle {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: rgba(45, 74, 62, 0.08);
  color: var(--nf-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nf-perk-icon-circle .nf-icon {
  width: 18px;
  height: 18px;
}

.nf-perk-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nf-perk-text strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--nf-green-dark);
}

.nf-perk-text span {
  font-size: 0.78rem;
  color: var(--nf-text-secondary);
  line-height: 1.45;
}

/* Product Tabs (Total Override of WooCommerce Core Box Tabs) */
.nf-product-tabs-wrapper,
.woocommerce-tabs {
  margin-top: var(--nf-space-4xl);
  margin-bottom: var(--nf-space-4xl);
}

.woocommerce div.product .woocommerce-tabs ul.tabs,
.woocommerce-tabs ul.tabs {
  display: flex !important;
  justify-content: center !important;
  gap: 40px !important;
  border: none !important;
  border-bottom: 2px solid #EAE5DC !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 0 36px 0 !important;
  list-style: none !important;
  position: relative !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after,
.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after {
  display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after,
.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.woocommerce-tabs ul.tabs li a {
  font-family: var(--nf-font-serif) !important;
  font-size: 1.55rem !important;
  font-weight: 500 !important;
  color: #8C827A !important;
  padding: 12px 6px !important;
  text-decoration: none !important;
  display: block !important;
  transition: all var(--nf-transition-fast) !important;
  position: relative !important;
  background: transparent !important;
  border: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover,
.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
  color: var(--nf-green-dark) !important;
  font-weight: 600 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a::after,
.woocommerce-tabs ul.tabs li.active a::after {
  content: '' !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background-color: var(--nf-green-dark) !important;
  border-radius: 3px 3px 0 0 !important;
}

/* Tabs Content Panel */
.woocommerce div.product .woocommerce-tabs .panel,
.woocommerce-Tabs-panel {
  background-color: var(--nf-white) !important;
  border: 1px solid #ECE7DE !important;
  border-radius: 18px !important;
  padding: 44px 50px !important;
  line-height: 1.9 !important;
  color: var(--nf-text-secondary) !important;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.02) !important;
  margin-top: 0 !important;
}

.woocommerce-Tabs-panel--description > h2:first-child {
  display: none !important;
}

.woocommerce-Tabs-panel p {
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 16px;
  color: #4A5568;
}

/* Care Instructions Card */
.nf-care-instructions-card {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.nf-care-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.nf-care-eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--nf-gold);
  margin-bottom: 6px;
}

.nf-care-title {
  font-family: var(--nf-font-serif);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 500;
  color: var(--nf-green-dark);
  margin-bottom: 10px;
  line-height: 1.25;
}

.nf-care-desc {
  font-size: 0.95rem;
  color: var(--nf-muted);
  line-height: 1.6;
  margin: 0 auto;
}

.nf-care-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 6px;
}

.nf-care-step {
  display: flex;
  gap: 16px;
  background-color: #FAF8F5;
  border: 1px solid #ECE4D6;
  border-radius: 14px;
  padding: 22px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nf-care-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 74, 62, 0.06);
  border-color: var(--nf-green);
}

.nf-care-num {
  font-family: var(--nf-font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--nf-green-dark);
  opacity: 0.45;
  line-height: 1;
  flex-shrink: 0;
}

.nf-care-info h4 {
  font-family: var(--nf-font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--nf-green-dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.nf-care-info p {
  font-size: 0.88rem;
  color: var(--nf-text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* Related Bouquets (You May Also Adore - Strict 4-Column Grid) */
.nf-related-products-wrapper {
  margin-top: var(--nf-space-4xl);
  padding-top: var(--nf-space-3xl);
  border-top: 1px solid var(--nf-border-light);
}

.nf-related-products-wrapper .related.products > h2 {
  display: none !important;
}

.woocommerce .nf-related-products-wrapper ul.products,
.nf-related-products-wrapper ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  clear: both !important;
}

.woocommerce .nf-related-products-wrapper ul.products::before,
.woocommerce .nf-related-products-wrapper ul.products::after {
  display: none !important;
}

.woocommerce .nf-related-products-wrapper ul.products li.product,
.nf-related-products-wrapper ul.products li.product {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  clear: none !important;
}

@media (max-width: 991px) and (min-width: 769px) {
  .woocommerce .nf-related-products-wrapper ul.products,
  .nf-related-products-wrapper ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

@media (max-width: 768px) {
  .woocommerce .nf-related-products-wrapper ul.products,
  .nf-related-products-wrapper ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: visible !important;
  }

  .woocommerce .nf-related-products-wrapper ul.products > *,
  .nf-related-products-wrapper ul.products > *,
  .woocommerce .nf-related-products-wrapper ul.products li.product,
  .nf-related-products-wrapper ul.products li.product,
  .woocommerce .nf-related-products-wrapper ul.products .nf-product-card,
  .nf-related-products-wrapper ul.products .nf-product-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* Show exactly 4 products (2 columns x 2 rows) */
  .woocommerce .nf-related-products-wrapper ul.products > *:nth-child(n+5),
  .nf-related-products-wrapper ul.products > *:nth-child(n+5) {
    display: none !important;
  }

  /* Compact professional card scaling */
  .nf-related-products-wrapper .nf-product-card {
    border-radius: 14px !important;
  }

  .nf-related-products-wrapper .nf-product-card .nf-card-media {
    border-radius: 12px !important;
  }

  .nf-related-products-wrapper .nf-product-card .nf-card-details {
    padding: 10px 4px 6px 4px !important;
  }

  .nf-related-products-wrapper .nf-product-card .nf-product-title,
  .nf-related-products-wrapper .nf-product-card .nf-product-title a {
    font-size: 0.94rem !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
  }

  .nf-related-products-wrapper .nf-product-card .price {
    font-size: 0.92rem !important;
  }

  .nf-related-products-wrapper .nf-product-card .nf-card-add-to-cart {
    width: 34px !important;
    height: 34px !important;
  }
}


/* ==========================================================================
   3. CART & CHECKOUT SHARED FLOW (Progress Bar, Containers & Alerts)
   ========================================================================== */
.nf-ecommerce-page-content {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 10px 0 70px;
}

/* Space between site header and ecommerce checkout/cart flow */
.woocommerce-cart .nf-site-main,
.woocommerce-checkout .nf-site-main {
  padding-top: 16px;
}

/* 3-Step Checkout & Cart Progress Bar */
.nf-checkout-header-wrapper {
  padding: 44px 0 36px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(230, 224, 216, 0.7);
}

@media (max-width: 768px) {
  .nf-checkout-header-wrapper {
    padding: 28px 0 24px;
    margin-bottom: 24px;
  }
}

.nf-checkout-steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

.nf-step-node {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: all var(--nf-transition-fast);
}

.nf-step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #FAF8F5;
  border: 1.5px solid var(--nf-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--nf-muted);
  flex-shrink: 0;
  transition: all var(--nf-transition-normal);
}

.nf-step-node.is-active .nf-step-circle {
  background-color: var(--nf-green-dark);
  color: var(--nf-white);
  border-color: var(--nf-green-dark);
  box-shadow: 0 4px 16px rgba(45, 74, 62, 0.28);
  transform: scale(1.05);
}

.nf-step-node.is-complete .nf-step-circle {
  background-color: #EBF3ED;
  color: var(--nf-green-dark);
  border-color: var(--nf-green);
  font-weight: 700;
}

.nf-step-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--nf-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color var(--nf-transition-fast);
}

.nf-step-node.is-active .nf-step-label {
  color: var(--nf-green-dark);
  font-weight: 700;
}

.nf-step-node.is-complete .nf-step-label {
  color: var(--nf-text);
}

.nf-step-connector {
  flex: 1;
  height: 2px;
  background-color: #E8E3DC;
  min-width: 36px;
  max-width: 90px;
  border-radius: 2px;
  transition: background-color var(--nf-transition-normal);
}

.nf-step-connector.is-complete {
  background-color: var(--nf-green);
}

@media (max-width: 640px) {
  .nf-checkout-header-wrapper {
    padding: 14px 0 18px !important;
  }
  .nf-checkout-steps-bar {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 4px !important;
    padding: 0 4px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .nf-step-node {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 6px !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
  .nf-step-circle {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.82rem !important;
    flex-shrink: 0 !important;
  }
  .nf-step-label {
    display: block !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    text-align: center !important;
    color: var(--nf-muted) !important;
    max-width: 100px !important;
    letter-spacing: normal !important;
  }
  .nf-step-node.is-active .nf-step-label {
    color: var(--nf-green-dark) !important;
    font-weight: 700 !important;
  }
  .nf-step-node.is-complete .nf-step-label {
    color: var(--nf-text) !important;
    font-weight: 600 !important;
  }
  .nf-step-connector {
    flex: 0 1 24px !important;
    min-width: 10px !important;
    margin-top: 15px !important;
  }
}

/* Luxury WooCommerce Notices in Cart & Checkout */
.woocommerce-notices-wrapper {
  width: 100%;
  margin-bottom: 24px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: var(--nf-radius-md) !important;
  padding: 16px 24px !important;
  font-size: 0.92rem !important;
  line-height: 1.5 !important;
  margin-bottom: 20px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.woocommerce-message {
  background-color: #F4F8F5 !important;
  border: 1px solid #CDE2D3 !important;
  border-left: 5px solid var(--nf-green-dark) !important;
  color: var(--nf-green-dark) !important;
}

.woocommerce-info {
  background-color: #FAF8F4 !important;
  border: 1px solid #EBE4D8 !important;
  border-left: 5px solid var(--nf-gold) !important;
  color: #6C5838 !important;
}

.woocommerce-error {
  background-color: #FEF6F6 !important;
  border: 1px solid #F8D3D3 !important;
  border-left: 5px solid #DC2626 !important;
  color: #991B1B !important;
  list-style: none !important;
}

.woocommerce-message .button,
.woocommerce-info .button {
  background-color: var(--nf-green-dark) !important;
  color: var(--nf-white) !important;
  border-radius: var(--nf-radius-full) !important;
  padding: 7px 18px !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all var(--nf-transition-fast) !important;
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover {
  background-color: var(--nf-green) !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   3B. CART PAGE (Classic Layout & Gutenberg Blocks)
   ========================================================================== */
.nf-cart-page-wrapper {
  padding-bottom: var(--nf-space-3xl);
}

/* Delivery Guarantee Strip */
.nf-cart-shipping-notice {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: #F8FAF8;
  border: 1px solid #DEE8DF;
  border-radius: var(--nf-radius-md);
  padding: 14px 22px;
  margin-bottom: var(--nf-space-2xl);
  box-shadow: 0 2px 10px rgba(45, 74, 62, 0.02);
}

.nf-notice-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.nf-notice-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--nf-green-dark);
  font-weight: 600;
}

.nf-notice-text span {
  font-size: 0.82rem;
  color: var(--nf-text-secondary);
}

/* Classic Cart: 2-Column Grid */
.woocommerce-cart .woocommerce {
  display: block;
}

@media (min-width: 992px) {
  .woocommerce-cart .woocommerce:not(.woocommerce-block-cart) {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }
}

/* Classic Cart Table */
.nf-cart-table,
table.shop_table.cart {
  width: 100%;
  background-color: var(--nf-white);
  border: 1px solid var(--nf-border);
  border-radius: var(--nf-radius-lg);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  margin-bottom: 24px;
}

.nf-cart-table thead th,
table.shop_table.cart thead th {
  background-color: #FAF8F5;
  padding: 16px 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nf-green-dark);
  border-bottom: 1px solid var(--nf-border);
  text-align: left;
}

.nf-cart-table tbody td,
table.shop_table.cart tbody td {
  padding: 20px;
  border-bottom: 1px solid var(--nf-border-light);
  vertical-align: middle;
}

/* Remove Button */
.nf-cart-remove-btn,
table.shop_table.cart a.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #FAF8F5;
  color: var(--nf-muted);
  border: 1px solid var(--nf-border-light);
  transition: all var(--nf-transition-fast);
  text-decoration: none;
  font-size: 1.1rem;
  line-height: 1;
}

.nf-cart-remove-btn:hover,
table.shop_table.cart a.remove:hover {
  background-color: #FEE2E2;
  color: #DC2626;
  border-color: #FECACA;
  transform: scale(1.08);
}

/* Thumbnail */
.nf-cart-thumb-link img,
table.shop_table.cart td.product-thumbnail img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--nf-radius-md);
  border: 1px solid var(--nf-border);
  display: block;
}

/* Product Info */
.nf-cart-item-title,
table.shop_table.cart td.product-name a {
  font-family: var(--nf-font-serif);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--nf-green-dark);
  text-decoration: none;
  transition: color var(--nf-transition-fast);
  display: inline-block;
  line-height: 1.35;
}

.nf-cart-item-title:hover,
table.shop_table.cart td.product-name a:hover {
  color: var(--nf-green);
}

.product-price,
.product-subtotal,
table.shop_table.cart td.product-price,
table.shop_table.cart td.product-subtotal {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--nf-green-dark);
}

/* Quantity in Cart */
.nf-cart-table .quantity,
table.shop_table.cart .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--nf-border);
  border-radius: var(--nf-radius-full);
  padding: 2px 6px;
  background-color: #FAF8F5;
}

.nf-cart-table .quantity .qty,
table.shop_table.cart .quantity .qty {
  width: 44px;
  height: 36px;
  text-align: center;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--nf-green-dark);
  outline: none;
  background: transparent;
}

/* Actions Row: Coupon & Update */
.nf-cart-actions-row,
table.shop_table.cart td.actions {
  background-color: #FAF8F5;
  padding: 20px 24px !important;
  border-top: 1px solid var(--nf-border-light);
}

.nf-cart-coupon-wrap,
table.shop_table.cart .coupon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nf-coupon-input,
table.shop_table.cart .coupon input.input-text {
  height: 46px;
  padding: 0 18px;
  border-radius: var(--nf-radius-full);
  border: 1px solid var(--nf-border);
  font-size: 0.88rem;
  background-color: var(--nf-white);
  outline: none;
  min-width: 200px;
  transition: all var(--nf-transition-fast);
}

.nf-coupon-input:focus,
table.shop_table.cart .coupon input.input-text:focus {
  border-color: var(--nf-green-dark);
  box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.12);
}

.nf-coupon-btn,
table.shop_table.cart .coupon button.button,
.nf-update-cart-btn,
table.shop_table.cart td.actions button[name="update_cart"] {
  height: 46px;
  padding: 0 24px;
  border-radius: var(--nf-radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--nf-transition-fast);
}

.nf-coupon-btn,
table.shop_table.cart .coupon button.button {
  background-color: var(--nf-white);
  color: var(--nf-green-dark);
  border: 1.5px solid var(--nf-green-dark);
}

.nf-coupon-btn:hover,
table.shop_table.cart .coupon button.button:hover {
  background-color: var(--nf-green-dark);
  color: var(--nf-white);
}

.nf-update-cart-btn,
table.shop_table.cart td.actions button[name="update_cart"] {
  background-color: #ECE7DE;
  color: var(--nf-green-dark);
  border: 1px solid #DFD9CE;
}

.nf-update-cart-btn:hover,
table.shop_table.cart td.actions button[name="update_cart"]:hover {
  background-color: #E2DBD0;
}

/* Totals Summary Card */
.nf-cart-totals-card,
.cart_totals {
  background-color: #FAF8F5;
  border: 1px solid var(--nf-border);
  border-radius: var(--nf-radius-lg);
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

@media (min-width: 992px) {
  .nf-cart-totals-card,
  .cart_totals {
    position: sticky;
    top: 110px;
  }
}

.cart_totals h2 {
  font-family: var(--nf-font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--nf-green-dark);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--nf-border-light);
}

.cart_totals table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.cart_totals table.shop_table tr th {
  padding: 14px 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--nf-text);
  text-align: left;
  border-bottom: 1px solid var(--nf-border-light);
}

.cart_totals table.shop_table tr td {
  padding: 14px 0;
  text-align: right;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--nf-green-dark);
  border-bottom: 1px solid var(--nf-border-light);
}

.cart_totals table.shop_table tr.order-total th {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--nf-green-dark);
  border-top: 2px solid var(--nf-green-dark);
  border-bottom: none;
  padding-top: 18px;
}

.cart_totals table.shop_table tr.order-total td {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--nf-green-dark);
  border-top: 2px solid var(--nf-green-dark);
  border-bottom: none;
  padding-top: 18px;
}

.wc-proceed-to-checkout .checkout-button,
a.checkout-button {
  display: flex !important;
  width: 100% !important;
  height: 54px !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: var(--nf-green-dark) !important;
  color: var(--nf-white) !important;
  border-radius: var(--nf-radius-full) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: all var(--nf-transition-normal) !important;
  box-shadow: 0 6px 20px rgba(45, 74, 62, 0.22) !important;
  margin-top: 12px !important;
}

.wc-proceed-to-checkout .checkout-button:hover,
a.checkout-button:hover {
  background-color: var(--nf-green) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(45, 74, 62, 0.32) !important;
}

/* Empty Cart State */
.nf-empty-cart-page,
.cart-empty {
  text-align: center;
  padding: 60px 20px 80px;
}

.nf-empty-cart-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: #FAF7F2;
  border: 1px solid var(--nf-border);
  color: var(--nf-green-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.nf-empty-cart-icon .nf-icon {
  width: 42px;
  height: 42px;
}

.nf-empty-cart-title,
.cart-empty.woocommerce-info {
  font-family: var(--nf-font-serif);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  color: var(--nf-green-dark);
  font-weight: 500;
  margin-bottom: 12px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  justify-content: center !important;
}

.return-to-shop {
  text-align: center;
  margin-top: 24px;
}

.return-to-shop .button.wc-backward {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 50px !important;
  padding: 0 36px !important;
  background-color: var(--nf-green-dark) !important;
  color: var(--nf-white) !important;
  border-radius: var(--nf-radius-full) !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: all var(--nf-transition-normal) !important;
  box-shadow: 0 6px 20px rgba(45, 74, 62, 0.22) !important;
}

.return-to-shop .button.wc-backward:hover {
  background-color: var(--nf-green) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(45, 74, 62, 0.32) !important;
}

/* ==========================================================================
   3C. WOOCOMMERCE GUTENBERG CART BLOCK SUPPORT
   ========================================================================== */
.wp-block-woocommerce-cart,
.wc-block-cart {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  font-family: inherit !important;
}

.wp-block-woocommerce-cart .wc-block-components-sidebar-layout,
.wc-block-cart .wc-block-components-sidebar-layout {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

@media (min-width: 992px) {
  .wp-block-woocommerce-cart .wc-block-components-sidebar-layout,
  .wc-block-cart .wc-block-components-sidebar-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.7fr) minmax(360px, 420px) !important;
    gap: 40px !important;
    align-items: start !important;
  }
}

@media (max-width: 991px) {
  .wp-block-woocommerce-cart .wc-block-components-sidebar-layout,
  .wc-block-cart .wc-block-components-sidebar-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
  }
}

.wc-block-cart .wc-block-cart__main,
.wc-block-cart .wc-block-components-main,
.wp-block-woocommerce-cart .wc-block-components-main {
  width: 100% !important;
  max-width: 100% !important;
  background-color: var(--nf-white) !important;
  border: 1px solid var(--nf-border) !important;
  border-radius: var(--nf-radius-lg) !important;
  padding: 32px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
  box-sizing: border-box !important;
}

.wc-block-cart .wc-block-cart__sidebar,
.wc-block-cart .wc-block-components-sidebar,
.wp-block-woocommerce-cart .wc-block-components-sidebar {
  width: 100% !important;
  max-width: 100% !important;
  background-color: #FAF8F5 !important;
  border: 1px solid var(--nf-border) !important;
  border-radius: var(--nf-radius-lg) !important;
  padding: 32px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
  box-sizing: border-box !important;
}

@media (min-width: 992px) {
  .wc-block-cart .wc-block-cart__sidebar,
  .wc-block-cart .wc-block-components-sidebar,
  .wp-block-woocommerce-cart .wc-block-components-sidebar {
    position: sticky !important;
    top: 110px !important;
  }
}

.wc-block-cart-items {
  width: 100% !important;
}

.wc-block-cart-items__header {
  background-color: #FAF8F5 !important;
  border-radius: var(--nf-radius-md) !important;
  padding: 12px 18px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: var(--nf-green-dark) !important;
  margin-bottom: 16px !important;
}

.wc-block-cart-items__row {
  border-bottom: 1px solid var(--nf-border-light) !important;
  padding: 20px 0 !important;
}

.wc-block-cart-item__image img {
  width: 80px !important;
  height: 80px !important;
  object-fit: cover !important;
  border-radius: var(--nf-radius-md) !important;
  border: 1px solid var(--nf-border) !important;
}

.wc-block-components-product-name {
  font-family: var(--nf-font-serif) !important;
  font-size: 1.18rem !important;
  font-weight: 600 !important;
  color: var(--nf-green-dark) !important;
  text-decoration: none !important;
  line-height: 1.35 !important;
  transition: color var(--nf-transition-fast) !important;
}

.wc-block-components-product-name:hover {
  color: var(--nf-green) !important;
}

.wc-block-components-product-price {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--nf-green-dark) !important;
}

/* Gutenberg Quantity Stepper */
.wc-block-components-quantity-selector {
  border: 1px solid var(--nf-border) !important;
  border-radius: var(--nf-radius-full) !important;
  background-color: #FAF8F5 !important;
  height: 38px !important;
  padding: 0 6px !important;
  display: inline-flex !important;
  align-items: center !important;
}

.wc-block-components-quantity-selector__button {
  color: var(--nf-green-dark) !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  border-radius: 50% !important;
  width: 28px !important;
  height: 28px !important;
}

.wc-block-components-quantity-selector__input {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: var(--nf-green-dark) !important;
  width: 40px !important;
  text-align: center !important;
}

.wc-block-cart-item__remove-link {
  color: var(--nf-muted) !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  transition: color var(--nf-transition-fast) !important;
}

.wc-block-cart-item__remove-link:hover {
  color: #DC2626 !important;
}

/* Gutenberg Cart Totals */
.wc-block-cart__totals-title {
  font-family: var(--nf-font-serif) !important;
  font-size: 1.6rem !important;
  font-weight: 500 !important;
  color: var(--nf-green-dark) !important;
  margin-bottom: 20px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid var(--nf-border-light) !important;
}

.wc-block-components-totals-wrapper {
  border-top: none !important;
}

.wc-block-components-totals-item {
  padding: 12px 0 !important;
  border-bottom: 1px solid var(--nf-border-light) !important;
  font-size: 0.95rem !important;
}

.wc-block-components-totals-item__label {
  color: var(--nf-text) !important;
  font-weight: 600 !important;
}

.wc-block-components-totals-item__value {
  color: var(--nf-green-dark) !important;
  font-weight: 600 !important;
}

.wc-block-components-totals-footer-item {
  border-top: 2px solid var(--nf-green-dark) !important;
  border-bottom: none !important;
  padding-top: 18px !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-family: var(--nf-font-serif) !important;
  font-size: 1.55rem !important;
  font-weight: 700 !important;
  color: var(--nf-green-dark) !important;
  line-height: 1.2 !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-family: var(--nf-font-sans) !important;
  font-size: 1.55rem !important;
  font-weight: 700 !important;
  color: var(--nf-green-dark) !important;
  line-height: 1.2 !important;
}

/* Coupon Form in Gutenberg Block */
.wc-block-components-totals-coupon__form {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  margin-top: 10px !important;
}

.wc-block-components-totals-coupon__input.wc-block-components-text-input,
.wc-block-components-totals-coupon__input {
  position: relative !important;
  flex: 1 !important;
  height: 48px !important;
  border: 1.5px solid var(--nf-border) !important;
  border-radius: var(--nf-radius-full) !important;
  background-color: var(--nf-white) !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  transition: all var(--nf-transition-fast) !important;
}

.wc-block-components-totals-coupon__input.wc-block-components-text-input:focus-within,
.wc-block-components-totals-coupon__input:focus-within {
  border-color: var(--nf-green-dark) !important;
  box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.12) !important;
}

.wc-block-components-totals-coupon__input input,
.wc-block-components-totals-coupon__input.wc-block-components-text-input input {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 18px !important;
  font-size: 0.92rem !important;
  color: var(--nf-text) !important;
  line-height: 48px !important;
  box-sizing: border-box !important;
}

.wc-block-components-totals-coupon__input label,
.wc-block-components-totals-coupon__input.wc-block-components-text-input label {
  left: 18px !important;
  line-height: 48px !important;
  color: var(--nf-muted) !important;
  font-size: 0.9rem !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
  top: 0 !important;
}

.wc-block-components-totals-coupon__input.is-active label,
.wc-block-components-totals-coupon__input input:focus ~ label,
.wc-block-components-totals-coupon__input input:not(:placeholder-shown) ~ label {
  display: none !important;
}

.wc-block-components-totals-coupon__button {
  height: 48px !important;
  padding: 0 24px !important;
  border-radius: var(--nf-radius-full) !important;
  background-color: var(--nf-green-dark) !important;
  color: var(--nf-white) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  border: none !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 14px rgba(45, 74, 62, 0.2) !important;
  transition: all var(--nf-transition-normal) !important;
}

.wc-block-components-totals-coupon__button:hover:not(:disabled) {
  background-color: var(--nf-green) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(45, 74, 62, 0.28) !important;
}

.wc-block-components-totals-coupon__button:disabled {
  background-color: #D3CDC4 !important;
  color: #7D7871 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  opacity: 0.85 !important;
}

.wc-block-cart .wc-block-cart__submit-button,
.wc-block-cart .wc-block-cart__submit a {
  display: flex !important;
  width: 100% !important;
  height: 54px !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: var(--nf-green-dark) !important;
  color: var(--nf-white) !important;
  border-radius: var(--nf-radius-full) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: all var(--nf-transition-normal) !important;
  box-shadow: 0 6px 20px rgba(45, 74, 62, 0.22) !important;
  margin-top: 14px !important;
}

.wc-block-cart .wc-block-cart__submit-button:hover,
.wc-block-cart .wc-block-cart__submit a:hover {
  background-color: var(--nf-green) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(45, 74, 62, 0.32) !important;
}

/* ==========================================================================
   4. CHECKOUT PAGE (Classic & WooCommerce Blocks)
   ========================================================================== */
.nf-checkout-page-wrapper {
  padding-bottom: var(--nf-space-3xl);
}

/* Classic Checkout: 2-Column Grid */
form.checkout.woocommerce-checkout {
  width: 100%;
}

@media (min-width: 992px) {
  form.checkout.woocommerce-checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr) !important;
    gap: 40px !important;
    align-items: start !important;
  }
}

/* Customer Billing & Shipping Box */
.nf-customer-details-box,
#customer_details {
  background-color: var(--nf-white);
  border: 1px solid var(--nf-border);
  border-radius: var(--nf-radius-lg);
  padding: 36px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  margin-bottom: 24px;
}

#customer_details .col-1,
#customer_details .col-2 {
  width: 100% !important;
  float: none !important;
}

#customer_details h3,
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3 {
  font-family: var(--nf-font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--nf-green-dark);
  margin: 0 0 22px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--nf-border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.woocommerce-shipping-fields,
.woocommerce-additional-fields {
  margin-top: 30px;
}

/* Form Rows & Inputs */
.woocommerce-checkout .form-row {
  margin-bottom: 18px;
  padding: 0;
}

.woocommerce-checkout .form-row label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--nf-text);
  margin-bottom: 6px;
}

.woocommerce-checkout .form-row label .required {
  color: #DC2626;
  text-decoration: none;
  font-weight: 700;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  width: 100%;
  height: 50px;
  padding: 0 18px;
  border-radius: var(--nf-radius-md);
  border: 1px solid var(--nf-border);
  background-color: #FAF8F5;
  font-size: 0.92rem;
  color: var(--nf-text);
  outline: none;
  transition: all var(--nf-transition-fast);
}

.woocommerce-checkout textarea {
  height: auto;
  min-height: 100px;
  padding: 14px 18px;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
  border-color: var(--nf-green-dark);
  background-color: var(--nf-white);
  box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.12);
}

/* Select2 / SelectWoo Dropdown Support */
.woocommerce-checkout .select2-container--default .select2-selection--single {
  height: 50px !important;
  border-radius: var(--nf-radius-md) !important;
  border: 1px solid var(--nf-border) !important;
  background-color: #FAF8F5 !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 14px !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 50px !important;
  padding-left: 0 !important;
  color: var(--nf-text) !important;
  font-size: 0.92rem !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 50px !important;
  right: 14px !important;
}

/* Order Summary Review Sidebar */
.nf-checkout-order-review-card,
#order_review {
  background-color: #FAF8F5;
  border: 1px solid var(--nf-border);
  border-radius: var(--nf-radius-lg);
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

@media (min-width: 992px) {
  .nf-checkout-order-review-card,
  #order_review {
    position: sticky;
    top: 110px;
  }
}

.nf-order-review-title,
#order_review_heading {
  font-family: var(--nf-font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--nf-green-dark);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--nf-border-light);
}

/* Review Table */
table.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

table.woocommerce-checkout-review-order-table th,
table.woocommerce-checkout-review-order-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--nf-border-light);
  font-size: 0.92rem;
}

table.woocommerce-checkout-review-order-table th {
  text-align: left;
  font-weight: 600;
  color: var(--nf-text);
}

table.woocommerce-checkout-review-order-table td {
  text-align: right;
  font-weight: 600;
  color: var(--nf-green-dark);
}

table.woocommerce-checkout-review-order-table .product-name {
  color: var(--nf-green-dark);
  font-weight: 600;
}

table.woocommerce-checkout-review-order-table .product-quantity {
  display: inline-block;
  background-color: #EAE5DC;
  color: var(--nf-green-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--nf-radius-full);
  margin-left: 6px;
}

table.woocommerce-checkout-review-order-table tr.cart-subtotal th,
table.woocommerce-checkout-review-order-table tr.order-total th {
  font-weight: 700;
}

table.woocommerce-checkout-review-order-table tr.order-total {
  border-top: 2px solid var(--nf-green-dark);
}

table.woocommerce-checkout-review-order-table tr.order-total th {
  font-size: 1.15rem;
  color: var(--nf-green-dark);
  padding-top: 18px;
}

table.woocommerce-checkout-review-order-table tr.order-total td {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--nf-green-dark);
  padding-top: 18px;
}

/* Payment Methods */
#payment {
  background-color: var(--nf-white);
  border: 1px solid var(--nf-border);
  border-radius: var(--nf-radius-md);
  padding: 20px;
  margin-bottom: 22px;
}

#payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

#payment ul.payment_methods li {
  background-color: #FAF8F5;
  border: 1px solid var(--nf-border);
  border-radius: var(--nf-radius-md);
  padding: 14px 16px;
  margin-bottom: 10px;
  transition: all var(--nf-transition-fast);
}

#payment ul.payment_methods li:hover {
  border-color: var(--nf-green);
}

#payment ul.payment_methods li input[type="radio"] {
  accent-color: var(--nf-green-dark);
  margin-right: 10px;
}

#payment ul.payment_methods li label {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--nf-green-dark);
  cursor: pointer;
  margin: 0;
}

#payment .payment_box {
  background-color: #F4EFEB;
  border-radius: var(--nf-radius-sm);
  padding: 12px 14px;
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--nf-text-secondary);
  line-height: 1.5;
}

/* Place Order Button */
#place_order {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 56px !important;
  background-color: var(--nf-green-dark) !important;
  color: var(--nf-white) !important;
  border: 1px solid var(--nf-green-dark) !important;
  border-radius: var(--nf-radius-full) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--nf-transition-normal) !important;
  box-shadow: 0 6px 20px rgba(45, 74, 62, 0.22);
}

#place_order:hover {
  background-color: var(--nf-green) !important;
  border-color: var(--nf-green) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(45, 74, 62, 0.32);
}

/* Trust Badges in Checkout Sidebar */
.nf-checkout-trust-footer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--nf-border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nf-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--nf-text-secondary);
  font-weight: 500;
}

.nf-trust-item .nf-icon {
  width: 16px;
  height: 16px;
  color: var(--nf-green);
  flex-shrink: 0;
}

/* ==========================================================================
   4B. WOOCOMMERCE GUTENBERG CHECKOUT BLOCK SUPPORT
   ========================================================================== */
.wp-block-woocommerce-checkout,
.wc-block-checkout {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  font-family: inherit !important;
}

.wp-block-woocommerce-checkout .wc-block-components-sidebar-layout,
.wc-block-checkout .wc-block-components-sidebar-layout {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

@media (min-width: 992px) {
  .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout,
  .wc-block-checkout .wc-block-components-sidebar-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.65fr) minmax(360px, 420px) !important;
    gap: 40px !important;
    align-items: start !important;
  }
}

@media (max-width: 991px) {
  .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout,
  .wc-block-checkout .wc-block-components-sidebar-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
  }
}

html body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
html body .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
html body .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
.wc-block-checkout .wc-block-checkout__main,
.wc-block-checkout .wc-block-components-main,
.wp-block-woocommerce-checkout .wc-block-components-main,
.wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  flex: 1 1 100% !important;
  box-sizing: border-box !important;
}

.wc-block-checkout .wc-block-components-checkout-step {
  width: 100% !important;
  max-width: 100% !important;
  background-color: var(--nf-white) !important;
  border: 1px solid var(--nf-border) !important;
  border-radius: var(--nf-radius-lg) !important;
  padding: 32px !important;
  margin-bottom: 24px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
  box-sizing: border-box !important;
}

.wc-block-components-checkout-step__title,
.wc-block-components-checkout-step__heading {
  font-family: var(--nf-font-serif) !important;
  font-size: 1.45rem !important;
  font-weight: 500 !important;
  color: var(--nf-green-dark) !important;
  margin-bottom: 16px !important;
}

/* Form Inputs in Gutenberg Checkout */
.wc-block-components-text-input input,
.wc-block-components-combobox input,
.wc-block-components-textarea {
  height: 48px !important;
  border-radius: var(--nf-radius-md) !important;
  border: 1px solid var(--nf-border) !important;
  background-color: #FAF8F5 !important;
  font-size: 0.92rem !important;
  color: var(--nf-text) !important;
  transition: all var(--nf-transition-fast) !important;
  box-sizing: border-box !important;
}

.wc-block-components-textarea {
  height: auto !important;
  min-height: 96px !important;
  padding: 12px 16px !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-combobox input:focus,
.wc-block-components-textarea:focus {
  border-color: var(--nf-green-dark) !important;
  background-color: var(--nf-white) !important;
  box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.12) !important;
}

/* Radio Control in Gutenberg (Fix text overlap & clear broken corners) */
.wc-block-components-radio-control--highlight-checked:after,
.wc-block-components-radio-control--highlight-checked:before,
.wc-block-components-radio-control-accordion-option:after,
.wc-block-components-radio-control-accordion-option:before,
.wc-block-components-radio-control__option:after,
.wc-block-components-radio-control__option:before {
  display: none !important;
  content: none !important;
  border: none !important;
}

.wc-block-components-radio-control-accordion-option {
  border: 1.5px solid var(--nf-border) !important;
  border-radius: var(--nf-radius-md) !important;
  background-color: #FAF8F5 !important;
  margin-bottom: 14px !important;
  overflow: hidden !important;
  box-shadow: none !important;
  transition: all var(--nf-transition-fast) !important;
}

.wc-block-components-radio-control-accordion-option:hover {
  border-color: var(--nf-green) !important;
}

.wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control-accordion-option:has(.wc-block-components-radio-control__input:checked) {
  border-color: var(--nf-green-dark) !important;
  background-color: #F4F8F5 !important;
}

.wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option {
  display: flex !important;
  align-items: center !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 16px 20px 16px 52px !important;
  margin: 0 !important;
  position: relative !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

[dir="rtl"] .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option {
  padding: 16px 52px 16px 20px !important;
}

.wc-block-components-radio-control .wc-block-components-radio-control__input {
  position: absolute !important;
  left: 20px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  width: 20px !important;
  height: 20px !important;
  accent-color: var(--nf-green-dark) !important;
}

[dir="rtl"] .wc-block-components-radio-control .wc-block-components-radio-control__input {
  left: auto !important;
  right: 20px !important;
}

.wc-block-components-radio-control-accordion-content {
  padding: 12px 20px 16px 52px !important;
  background: transparent !important;
  border: none !important;
  border-top: 1px dashed rgba(220, 215, 206, 0.8) !important;
  color: var(--nf-text-secondary) !important;
  font-size: 0.88rem !important;
  line-height: 1.6 !important;
  margin: 0 16px 12px 16px !important;
  box-sizing: border-box !important;
}

[dir="rtl"] .wc-block-components-radio-control-accordion-content {
  padding-left: 20px !important;
  padding-right: 52px !important;
}

.wc-block-components-radio-control__label {
  font-size: 0.96rem !important;
  font-weight: 600 !important;
  color: var(--nf-green-dark) !important;
  margin: 0 !important;
}

.wc-block-components-radio-control__description {
  font-size: 0.85rem !important;
  color: var(--nf-text-secondary) !important;
  line-height: 1.5 !important;
  margin-top: 6px !important;
}

/* Checkbox & Order Notes in Gutenberg Checkout */
.wc-block-checkout__order-notes,
.wc-block-components-checkout-order-note-block,
.wp-block-woocommerce-checkout-order-note-block {
  background-color: var(--nf-white) !important;
  border: 1px solid var(--nf-border) !important;
  border-radius: var(--nf-radius-lg) !important;
  padding: 28px 32px !important;
  margin-bottom: 24px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
  box-sizing: border-box !important;
}

.wc-block-components-checkbox label,
.wc-block-checkout label.wc-block-components-checkbox {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  position: relative !important;
  cursor: pointer !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: var(--nf-green-dark) !important;
  margin-bottom: 12px !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  position: relative !important;
  flex-shrink: 0 !important;
  border-radius: 6px !important;
  border: 1.5px solid var(--nf-border) !important;
  background-color: var(--nf-white) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer !important;
  transition: all var(--nf-transition-fast) !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked {
  background-color: var(--nf-green-dark) !important;
  border-color: var(--nf-green-dark) !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__mark {
  position: absolute !important;
  left: 4px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 14px !important;
  height: 14px !important;
  fill: #ffffff !important;
  pointer-events: none !important;
  margin: 0 !important;
}

[dir="rtl"] .wc-block-components-checkbox .wc-block-components-checkbox__mark {
  left: auto !important;
  right: 4px !important;
}

/* ==========================================================================
   4A-1. CHECKOUT AJAX AUTH BANNER & STEP BUTTONS
   ========================================================================== */
.nf-checkout-auth-banner {
  background-color: #FAF8F5;
  border: 1px solid var(--nf-border);
  border-radius: var(--nf-radius-lg);
  padding: 22px 28px;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  transition: all var(--nf-transition-normal);
}

.nf-checkout-auth-banner:hover {
  border-color: rgba(45, 74, 62, 0.3);
  box-shadow: 0 6px 24px rgba(45, 74, 62, 0.06);
}

.nf-checkout-auth-banner__info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.nf-checkout-auth-banner__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #EDE7DC;
  color: var(--nf-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nf-checkout-auth-banner__icon svg {
  width: 22px;
  height: 22px;
}

.nf-checkout-auth-banner__text h4 {
  font-family: var(--nf-font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--nf-green-dark);
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.nf-checkout-auth-banner__text p {
  font-size: 0.88rem;
  color: var(--nf-muted);
  margin: 0;
  line-height: 1.45;
}

.nf-checkout-auth-banner__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nf-checkout-btn-login {
  background-color: var(--nf-green-dark) !important;
  color: #FFFFFF !important;
  border: 1.5px solid var(--nf-green-dark) !important;
  padding: 10px 22px !important;
  border-radius: var(--nf-radius-full) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(45, 74, 62, 0.18) !important;
  transition: all var(--nf-transition-normal) !important;
}

.nf-checkout-btn-login:hover {
  background-color: var(--nf-green) !important;
  border-color: var(--nf-green) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(45, 74, 62, 0.28) !important;
}

.nf-checkout-btn-register {
  background-color: #FFFFFF !important;
  color: var(--nf-green-dark) !important;
  border: 1.5px solid var(--nf-green-dark) !important;
  padding: 10px 22px !important;
  border-radius: var(--nf-radius-full) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  cursor: pointer !important;
  transition: all var(--nf-transition-normal) !important;
}

.nf-checkout-btn-register:hover {
  background-color: #F2F7F4 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(45, 74, 62, 0.12) !important;
}

@media (max-width: 768px) {
  .nf-checkout-auth-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
    gap: 16px;
  }
  .nf-checkout-auth-banner__actions {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }
  .nf-checkout-btn-login,
  .nf-checkout-btn-register {
    width: 100% !important;
    justify-content: center !important;
  }
}

.nf-checkout-auth-banner {
  display: none !important;
}

/* ==========================================================================
   Checkout Step Headings: All Section Titles Left-Aligned, Contact Auth Buttons on Far Right
   ========================================================================== */

/* 1. All Checkout Steps Cards: Base Left Alignment */
.wc-block-checkout .wc-block-components-checkout-step,
.wc-block-components-checkout-step {
  text-align: left !important;
}

/* 2. Step Heading & Containers: Strict Left Alignment */
.wc-block-components-checkout-step__heading,
.wc-block-checkout .wc-block-components-checkout-step__heading,
.wc-block-components-checkout-step__heading-container,
.wc-block-checkout .wc-block-components-checkout-step__heading-container {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  position: relative !important;
  margin-bottom: 20px !important;
  width: 100% !important;
  max-width: 100% !important;
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Step Heading Content: Default inline-flex */
.wc-block-components-checkout-step__heading-content,
.wc-block-checkout .wc-block-components-checkout-step__heading-content {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 1rem !important;
  text-align: left !important;
}

/* 3. Titles across all steps (Shipping address, Billing address, Shipping options, Payment, etc.) */
.wc-block-components-checkout-step__title,
.wc-block-checkout .wc-block-components-checkout-step__title,
.wc-block-checkout .wc-block-checkout__shipping-fields .wc-block-components-checkout-step__title,
.wc-block-checkout .wc-block-checkout__billing-fields .wc-block-components-checkout-step__title,
.wc-block-checkout .wc-block-checkout__shipping-methods .wc-block-components-checkout-step__title,
.wc-block-checkout .wc-block-checkout__payment-method .wc-block-components-checkout-step__title,
.wc-block-checkout .wc-block-checkout__order-notes .wc-block-components-checkout-step__title,
.wc-block-checkout .wc-block-components-order-summary__title,
.wc-block-checkout .wc-block-components-title,
.wc-block-components-checkout-step legend,
.wc-block-components-checkout-step h2,
.wc-block-components-checkout-step h3 {
  font-family: var(--nf-font-serif) !important;
  font-size: 1.45rem !important;
  font-weight: 500 !important;
  color: var(--nf-green-dark) !important;
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  margin-bottom: 0 !important;
}

/* 4. Contact Information Step Specifically: Title and Auth Buttons STRICTLY on the SAME SINGLE LINE */
.wc-block-checkout__contact-fields .wc-block-components-checkout-step__heading-container {
  display: block !important;
  width: 100% !important;
  margin-bottom: 20px !important;
}

.wc-block-checkout__contact-fields .wc-block-components-checkout-step__heading,
.wc-block-checkout__contact-fields .nf-has-step-auth-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 100% !important;
  gap: 16px !important;
  margin: 0 !important;
}

.wc-block-checkout__contact-fields .wc-block-components-checkout-step__title {
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 1 auto !important;
  white-space: nowrap !important;
  text-align: left !important;
  line-height: 1.2 !important;
}

.wc-block-checkout__contact-fields .wc-block-components-checkout-step__heading-content {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  margin: 0 !important;
  margin-inline-start: auto !important;
  padding: 0 !important;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

.wc-block-checkout__contact-fields .nf-checkout-step-auth-actions,
.nf-checkout-step-auth-actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  margin-inline-start: auto !important;
  padding: 0 !important;
  float: none !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

/* RTL Support for Step Headings */
body.rtl .wc-block-checkout .wc-block-components-checkout-step,
body.rtl .wc-block-components-checkout-step__heading,
body.rtl .wc-block-components-checkout-step__title,
html[dir="rtl"] .wc-block-checkout .wc-block-components-checkout-step,
html[dir="rtl"] .wc-block-components-checkout-step__heading,
html[dir="rtl"] .wc-block-components-checkout-step__title {
  text-align: right !important;
}

body.rtl .wc-block-components-checkout-step__title,
html[dir="rtl"] .wc-block-components-checkout-step__title {
  margin-right: 0 !important;
  margin-left: auto !important;
}

body.rtl .wc-block-checkout__contact-fields .nf-checkout-step-auth-actions,
body.rtl .nf-checkout-step-auth-actions,
html[dir="rtl"] .wc-block-checkout__contact-fields .nf-checkout-step-auth-actions,
html[dir="rtl"] .nf-checkout-step-auth-actions {
  margin-right: auto !important;
  margin-left: 0 !important;
}

.wc-block-checkout__login-prompt,
.nf-checkout-auth-pill,
.nf-checkout-register-prompt {
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  padding: 0 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  border-radius: var(--nf-radius-full) !important;
  font-family: var(--nf-font-sans) !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all var(--nf-transition-fast) !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
  margin: 0 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
}

.wc-block-checkout__login-prompt,
.nf-checkout-auth-pill--login {
  background-color: #FAF8F5 !important;
  color: var(--nf-green-dark) !important;
  border: 1.5px solid var(--nf-border) !important;
}

.wc-block-checkout__login-prompt:hover,
.nf-checkout-auth-pill--login:hover {
  background-color: var(--nf-green-dark) !important;
  color: #FFFFFF !important;
  border-color: var(--nf-green-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(45, 74, 62, 0.2) !important;
}

.nf-checkout-register-prompt,
.nf-checkout-auth-pill--register {
  background-color: #FFFFFF !important;
  color: var(--nf-green-dark) !important;
  border: 1.5px solid var(--nf-border) !important;
}

.nf-checkout-register-prompt:hover,
.nf-checkout-auth-pill--register:hover {
  background-color: var(--nf-green-dark) !important;
  color: #FFFFFF !important;
  border-color: var(--nf-green-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(45, 74, 62, 0.2) !important;
}

@media (max-width: 600px) {
  .wc-block-checkout__contact-fields .wc-block-components-checkout-step__heading {
    gap: 8px !important;
  }
  .wc-block-checkout__contact-fields .wc-block-components-checkout-step__title {
    font-size: 1.25rem !important;
  }
  .wc-block-checkout__login-prompt,
  .nf-checkout-auth-pill,
  .nf-checkout-register-prompt {
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    font-size: 0.80rem !important;
    gap: 4px !important;
  }
}

@media (max-width: 440px) {
  .wc-block-checkout__contact-fields .wc-block-components-checkout-step__heading {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  .wc-block-checkout__contact-fields .wc-block-components-checkout-step__heading-content,
  .wc-block-checkout__contact-fields .nf-checkout-step-auth-actions {
    width: 100% !important;
    display: flex !important;
  }
  .wc-block-checkout__login-prompt,
  .nf-checkout-register-prompt {
    flex: 1 !important;
    width: 50% !important;
    justify-content: center !important;
  }
}

/* Hide "Create an account with Nile Flowers" completely from Contact step */
.wc-block-checkout__create-account,
.wc-block-components-checkout-step .wc-block-checkout__create-account,
.wc-block-checkout__guest-checkout-notice,
.wc-block-components-checkout-step .wc-block-checkout__guest-checkout-notice,
.wc-block-checkout__contact-fields .wc-block-checkout__create-account,
.wc-block-checkout__contact-fields .wc-block-checkout__guest-checkout-notice {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.wc-block-checkout__create-account label {
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  color: var(--nf-green-dark) !important;
  cursor: pointer !important;
}

/* Order Note Textarea */
.wc-block-checkout__order-notes textarea,
.wc-block-components-checkout-step__container textarea {
  width: 100% !important;
  border: 1.5px solid var(--nf-border) !important;
  border-radius: var(--nf-radius-md) !important;
  background-color: #FAF8F5 !important;
  padding: 14px 18px !important;
  font-size: 16px !important;
  color: var(--nf-text) !important;
  outline: none !important;
  resize: vertical !important;
  min-height: 90px !important;
  transition: all var(--nf-transition-fast) !important;
  box-sizing: border-box !important;
}

.wc-block-checkout__order-notes textarea:focus,
.wc-block-components-checkout-step__container textarea:focus {
  border-color: var(--nf-green-dark) !important;
  background-color: var(--nf-white) !important;
  box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.12) !important;
}

/* Gutenberg Checkout Sidebar */
.wc-block-checkout .wc-block-checkout__sidebar,
.wc-block-checkout .wc-block-components-sidebar,
.wp-block-woocommerce-checkout .wc-block-components-sidebar {
  width: 100% !important;
  max-width: 100% !important;
  background-color: #FAF8F5 !important;
  border: 1px solid var(--nf-border) !important;
  border-radius: var(--nf-radius-lg) !important;
  padding: 32px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
  box-sizing: border-box !important;
}

@media (min-width: 992px) {
  .wc-block-checkout .wc-block-checkout__sidebar,
  .wc-block-checkout .wc-block-components-sidebar,
  .wp-block-woocommerce-checkout .wc-block-components-sidebar {
    position: sticky !important;
    top: 110px !important;
  }
}

.wp-block-woocommerce-checkout-actions-block,
.wc-block-checkout__actions,
.wc-block-components-checkout-actions-block {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  margin-top: 24px !important;
}

/* Gutenberg Checkout Order Summary - Remove inner box & create luxury layout */
.wp-block-woocommerce-checkout-order-summary-block,
.wp-block-woocommerce-checkout-order-summary-block.checkout-order-summary-block-fill-wrapper,
.wp-block-woocommerce-checkout-order-summary-block .checkout-order-summary-block-fill,
.wc-block-checkout__order-summary,
.wc-block-components-order-summary {
  border: none !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-title,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title,
.wc-block-checkout__sidebar .wc-block-components-title {
  border: none !important;
  border-top: none !important;
  padding: 0 0 16px 0 !important;
  margin: 0 0 16px 0 !important;
  border-bottom: 1px solid rgba(220, 215, 206, 0.7) !important;
  font-family: var(--nf-font-serif) !important;
  font-size: 1.45rem !important;
  font-weight: 600 !important;
  color: var(--nf-green-dark) !important;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title .wc-block-components-checkout-order-summary__title-text {
  font-family: var(--nf-font-serif) !important;
  font-size: 1.45rem !important;
  font-weight: 600 !important;
  color: var(--nf-green-dark) !important;
  margin: 0 !important;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__content.is-open {
  border-bottom: none !important;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-cart-items,
.wp-block-woocommerce-checkout-order-summary-block .wp-block-woocommerce-checkout-order-summary-cart-items-block {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.wc-block-components-order-summary-item {
  padding: 16px 0 !important;
  border-bottom: 1px solid rgba(230, 225, 218, 0.7) !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.wc-block-components-order-summary-item__image img {
  border-radius: var(--nf-radius-md) !important;
  border: 1px solid var(--nf-border) !important;
  width: 58px !important;
  height: 58px !important;
  object-fit: cover !important;
}

.wc-block-components-order-summary-item__title,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-name {
  font-family: var(--nf-font-serif) !important;
  font-size: 1.02rem !important;
  font-weight: 600 !important;
  color: var(--nf-green-dark) !important;
  line-height: 1.4 !important;
}

/* Hide redundant unit price in Order Summary item when already showing total price */
.wc-block-components-order-summary-item .wc-block-components-product-price {
  display: none !important;
}

.wc-block-components-order-summary-item__total-price {
  font-family: var(--nf-font-sans) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--nf-green-dark) !important;
  white-space: nowrap !important;
}

/* Totals Breakdown in Checkout Sidebar */
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper,
.wc-block-checkout__sidebar .wc-block-components-totals-wrapper {
  border-top: none !important;
  padding: 12px 0 0 0 !important;
  margin: 0 !important;
}

.wp-block-woocommerce-checkout-order-summary-block .checkout-order-summary-block-fill .wc-block-components-totals-item,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item,
.wc-block-checkout__sidebar .wc-block-components-totals-item {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid rgba(230, 225, 218, 0.6) !important;
  font-size: 0.95rem !important;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item__label,
.wc-block-checkout__sidebar .wc-block-components-totals-item__label {
  color: var(--nf-text) !important;
  font-weight: 500 !important;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item__value,
.wc-block-checkout__sidebar .wc-block-components-totals-item__value {
  color: var(--nf-green-dark) !important;
  font-weight: 600 !important;
}

.wp-block-woocommerce-checkout-order-summary-block .checkout-order-summary-block-fill .wc-block-components-totals-coupon,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-coupon,
.wc-block-checkout__sidebar .wc-block-components-totals-coupon {
  padding: 14px 0 !important;
  border-bottom: 1px solid rgba(230, 225, 218, 0.6) !important;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-footer-item,
.wc-block-checkout__sidebar .wc-block-components-totals-footer-item {
  border-top: 2px solid var(--nf-green-dark) !important;
  border-bottom: none !important;
  padding: 18px 0 6px 0 !important;
  margin-top: 10px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: baseline !important;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-checkout__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-family: var(--nf-font-serif) !important;
  font-size: 1.55rem !important;
  font-weight: 700 !important;
  color: var(--nf-green-dark) !important;
  line-height: 1.2 !important;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-checkout__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-family: var(--nf-font-sans) !important;
  font-size: 1.55rem !important;
  font-weight: 700 !important;
  color: var(--nf-green-dark) !important;
  line-height: 1.2 !important;
}

.wc-block-checkout .wc-block-components-checkout-place-order-button,
#place_order {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 56px !important;
  background-color: var(--nf-green-dark) !important;
  color: var(--nf-white) !important;
  border-radius: var(--nf-radius-full) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all var(--nf-transition-normal) !important;
  box-shadow: 0 6px 20px rgba(45, 74, 62, 0.22) !important;
  margin-top: 16px !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.wc-block-checkout .wc-block-components-checkout-place-order-button:not(.wc-block-components-checkout-place-order-button--loading):not(.paymob-processing),
#place_order:not(.wc-block-components-checkout-place-order-button--loading):not(.paymob-processing) {
  opacity: 1 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  background-color: var(--nf-green-dark) !important;
  color: var(--nf-white) !important;
}

.wc-block-checkout .wc-block-components-checkout-place-order-button:not(.wc-block-components-checkout-place-order-button--loading):not(.paymob-processing):hover,
#place_order:not(.wc-block-components-checkout-place-order-button--loading):not(.paymob-processing):hover {
  background-color: var(--nf-green) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(45, 74, 62, 0.32) !important;
}

/* ==========================================================================
   4B-1. GUTENBERG / WOOCOMMERCE BLOCKS FLOATING SNACKBAR NOTICES (TOP CENTER)
   ========================================================================== */
.wc-block-components-notice-snackbar-list,
.wc-block-components-notices__snackbar,
.components-snackbar-list {
  position: fixed !important;
  top: calc(var(--nf-header-height, 80px) + 20px) !important;
  bottom: auto !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  z-index: 999999 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  pointer-events: none !important;
  width: max-content !important;
  max-width: calc(100vw - 32px) !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.admin-bar .wc-block-components-notice-snackbar-list,
body.admin-bar .wc-block-components-notices__snackbar,
body.admin-bar .components-snackbar-list {
  top: calc(var(--nf-header-height, 80px) + 52px) !important;
}

@media (max-width: 782px) {
  .wc-block-components-notice-snackbar-list,
  .wc-block-components-notices__snackbar,
  .components-snackbar-list {
    top: calc(var(--nf-header-height, 70px) + 14px) !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) !important;
    width: calc(100vw - 32px) !important;
  }
  body.admin-bar .wc-block-components-notice-snackbar-list,
  body.admin-bar .wc-block-components-notices__snackbar,
  body.admin-bar .components-snackbar-list {
    top: calc(var(--nf-header-height, 70px) + 60px) !important;
  }
}

.wc-block-components-notice-banner.wc-block-components-notice-snackbar,
.wc-block-components-notice-snackbar-list .wc-block-components-notice-banner,
.wc-block-components-notices__snackbar .components-notice,
.components-snackbar-list .components-snackbar,
.components-snackbar-list__notice-container {
  position: relative !important;
  pointer-events: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 0 0 10px 0 !important;
  max-width: 620px !important;
  width: auto !important;
  box-sizing: border-box !important;
  background-color: #FFFFFF !important;
  color: var(--nf-green-dark) !important;
  border: 1px solid var(--nf-border) !important;
  border-radius: var(--nf-radius-full) !important;
  box-shadow: 0 14px 40px rgba(45, 74, 62, 0.16), 0 3px 10px rgba(0, 0, 0, 0.05) !important;
  padding: 12px 24px !important;
  font-family: var(--nf-font-sans) !important;
  font-size: 0.94rem !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  gap: 14px !important;
  animation: nfToastSlideDown 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

/* Specific banner states */
.wc-block-components-notice-banner.wc-block-components-notice-snackbar.is-info,
.wc-block-components-notice-snackbar-list .wc-block-components-notice-banner.is-info,
.wc-block-components-notice-banner.wc-block-components-notice-snackbar.is-success,
.wc-block-components-notice-snackbar-list .wc-block-components-notice-banner.is-success {
  border-color: rgba(45, 74, 62, 0.22) !important;
  background-color: #F8FAF8 !important;
  color: var(--nf-green-dark) !important;
}

.wc-block-components-notice-banner.wc-block-components-notice-snackbar.is-error,
.wc-block-components-notice-snackbar-list .wc-block-components-notice-banner.is-error {
  border-color: rgba(211, 47, 47, 0.3) !important;
  background-color: #FFF8F8 !important;
  color: #B71C1C !important;
}

.wc-block-components-notice-snackbar-list .wc-block-components-notice-banner>.wc-block-components-notice-banner__content {
  flex-grow: 1 !important;
  padding: 0 4px !important;
  font-family: var(--nf-font-sans) !important;
  font-size: 0.94rem !important;
  font-weight: 500 !important;
  color: inherit !important;
  text-align: center !important;
}

.wc-block-components-notice-snackbar-list .wc-block-components-notice-banner>svg {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  flex-shrink: 0 !important;
  border-radius: 50% !important;
  padding: 2px !important;
}

.wc-block-components-notice-snackbar-list .wc-block-components-notice-banner.is-info>svg,
.wc-block-components-notice-snackbar-list .wc-block-components-notice-banner.is-success>svg {
  background-color: var(--nf-green-dark) !important;
  fill: #FFFFFF !important;
}

.wc-block-components-notice-snackbar-list .wc-block-components-notice-banner.is-error>svg {
  background-color: #D32F2F !important;
  fill: #FFFFFF !important;
}

.wc-block-components-notice-snackbar-list .wc-block-components-notice-banner>.wc-block-components-button {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: currentColor !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px !important;
  margin: 0 !important;
  margin-inline-start: 8px !important;
  opacity: 0.65 !important;
  transition: opacity var(--nf-transition-fast), transform var(--nf-transition-fast) !important;
  min-height: auto !important;
  min-width: auto !important;
  height: 24px !important;
  width: 24px !important;
}

.wc-block-components-notice-snackbar-list .wc-block-components-notice-banner>.wc-block-components-button:hover {
  opacity: 1 !important;
  transform: scale(1.1) !important;
}

/* ==========================================================================
   4B-2. CHECKOUT CUSTOM LUXURY SELECT (Matching Shop Sort Dropdown)
   ========================================================================== */

/* Hide native checkout select while keeping it functional for React & forms */
.nf-native-checkout-select-hidden {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  clip: rect(0, 0, 0, 0) !important;
}

/* Ensure parents don't clip floating dropdowns */
.wc-blocks-components-select,
.wc-block-components-select,
.wc-blocks-components-select__container,
.wc-block-components-select__container,
.wc-block-components-address-form,
.wc-block-components-country-input,
.wc-block-components-state-input {
  overflow: visible !important;
}

/* Remove default Gutenberg select decoration when custom select is mounted */
.wc-blocks-components-select.nf-has-custom-checkout-select .wc-blocks-components-select__expand,
.wc-block-components-select.nf-has-custom-checkout-select .wc-block-components-select__expand,
.wc-blocks-components-select.nf-has-custom-checkout-select .wc-blocks-components-select__label,
.wc-block-components-select.nf-has-custom-checkout-select .wc-block-components-select__label {
  display: none !important;
}

.wc-blocks-components-select.nf-has-custom-checkout-select .wc-blocks-components-select__container,
.wc-block-components-select.nf-has-custom-checkout-select .wc-block-components-select__container {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: normal !important;
}

/* Custom Select Wrap Container */
.nf-checkout-custom-select-wrap {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  user-select: none !important;
  box-sizing: border-box !important;
  font-family: var(--nf-font-sans) !important;
}

.nf-checkout-custom-select-wrap.is-open {
  z-index: 1000 !important;
}

/* Trigger Button */
.nf-checkout-custom-select-trigger {
  width: 100% !important;
  min-height: 54px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 18px !important;
  background-color: #FAF8F5 !important;
  border: 1.5px solid var(--nf-border) !important;
  border-radius: var(--nf-radius-md) !important;
  color: var(--nf-charcoal) !important;
  cursor: pointer !important;
  outline: none !important;
  transition: all var(--nf-transition-fast) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
  box-sizing: border-box !important;
  text-align: start !important;
}

.nf-checkout-custom-select-trigger:hover {
  border-color: var(--nf-green-dark) !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(44, 62, 53, 0.08) !important;
}

.nf-checkout-custom-select-wrap.is-open .nf-checkout-custom-select-trigger {
  border-color: var(--nf-green-dark) !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.12) !important;
}

/* Trigger Content (Label + Value) */
.nf-checkout-select-trigger-content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 2px !important;
  overflow: hidden !important;
  flex: 1 !important;
  text-align: start !important;
}

.nf-checkout-select-label-top {
  font-size: 0.74rem !important;
  font-weight: 500 !important;
  color: var(--nf-muted) !important;
  line-height: 1.2 !important;
  text-transform: capitalize !important;
  letter-spacing: 0.01em !important;
}

.nf-checkout-select-current-text {
  font-size: 0.94rem !important;
  font-weight: 600 !important;
  color: var(--nf-green-dark) !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Chevron Arrow */
.nf-checkout-select-arrow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--nf-green-dark) !important;
  margin-inline-start: 12px !important;
  flex-shrink: 0 !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.nf-checkout-custom-select-wrap.is-open .nf-checkout-select-arrow {
  transform: rotate(180deg) !important;
}

/* Floating Dropdown Card */
.nf-checkout-custom-select-dropdown {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  min-width: 260px !important;
  background-color: #FFFFFF !important;
  border: 1px solid rgba(44, 62, 53, 0.12) !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(45, 74, 62, 0.06) !important;
  padding: 10px !important;
  z-index: 99999 !important;
  box-sizing: border-box !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-8px) scale(0.99) !important;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s !important;
}

.nf-checkout-custom-select-wrap.is-open .nf-checkout-custom-select-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
}

/* Search Box inside Dropdown */
.nf-checkout-select-search-wrap {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  margin-bottom: 8px !important;
  background-color: #FAF8F5 !important;
  border: 1px solid var(--nf-border) !important;
  border-radius: 10px !important;
  padding: 6px 12px !important;
  box-sizing: border-box !important;
}

.nf-checkout-select-search-icon {
  display: inline-flex !important;
  align-items: center !important;
  color: var(--nf-muted) !important;
  margin-inline-end: 8px !important;
  flex-shrink: 0 !important;
}

.nf-checkout-select-search-input {
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  font-family: var(--nf-font-sans) !important;
  font-size: 0.88rem !important;
  color: var(--nf-text) !important;
  padding: 2px 0 !important;
  box-sizing: border-box !important;
}

.nf-checkout-select-search-clear {
  background: transparent !important;
  border: none !important;
  color: var(--nf-muted) !important;
  cursor: pointer !important;
  padding: 0 4px !important;
  font-size: 0.85rem !important;
  line-height: 1 !important;
  display: inline-flex;
  align-items: center;
}

.nf-checkout-select-search-clear.is-hidden,
.nf-checkout-select-search-clear[style*="display: none"],
.nf-checkout-select-search-clear[style*="display:none"] {
  display: none !important;
}

.nf-checkout-select-search-clear:hover {
  color: var(--nf-green-dark) !important;
}

/* Options List */
.nf-checkout-select-options {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  max-height: 240px !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
}

.nf-checkout-select-options::-webkit-scrollbar {
  width: 5px;
}

.nf-checkout-select-options::-webkit-scrollbar-track {
  background: #FAF8F5;
  border-radius: 10px;
}

.nf-checkout-select-options::-webkit-scrollbar-thumb {
  background: rgba(44, 62, 53, 0.2);
  border-radius: 10px;
}

.nf-checkout-select-options::-webkit-scrollbar-thumb:hover {
  background: var(--nf-green-dark);
}

/* Individual Option Item */
.nf-checkout-select-option {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
  font-family: var(--nf-font-sans) !important;
  font-size: 0.90rem !important;
  font-weight: 500 !important;
  color: var(--nf-charcoal) !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  box-sizing: border-box !important;
}

/* Hidden Option Item when filtered */
.nf-checkout-select-option.is-hidden,
.nf-checkout-select-option[style*="display: none"],
.nf-checkout-select-option[style*="display:none"] {
  display: none !important;
}

.nf-checkout-select-option:hover {
  background-color: rgba(44, 62, 53, 0.05) !important;
  color: var(--nf-green-dark) !important;
  font-weight: 600 !important;
  padding-inline-start: 18px !important;
}

.nf-checkout-select-option.is-selected {
  background-color: rgba(200, 162, 73, 0.12) !important;
  color: var(--nf-green-dark) !important;
  font-weight: 700 !important;
}

.nf-checkout-select-option .nf-option-check {
  color: var(--nf-gold) !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  margin-inline-start: 10px !important;
  flex-shrink: 0 !important;
}

/* Empty search state */
.nf-checkout-select-empty {
  padding: 16px 12px !important;
  text-align: center !important;
  color: var(--nf-muted) !important;
  font-size: 0.88rem !important;
  font-style: italic !important;
}

.nf-checkout-select-empty.is-hidden,
.nf-checkout-select-empty[style*="display: none"],
.nf-checkout-select-empty[style*="display:none"] {
  display: none !important;
}

/* ==========================================================================
   4B-3. SHIPPING OPTIONS LUXURY BORDER & ROUNDED CORNERS (Fix for Shipping Table)
   ========================================================================== */

/* 1. Neutralize all Gutenberg default harsh borders, pseudo-borders, and box-shadows */
.wc-block-components-radio-control--highlight-checked,
.wc-block-components-shipping-rates-control,
.wc-block-components-shipping-rates-control__package,
.wc-block-components-shipping-rates-control__package--multiple,
.wc-block-components-shipping-rates-control__package-container,
.wc-block-checkout__shipping-method,
.wc-block-checkout__shipping-methods,
.wc-block-checkout__shipping-option,
.wp-block-woocommerce-checkout-shipping-method-block,
.wc-block-components-totals-shipping__options {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.wc-block-components-radio-control--highlight-checked:after,
.wc-block-components-radio-control--highlight-checked:before,
.wc-block-components-shipping-rates-control:after,
.wc-block-components-shipping-rates-control:before,
.wc-block-components-shipping-rates-control__package:after,
.wc-block-components-shipping-rates-control__package:before,
.wc-block-components-shipping-rates-control__package--multiple:after,
.wc-block-components-shipping-rates-control__package--multiple:before,
.wc-block-components-radio-control__option:after,
.wc-block-components-radio-control__option:before,
.wc-block-components-radio-control-accordion-option:after,
.wc-block-components-radio-control-accordion-option:before {
  display: none !important;
  content: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* 2. Style each shipping option radio box with luxury borders and rounded corners */
.wc-block-components-shipping-rates-control .wc-block-components-radio-control__option,
.wc-block-checkout__shipping-methods .wc-block-components-radio-control__option,
.wc-block-checkout__shipping-option .wc-block-components-radio-control__option,
.wp-block-woocommerce-checkout-shipping-method-block .wc-block-components-radio-control__option,
.wc-block-components-totals-shipping__options .wc-block-components-radio-control__option,
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option,
label.wc-block-components-radio-control__option,
.wc-block-components-radio-control__option {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 54px !important;
  background-color: #FAF8F5 !important;
  border: 1.5px solid var(--nf-border) !important;
  border-radius: var(--nf-radius-md) !important; /* 12px corners matching other checkout fields */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
  padding: 14px 20px 14px 52px !important;
  margin: 0 0 12px 0 !important;
  position: relative !important;
  cursor: pointer !important;
  transition: all var(--nf-transition-fast) !important;
  box-sizing: border-box !important;
  color: var(--nf-text) !important;
  width: 100% !important;
}

[dir="rtl"] .wc-block-components-shipping-rates-control .wc-block-components-radio-control__option,
[dir="rtl"] .wc-block-checkout__shipping-methods .wc-block-components-radio-control__option,
[dir="rtl"] .wc-block-checkout__shipping-option .wc-block-components-radio-control__option,
[dir="rtl"] .wp-block-woocommerce-checkout-shipping-method-block .wc-block-components-radio-control__option,
[dir="rtl"] .wc-block-components-totals-shipping__options .wc-block-components-radio-control__option,
[dir="rtl"] .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option,
[dir="rtl"] .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option,
[dir="rtl"] label.wc-block-components-radio-control__option,
[dir="rtl"] .wc-block-components-radio-control__option {
  padding: 14px 52px 14px 20px !important;
}

/* 3. Hover state */
.wc-block-components-shipping-rates-control .wc-block-components-radio-control__option:hover,
.wc-block-checkout__shipping-methods .wc-block-components-radio-control__option:hover,
.wc-block-checkout__shipping-option .wc-block-components-radio-control__option:hover,
.wp-block-woocommerce-checkout-shipping-method-block .wc-block-components-radio-control__option:hover,
.wc-block-components-totals-shipping__options .wc-block-components-radio-control__option:hover,
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option:hover,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option:hover,
label.wc-block-components-radio-control__option:hover {
  border-color: var(--nf-green-dark) !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(44, 62, 53, 0.08) !important;
}

/* 4. Checked state - Completely override and remove Gutenberg's harsh box-shadow inset */
.wc-block-components-shipping-rates-control .wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-components-shipping-rates-control label.wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-checkout__shipping-methods .wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-checkout__shipping-option .wc-block-components-radio-control__option--checked-option-highlighted,
.wp-block-woocommerce-checkout-shipping-method-block .wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-components-totals-shipping__options .wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted,
label.wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-components-radio-control__option:has(.wc-block-components-radio-control__input:checked),
label.wc-block-components-radio-control__option:has(input:checked) {
  border: 1.5px solid var(--nf-green-dark) !important;
  border-radius: var(--nf-radius-md) !important; /* 12px corners */
  background-color: #F4F8F5 !important;
  box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.12), 0 2px 8px rgba(45, 74, 62, 0.06) !important;
}

/* 5. Custom Radio input dot styling */
.wc-block-components-radio-control .wc-block-components-radio-control__input {
  position: absolute !important;
  left: 20px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  accent-color: var(--nf-green-dark) !important;
  border: 1.5px solid var(--nf-border) !important;
  border-radius: 50% !important;
  background-color: #FFFFFF !important;
  cursor: pointer !important;
}

[dir="rtl"] .wc-block-components-radio-control .wc-block-components-radio-control__input {
  left: auto !important;
  right: 20px !important;
}

.wc-block-components-radio-control .wc-block-components-radio-control__input:checked {
  border-color: var(--nf-green-dark) !important;
}

.wc-block-components-radio-control .wc-block-components-radio-control__input:checked:before {
  background-color: var(--nf-green-dark) !important;
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
}

/* 6. Typography & Label Layout */
.wc-block-components-radio-control__option-layout {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  gap: 16px !important;
}

.wc-block-components-radio-control__label-group,
.wc-block-components-radio-control__description-group {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  margin: 0 !important;
}

.wc-block-components-radio-control__label {
  font-family: var(--nf-font-sans) !important;
  font-size: 0.96rem !important;
  font-weight: 600 !important;
  color: var(--nf-green-dark) !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

.wc-block-components-radio-control__secondary-label,
.wc-block-components-shipping-rates-control__package .wc-block-components-radio-control__secondary-label {
  font-family: var(--nf-font-sans) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--nf-green-dark) !important;
  text-align: end !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

/* Classic WooCommerce Shipping Methods list */
ul#shipping_method,
ul.woocommerce-shipping-methods {
  list-style: none !important;
  padding: 0 !important;
  margin: 8px 0 !important;
}

ul#shipping_method li,
ul.woocommerce-shipping-methods li {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background-color: #FAF8F5 !important;
  border: 1.5px solid var(--nf-border) !important;
  border-radius: var(--nf-radius-md) !important;
  padding: 12px 18px !important;
  margin-bottom: 8px !important;
  transition: all var(--nf-transition-fast) !important;
  cursor: pointer !important;
}

ul#shipping_method li:hover,
ul.woocommerce-shipping-methods li:hover {
  border-color: var(--nf-green-dark) !important;
  background-color: #FFFFFF !important;
}

ul#shipping_method li:has(input:checked),
ul.woocommerce-shipping-methods li:has(input:checked) {
  border-color: var(--nf-green-dark) !important;
  background-color: #F4F8F5 !important;
  box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.12) !important;
}

ul#shipping_method li input[type="radio"],
ul.woocommerce-shipping-methods li input[type="radio"] {
  accent-color: var(--nf-green-dark) !important;
  margin-inline-end: 12px !important;
}

/* ==========================================================================
   4C. ORDER RECEIVED / THANK YOU / CONFIRMATION PAGE
   ========================================================================== */
.woocommerce-order-received .nf-site-main {
  padding-bottom: var(--nf-space-4xl);
}

.woocommerce-thankyou-order-received {
  font-family: var(--nf-font-serif) !important;
  font-size: 1.85rem !important;
  color: var(--nf-green-dark) !important;
  text-align: center !important;
  margin-bottom: 24px !important;
  padding: 24px 28px !important;
  background-color: #F4F8F5 !important;
  border: 1px solid #CDE2D3 !important;
  border-radius: var(--nf-radius-lg, 16px) !important;
  font-weight: 500 !important;
  box-shadow: 0 4px 18px rgba(45, 74, 62, 0.05) !important;
}

/* Payment Instructions (e.g. "Pay with cash upon delivery.") - Deleted as requested */
.woocommerce-order-received .woocommerce-order > p:not([class]):not(.woocommerce-thankyou-order-received),
.woocommerce-order-received .woocommerce > p:not([class]):not(.woocommerce-thankyou-order-received),
.woocommerce-order-received .woocommerce-thankyou-order-received + p,
.woocommerce-order-received .woocommerce-thankyou-order-details + p,
.woocommerce-order-received p.woocommerce-thankyou-order-received + p {
  display: none !important;
}

/* Top Order Summary Bar - Expanded and spacious to prevent wrapping */
ul.woocommerce-thankyou-order-details {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  gap: 16px 20px !important;
  background-color: #FAF8F5 !important;
  border: 1.5px solid var(--nf-border) !important;
  border-radius: var(--nf-radius-lg, 16px) !important;
  padding: 24px 32px !important;
  list-style: none !important;
  margin-bottom: 28px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
}

ul.woocommerce-thankyou-order-details li {
  flex: 1 1 auto !important;
  min-width: max-content !important;
  font-family: var(--nf-font-sans) !important;
  font-size: 0.78rem !important;
  color: var(--nf-muted) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  font-weight: 600 !important;
  padding: 4px 24px !important;
  border-inline-end: 1px solid rgba(220, 215, 206, 0.8) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

ul.woocommerce-thankyou-order-details li:first-child {
  padding-inline-start: 0 !important;
}

ul.woocommerce-thankyou-order-details li:last-child {
  border-inline-end: none !important;
  padding-inline-end: 0 !important;
}

ul.woocommerce-thankyou-order-details li strong {
  display: block !important;
  font-family: var(--nf-font-sans) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: var(--nf-green-dark) !important;
  margin-top: 6px !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  white-space: nowrap !important; /* Keep date and payment method on a single line */
}

@media (max-width: 640px) {
  .woocommerce-thankyou-order-received {
    font-size: 1.35rem !important;
    padding: 16px 18px !important;
  }
  ul.woocommerce-thankyou-order-details,
  ul.woocommerce-order-overview {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 10px 18px !important;
    background-color: #FAF8F5 !important;
    border: 1.5px solid var(--nf-border) !important;
    border-radius: var(--nf-radius-lg, 16px) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    list-style: none !important;
    margin: 0 0 24px 0 !important;
  }
  ul.woocommerce-thankyou-order-details li,
  ul.woocommerce-order-overview li {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 0 !important;
    border-inline-end: none !important;
    border-bottom: 1px solid rgba(220, 215, 206, 0.6) !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    font-family: var(--nf-font-sans) !important;
    font-size: 0.78rem !important;
    color: var(--nf-muted) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-weight: 600 !important;
    gap: 12px !important;
  }
  ul.woocommerce-thankyou-order-details li:last-child,
  ul.woocommerce-order-overview li:last-child {
    border-bottom: none !important;
  }
  ul.woocommerce-thankyou-order-details li strong,
  ul.woocommerce-order-overview li strong {
    font-family: var(--nf-font-sans) !important;
    font-size: 0.94rem !important;
    font-weight: 700 !important;
    color: var(--nf-green-dark) !important;
    margin-top: 0 !important;
    text-align: end !important;
    white-space: normal !important;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
    flex: 1 1 auto !important;
    max-width: 65% !important;
    line-height: 1.35 !important;
  }
}

@media (min-width: 641px) and (max-width: 768px) {
  ul.woocommerce-thankyou-order-details,
  ul.woocommerce-order-overview {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    padding: 20px !important;
  }
  ul.woocommerce-thankyou-order-details li,
  ul.woocommerce-order-overview li {
    padding: 8px 12px !important;
    border-inline-end: none !important;
    border-bottom: 1px solid rgba(220, 215, 206, 0.6) !important;
    min-width: 0 !important;
  }
  ul.woocommerce-thankyou-order-details li:nth-last-child(-n+2),
  ul.woocommerce-order-overview li:nth-last-child(-n+2) {
    border-bottom: none !important;
  }
  ul.woocommerce-thankyou-order-details li strong,
  ul.woocommerce-order-overview li strong {
    white-space: normal !important;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
  }
}

/* Order Details Card & Luxury Table */
.woocommerce-order-details {
  background-color: #FAF8F5 !important;
  border: 1.5px solid var(--nf-border) !important;
  border-radius: var(--nf-radius-lg, 16px) !important;
  padding: 36px 40px !important;
  margin-bottom: 28px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  .woocommerce-order-details {
    padding: 24px 20px !important;
  }
}

.woocommerce-order-details__title {
  font-family: var(--nf-font-serif) !important;
  font-size: 1.65rem !important;
  font-weight: 600 !important;
  color: var(--nf-green-dark) !important;
  margin: 0 0 20px 0 !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid rgba(220, 215, 206, 0.7) !important;
}

table.woocommerce-table--order-details,
.woocommerce-order-details table.shop_table {
  border: none !important;
  border-collapse: collapse !important;
  width: 100% !important;
  margin: 0 !important;
  background: transparent !important;
}

table.woocommerce-table--order-details thead th,
.woocommerce-order-details table.shop_table thead th {
  border: none !important;
  border-bottom: 1.5px solid var(--nf-green-dark) !important;
  background: transparent !important;
  font-family: var(--nf-font-serif) !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: var(--nf-green-dark) !important;
  padding: 12px 0 16px 0 !important;
  text-transform: capitalize !important;
}

table.woocommerce-table--order-details thead th.product-total,
.woocommerce-order-details table.shop_table thead th.product-total {
  text-align: end !important;
}

table.woocommerce-table--order-details tbody td,
.woocommerce-order-details table.shop_table tbody td {
  border: none !important;
  border-bottom: 1px solid rgba(230, 225, 218, 0.7) !important;
  padding: 18px 0 !important;
  background: transparent !important;
  vertical-align: middle !important;
}

/* Product item cell with image */
.nf-order-product-cell {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.nf-order-product-image {
  flex-shrink: 0 !important;
  width: 64px !important;
  height: 64px !important;
  border-radius: var(--nf-radius-md, 12px) !important;
  border: 1px solid var(--nf-border) !important;
  background-color: #FFFFFF !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

.nf-order-product-image img,
.nf-order-product-thumb {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.3s ease !important;
}

.nf-order-product-image a:hover img {
  transform: scale(1.06) !important;
}

.nf-order-product-meta {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.nf-order-product-title {
  font-family: var(--nf-font-serif) !important;
  font-size: 1.08rem !important;
  font-weight: 600 !important;
  color: var(--nf-green-dark) !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.nf-order-product-link {
  color: var(--nf-green-dark) !important;
  text-decoration: none !important;
  transition: color var(--nf-transition-fast) !important;
}

.nf-order-product-link:hover {
  color: var(--nf-green) !important;
}

table.woocommerce-table--order-details tbody td.product-name strong.product-quantity,
.woocommerce-order-details table.shop_table tbody td.product-name strong.product-quantity {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--nf-font-sans) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  background-color: #EDE7DC !important;
  color: var(--nf-green-dark) !important;
  padding: 2px 8px !important;
  border-radius: var(--nf-radius-full) !important;
  margin-inline-start: 8px !important;
  vertical-align: middle !important;
}

table.woocommerce-table--order-details tbody td.product-total,
.woocommerce-order-details table.shop_table tbody td.product-total {
  text-align: end !important;
  font-family: var(--nf-font-sans) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--nf-green-dark) !important;
}

table.woocommerce-table--order-details tfoot th,
.woocommerce-order-details table.shop_table tfoot th {
  border: none !important;
  border-bottom: 1px solid rgba(230, 225, 218, 0.6) !important;
  padding: 14px 0 !important;
  font-family: var(--nf-font-sans) !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  color: var(--nf-text) !important;
  background: transparent !important;
  text-align: start !important;
}

table.woocommerce-table--order-details tfoot td,
.woocommerce-order-details table.shop_table tfoot td {
  border: none !important;
  border-bottom: 1px solid rgba(230, 225, 218, 0.6) !important;
  padding: 14px 0 !important;
  font-family: var(--nf-font-sans) !important;
  font-size: 0.98rem !important;
  font-weight: 600 !important;
  color: var(--nf-green-dark) !important;
  background: transparent !important;
  text-align: end !important;
}

/* Discount row */
table.woocommerce-table--order-details tfoot tr.discount td {
  color: #2E7D32 !important;
}

/* Hide redundant Payment Method row in Order details table (already in top bar) */
table.woocommerce-table--order-details tfoot tr.payment-method,
.woocommerce-order-details table.shop_table tfoot tr.payment-method {
  display: none !important;
}

/* Grand Total Row - Highlighted & Prominent */
table.woocommerce-table--order-details tfoot tr.order-total th,
.woocommerce-order-details table.shop_table tfoot tr.order-total th {
  border-top: 2px solid var(--nf-green-dark) !important;
  border-bottom: none !important;
  padding-top: 22px !important;
  font-family: var(--nf-font-serif) !important;
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  color: var(--nf-green-dark) !important;
  line-height: 1.2 !important;
}

table.woocommerce-table--order-details tfoot tr.order-total td,
.woocommerce-order-details table.shop_table tfoot tr.order-total td {
  border-top: 2px solid var(--nf-green-dark) !important;
  border-bottom: none !important;
  padding-top: 22px !important;
  font-family: var(--nf-font-sans) !important;
  font-size: 1.65rem !important;
  font-weight: 700 !important;
  color: var(--nf-green-dark) !important;
  line-height: 1.2 !important;
  text-align: end !important;
}

/* Delivery Date and Notes following order details table */
.woocommerce-order-details > p,
.woocommerce-order-details .woocommerce-order-details__after-order-table,
.woocommerce-order-details p:last-child {
  margin-top: 22px !important;
  margin-bottom: 0 !important;
  padding: 14px 20px !important;
  background-color: #FFFFFF !important;
  border: 1px solid rgba(45, 74, 62, 0.18) !important;
  border-radius: var(--nf-radius-md, 10px) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: var(--nf-green-dark) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

.woocommerce-order-details > p::before,
.woocommerce-order-details p:last-child::before {
  content: '\1F4C5' !important;
  font-size: 1.1rem !important;
}

/* Customer Addresses - Two Equal Balanced Luxury Cards side by side */
.woocommerce-customer-details,
.nf-order-customer-details {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-top: 32px !important;
  margin-bottom: 32px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Neutralize WooCommerce core clearfix pseudo-elements that act as stray grid/flex items */
.woocommerce-customer-details .woocommerce-columns--addresses::before,
.woocommerce-customer-details .woocommerce-columns--addresses::after,
.woocommerce-customer-details .col2-set::before,
.woocommerce-customer-details .col2-set::after,
.woocommerce-customer-details::before,
.woocommerce-customer-details::after,
.nf-order-addresses-grid::before,
.nf-order-addresses-grid::after {
  display: none !important;
  content: none !important;
}

.woocommerce-customer-details .woocommerce-columns--addresses,
.woocommerce-customer-details .col2-set,
.nf-order-addresses-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 28px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  .woocommerce-customer-details .woocommerce-columns--addresses,
  .woocommerce-customer-details .col2-set,
  .nf-order-addresses-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

.woocommerce-customer-details .woocommerce-column--billing-address,
.woocommerce-customer-details .woocommerce-column--shipping-address,
.woocommerce-customer-details .col-1,
.woocommerce-customer-details .col-2,
.nf-order-address-card {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  background-color: #FAF8F5 !important;
  border: 1.5px solid var(--nf-border) !important;
  border-radius: var(--nf-radius-lg, 16px) !important;
  padding: 32px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  transition: all var(--nf-transition-normal) !important;
  margin: 0 !important;
}

.woocommerce-customer-details .woocommerce-column--billing-address:hover,
.woocommerce-customer-details .woocommerce-column--shipping-address:hover,
.nf-order-address-card:hover {
  border-color: rgba(45, 74, 62, 0.25) !important;
  box-shadow: 0 6px 24px rgba(45, 74, 62, 0.06) !important;
}

.woocommerce-customer-details .woocommerce-column__title,
.woocommerce-customer-details h2,
.nf-order-address-title {
  font-family: var(--nf-font-serif) !important;
  font-size: 1.55rem !important;
  font-weight: 600 !important;
  color: var(--nf-green-dark) !important;
  margin: 0 0 16px 0 !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid rgba(220, 215, 206, 0.7) !important;
  text-align: start !important;
}

/* Remove ugly nested inner box around addresses */
.woocommerce-customer-details address,
.nf-order-address-card address {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  font-style: normal !important;
  line-height: 1.8 !important;
  color: var(--nf-text) !important;
  font-size: 0.95rem !important;
  margin-bottom: 14px !important;
  flex-grow: 1 !important;
  box-shadow: none !important;
  text-align: start !important;
}

.woocommerce-customer-details--phone,
.woocommerce-customer-details--email {
  margin: 8px 0 0 0 !important;
  font-size: 0.92rem !important;
  color: var(--nf-text) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 500 !important;
  padding-left: 0 !important;
  padding-inline-start: 0 !important;
  position: relative !important;
}

/* Remove WooCommerce core duplicate font icons (before pseudo elements) */
.woocommerce-customer-details .woocommerce-customer-details--phone::before,
.woocommerce-customer-details .woocommerce-customer-details--email::before,
.woocommerce .woocommerce-customer-details .woocommerce-customer-details--phone::before,
.woocommerce .woocommerce-customer-details .woocommerce-customer-details--email::before,
.nf-order-customer-details .woocommerce-customer-details--phone::before,
.nf-order-customer-details .woocommerce-customer-details--email::before {
  display: none !important;
  content: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
}

.woocommerce-customer-details--email {
  color: var(--nf-green-dark) !important;
}

.nf-address-icon {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  color: var(--nf-green-dark) !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

/* Order Confirmation / Thank You Page - Mobile Responsive Layout & Spacing */
@media (max-width: 640px) {
  .woocommerce-order-received .nf-site-main,
  .woocommerce-order-received .nf-site-main--wc,
  .woocommerce-order-received .nf-site-main--page {
    padding-bottom: 28px !important;
  }

  .woocommerce-order-received .nf-ecommerce-page-content {
    padding-bottom: 0 !important;
  }

  .woocommerce-order-received .woocommerce-customer-details,
  .woocommerce-order-received .nf-order-customer-details,
  .woocommerce-order-received .woocommerce-order {
    margin-bottom: 0 !important;
  }

  .woocommerce-customer-details .woocommerce-column--billing-address,
  .woocommerce-customer-details .woocommerce-column--shipping-address,
  .woocommerce-customer-details .col-1,
  .woocommerce-customer-details .col-2,
  .nf-order-address-card {
    padding: 20px !important;
  }
}


/* ==========================================================================
   5. MY ACCOUNT PAGE
   ========================================================================== */
.nf-account-welcome-banner {
  background-color: var(--nf-white);
  border: 1px solid var(--nf-border);
  border-radius: var(--nf-radius-lg);
  padding: var(--nf-space-xl);
  margin-bottom: var(--nf-space-2xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.nf-account-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: var(--nf-space-2xl);
}

.nf-stat-card {
  background-color: var(--nf-white);
  border: 1px solid var(--nf-border);
  border-radius: var(--nf-radius-md);
  padding: 18px;
  text-align: center;
}

.nf-stat-val {
  font-family: var(--nf-font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--nf-green-dark);
}

.nf-stat-lbl {
  font-size: 0.8rem;
  color: var(--nf-muted);
}

/* ==========================================================================
   5B. LUXURY MY ACCOUNT & AUTHENTICATION (Login, Register & Dashboard)
   ========================================================================== */

/* Page Header Banner for My Account */
.nf-account-header-wrapper {
  padding: 44px 0 32px;
  text-align: center;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(230, 224, 216, 0.7);
}

.nf-account-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background-color: var(--nf-cream);
  border: 1px solid var(--nf-border);
  border-radius: var(--nf-radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--nf-green-dark);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.nf-hero-badge-icon {
  font-size: 0.95rem;
}

.nf-account-hero-title {
  font-family: var(--nf-font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--nf-green-dark);
  margin: 0 0 10px;
  line-height: 1.25;
}

.nf-account-hero-subtitle {
  font-size: 0.96rem;
  color: var(--nf-text-secondary);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

.nf-ecommerce-page-content--account {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 85px;
  width: 100%;
}

/* Auth Cards Grid (Login & Register) */
#customer_login.col2-set::before,
#customer_login.col2-set::after,
.nf-auth-grid::before,
.nf-auth-grid::after {
  display: none !important;
  content: none !important;
}

#customer_login.nf-auth-grid,
#customer_login {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: stretch;
  margin: 10px auto 0;
  max-width: 1060px;
}

#customer_login .u-column1,
#customer_login .u-column2,
#customer_login .col-1,
#customer_login .col-2 {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

@media (max-width: 860px) {
  #customer_login.nf-auth-grid,
  #customer_login {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Auth Card Container */
.nf-auth-card {
  background-color: var(--nf-white);
  border: 1px solid var(--nf-border);
  border-radius: 22px;
  padding: 42px 38px 38px;
  box-shadow: 0 12px 36px rgba(48, 58, 42, 0.04), 0 2px 6px rgba(48, 58, 42, 0.02);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nf-auth-card:hover {
  border-color: #D4C9BC;
  box-shadow: 0 16px 44px rgba(48, 58, 42, 0.08);
}

/* Clean WooCommerce Default Form Styling */
.nf-auth-card form.login,
.nf-auth-card form.register,
.woocommerce form.login,
.woocommerce form.register {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Card Header */
.nf-auth-card__header {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--nf-border-light);
}

.nf-auth-card__icon-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--nf-cream);
  border: 1px solid var(--nf-border);
  color: var(--nf-green-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.nf-auth-card__icon-badge--gold {
  background-color: #FAF5EB;
  border-color: #EBD9BC;
  color: var(--nf-gold);
}

.nf-auth-card__badge {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--nf-green);
  margin-bottom: 6px;
}

.nf-auth-card__badge--gold {
  color: var(--nf-gold);
}

.nf-auth-card__title,
.nf-auth-card h2 {
  font-family: var(--nf-font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--nf-green-dark);
  margin: 0 0 8px;
  line-height: 1.25;
}

.nf-auth-card__desc {
  font-size: 0.88rem;
  color: var(--nf-muted);
  line-height: 1.55;
  margin: 0;
}

/* Form Fields & Inputs */
.nf-auth-field-wrap,
.woocommerce-form-login .form-row-wide,
.woocommerce-form-register .form-row-wide {
  margin-bottom: 20px;
}

.nf-auth-label,
.woocommerce-form-login label,
.woocommerce-form-register label {
  font-family: var(--nf-font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--nf-green-dark);
  margin-bottom: 8px;
  display: block;
}

.nf-auth-label .required,
.woocommerce-form label .required {
  color: var(--nf-danger);
  font-size: 0.95rem;
  margin-left: 2px;
}

.nf-auth-input-container {
  position: relative;
  display: block !important;
  width: 100% !important;
}

.nf-auth-input-container .nf-input-icon {
  position: absolute;
  left: 16px;
  top: 25px;
  transform: translateY(-50%);
  color: #9CA3AF;
  pointer-events: none;
  display: flex;
  align-items: center;
  z-index: 2;
}

.rtl .nf-auth-input-container .nf-input-icon {
  left: auto;
  right: 16px;
}

/* Ensure password-input wrapper from WooCommerce takes 100% full width */
.nf-auth-input-container span.password-input,
span.password-input {
  display: block !important;
  width: 100% !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.nf-auth-input,
.woocommerce-form-login input.input-text,
.woocommerce-form-register input.input-text,
.nf-auth-input-container span.password-input input {
  width: 100% !important;
  height: 50px !important;
  padding: 0 48px 0 46px !important;
  border: 1.5px solid var(--nf-border) !important;
  border-radius: 12px !important;
  background-color: var(--nf-cream) !important;
  font-family: var(--nf-font-sans) !important;
  font-size: 0.95rem !important;
  color: var(--nf-text) !important;
  transition: all 0.22s ease !important;
  box-sizing: border-box !important;
  display: block !important;
}

.rtl .nf-auth-input,
.rtl .woocommerce-form-login input.input-text,
.rtl .woocommerce-form-register input.input-text,
.rtl .nf-auth-input-container span.password-input input {
  padding: 0 46px 0 48px !important;
}

.nf-auth-input:focus,
.woocommerce-form-login input.input-text:focus,
.woocommerce-form-register input.input-text:focus,
.nf-auth-input-container span.password-input input:focus {
  border-color: var(--nf-green-dark) !important;
  background-color: var(--nf-white) !important;
  outline: none !important;
  box-shadow: 0 0 0 3.5px rgba(48, 58, 42, 0.08) !important;
}

/* Password eye button positioning */
.show-password-input {
  position: absolute !important;
  right: 14px !important;
  top: 25px !important;
  transform: translateY(-50%) !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  color: var(--nf-muted) !important;
  display: flex !important;
  align-items: center !important;
  padding: 4px !important;
  z-index: 4 !important;
}

.rtl .show-password-input {
  right: auto !important;
  left: 14px !important;
}

.show-password-input:hover {
  color: var(--nf-green-dark) !important;
}

/* WooCommerce Password Strength Meter Styling */
.woocommerce-password-strength,
#password_strength {
  display: block !important;
  width: 100% !important;
  margin: 10px 0 0 !important;
  padding: 10px 16px !important;
  border-radius: 10px !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  text-align: center !important;
  box-sizing: border-box !important;
  clear: both !important;
  transition: all 0.25s ease !important;
}

.woocommerce-password-strength.short,
.woocommerce-password-strength.bad {
  background-color: #FEF2F2 !important;
  border: 1px solid #FECACA !important;
  color: #DC2626 !important;
}

.woocommerce-password-strength.good {
  background-color: #FFFBEB !important;
  border: 1px solid #FDE68A !important;
  color: #D97706 !important;
}

.woocommerce-password-strength.strong {
  background-color: #F0FDF4 !important;
  border: 1px solid #BBF7D0 !important;
  color: #16A34A !important;
}

.woocommerce-password-hint {
  display: block !important;
  width: 100% !important;
  margin: 8px 0 0 !important;
  font-size: 0.80rem !important;
  line-height: 1.55 !important;
  color: var(--nf-text-secondary) !important;
  background-color: var(--nf-cream) !important;
  border: 1px solid var(--nf-border) !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  box-sizing: border-box !important;
  clear: both !important;
}

/* Remember me & Lost password row */
.nf-auth-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 24px;
  flex-wrap: wrap;
}

.nf-remember-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--nf-text-secondary);
  cursor: pointer;
  user-select: none;
  margin: 0;
}

.nf-auth-checkbox {
  accent-color: var(--nf-green-dark);
  width: 17px;
  height: 17px;
  border-radius: 4px;
  cursor: pointer;
  margin: 0;
}

.nf-lost-password-link,
.woocommerce-LostPassword a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--nf-green);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nf-lost-password-link:hover,
.woocommerce-LostPassword a:hover {
  color: var(--nf-gold);
  text-decoration: underline;
}

/* Submit Buttons */
.nf-auth-submit-btn,
.woocommerce-form-login__submit,
.woocommerce-form-register__submit {
  width: 100% !important;
  height: 52px !important;
  background-color: var(--nf-green-dark) !important;
  color: var(--nf-white) !important;
  border: none !important;
  border-radius: 12px !important;
  font-family: var(--nf-font-sans) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 6px 18px rgba(48, 58, 42, 0.18) !important;
  margin-top: 10px !important;
}

.nf-auth-submit-btn:hover,
.woocommerce-form-login__submit:hover,
.woocommerce-form-register__submit:hover {
  background-color: #1F271B !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(48, 58, 42, 0.26) !important;
  color: var(--nf-white) !important;
}

.nf-auth-submit-btn:active,
.woocommerce-form-login__submit:active,
.woocommerce-form-register__submit:active {
  transform: translateY(0) !important;
  box-shadow: 0 4px 10px rgba(48, 58, 42, 0.15) !important;
}

.nf-auth-submit-btn--register {
  background-color: #384232 !important;
}

.nf-auth-submit-btn--register:hover {
  background-color: #232B1E !important;
}

.nf-btn-arrow {
  transition: transform 0.25s ease;
}

.nf-auth-submit-btn:hover .nf-btn-arrow {
  transform: translateX(4px);
}

.rtl .nf-btn-arrow {
  transform: scaleX(-1);
}

.rtl .nf-auth-submit-btn:hover .nf-btn-arrow {
  transform: scaleX(-1) translateX(4px);
}

/* Privacy Notice */
.woocommerce-privacy-policy-text {
  background-color: var(--nf-cream);
  border: 1px solid var(--nf-border);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 0.82rem;
  color: var(--nf-muted);
  line-height: 1.55;
}

.woocommerce-privacy-policy-text p {
  margin: 0;
}

.woocommerce-privacy-policy-text a {
  color: var(--nf-green-dark);
  font-weight: 600;
  text-decoration: underline;
}

.nf-auth-notice-box {
  background-color: #FAF5EB;
  border: 1px solid #EBD9BC;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 0.84rem;
  color: #7A5826;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* WooCommerce Alert / Notice Messages */
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info {
  border-radius: 14px;
  padding: 14px 22px;
  margin: 0 auto 30px;
  max-width: 1060px;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.woocommerce-notices-wrapper .woocommerce-error {
  background-color: #FDF2F2;
  border: 1px solid #F8B4B4;
  color: #9B1C1C;
}

.woocommerce-notices-wrapper .woocommerce-message {
  background-color: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
}

.woocommerce-notices-wrapper .woocommerce-info {
  background-color: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
}

/* ==========================================================================
   5C. LOGGED-IN MY ACCOUNT DASHBOARD & NAVIGATION
   ========================================================================== */

/* Outer wrapper must be a standard block so it doesn't nest grids */
.woocommerce-account .woocommerce {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after {
  display: none !important;
  content: none !important;
}

/* Main Layout for Logged-In My Account (Sidebar + Content) */
.nf-myaccount-layout {
  display: grid !important;
  grid-template-columns: 290px 1fr !important;
  gap: 36px !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 10px auto 0 !important;
}

.nf-myaccount-layout::before,
.nf-myaccount-layout::after {
  display: none !important;
  content: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

@media (max-width: 960px) {
  .nf-myaccount-layout {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}

/* Navigation Sidebar */
.nf-account-sidebar {
  background-color: var(--nf-white);
  border: 1px solid var(--nf-border);
  border-radius: 20px;
  padding: 24px 18px;
  box-shadow: 0 10px 30px rgba(48, 58, 42, 0.04);
}

/* User Card in Sidebar */
.nf-account-user-card {
  text-align: center;
  padding: 10px 0 22px;
  border-bottom: 1px solid var(--nf-border-light);
  margin-bottom: 16px;
}

.nf-account-user-card__avatar {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
}

.nf-account-user-card__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--nf-cream);
  box-shadow: 0 4px 14px rgba(48, 58, 42, 0.12);
}

.nf-account-user-card__status {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background-color: #10B981;
  border: 2.5px solid #FFFFFF;
  border-radius: 50%;
}

.rtl .nf-account-user-card__status {
  right: auto;
  left: 2px;
}

.nf-account-user-card__badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--nf-cream);
  border: 1px solid var(--nf-border);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--nf-green-dark);
  letter-spacing: 0.4px;
  margin-bottom: 8px;
}

.nf-account-user-card__name {
  font-family: var(--nf-font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--nf-green-dark);
  margin: 0 0 3px;
  line-height: 1.3;
}

.nf-account-user-card__email {
  font-size: 0.82rem;
  color: var(--nf-muted);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Nav Menu List */
.nf-account-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nf-account-nav-item {
  margin: 0;
  padding: 0;
}

.nf-account-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--nf-text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.nf-account-nav-icon {
  width: 20px;
  height: 20px;
  color: var(--nf-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.nf-account-nav-text {
  flex-grow: 1;
}

.nf-account-nav-chevron {
  opacity: 0.4;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.rtl .nf-account-nav-chevron {
  transform: rotate(180deg);
}

.nf-account-nav-link:hover {
  background-color: var(--nf-cream);
  color: var(--nf-green-dark);
}

.nf-account-nav-link:hover .nf-account-nav-icon {
  color: var(--nf-green-dark);
}

.nf-account-nav-item.is-active .nf-account-nav-link,
.woocommerce-MyAccount-navigation li.is-active a {
  background-color: #FAF5EB !important;
  color: var(--nf-green-dark) !important;
  font-weight: 600 !important;
  border-left: 3px solid var(--nf-gold) !important;
}

.rtl .nf-account-nav-item.is-active .nf-account-nav-link,
.rtl .woocommerce-MyAccount-navigation li.is-active a {
  border-left: none !important;
  border-right: 3px solid var(--nf-gold) !important;
}

.nf-account-nav-item.is-active .nf-account-nav-icon {
  color: var(--nf-gold);
}

.nf-account-nav-item.is-active .nf-account-nav-chevron {
  opacity: 0.8;
  color: var(--nf-gold);
}

.nf-account-nav-item--customer-logout .nf-account-nav-link {
  color: #DC2626;
  margin-top: 10px;
  border-top: 1px solid var(--nf-border-light);
  padding-top: 16px;
  border-radius: 0 0 12px 12px;
}

.nf-account-nav-item--customer-logout .nf-account-nav-icon {
  color: #DC2626;
}

/* Account Main Content Container */
.nf-account-main-content,
.woocommerce-MyAccount-content {
  background-color: var(--nf-white);
  border: 1px solid var(--nf-border);
  border-radius: 20px;
  padding: 38px 42px;
  box-shadow: 0 10px 30px rgba(48, 58, 42, 0.04);
  min-height: 480px;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 600px) {
  .nf-account-main-content,
  .woocommerce-MyAccount-content {
    padding: 26px 20px;
  }
}

/* Dashboard Screen */
.nf-dashboard-welcome-banner {
  background: linear-gradient(135deg, #FAF8F3 0%, #F5EFE6 100%);
  border: 1px solid var(--nf-border);
  border-radius: 18px;
  padding: 28px 32px;
  margin-bottom: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.nf-dashboard-badge {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--nf-white);
  border: 1px solid var(--nf-border);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--nf-green-dark);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.nf-dashboard-greeting {
  font-family: var(--nf-font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--nf-green-dark);
  margin: 0 0 8px;
}

.nf-dashboard-intro {
  font-size: 0.92rem;
  color: var(--nf-text-secondary);
  line-height: 1.6;
  margin: 0;
  max-width: 580px;
}

.nf-btn-ghost-logout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background-color: var(--nf-white);
  border: 1px solid var(--nf-border);
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #DC2626;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nf-btn-ghost-logout:hover {
  background-color: #FEF2F2;
  border-color: #F87171;
}

/* Quick Cards Grid on Dashboard */
.nf-dashboard-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px !important;
  margin-bottom: 24px !important;
}

@media (max-width: 760px) {
  .nf-dashboard-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

.nf-dashboard-card {
  background-color: var(--nf-white);
  border: 1px solid var(--nf-border);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(48, 58, 42, 0.04);
  position: relative;
  overflow: hidden;
}

.nf-dashboard-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.25s ease;
}

.nf-dashboard-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 14px 32px rgba(48, 58, 42, 0.09);
}

.nf-dashboard-card:hover::before {
  background: linear-gradient(90deg, var(--nf-gold), #F3E5AB);
}

.nf-dashboard-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nf-dashboard-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nf-dashboard-card__icon--green {
  background-color: #EBF0E6;
  color: var(--nf-green-dark);
}

.nf-dashboard-card__icon--gold {
  background-color: #FAF5EB;
  color: #B48332;
}

.nf-dashboard-card__icon--blush {
  background-color: #FBF1ED;
  color: #C05621;
}

.nf-dashboard-card__icon--rose {
  background-color: #FDF2F8;
  color: #BE185D;
}

.nf-dashboard-card__arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--nf-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nf-muted);
  transition: all 0.25s ease;
}

.nf-dashboard-card:hover .nf-dashboard-card__arrow {
  background-color: var(--nf-green-dark);
  color: var(--nf-white);
  transform: translateX(4px);
}

.rtl .nf-dashboard-card__arrow svg {
  transform: scaleX(-1);
}

.rtl .nf-dashboard-card:hover .nf-dashboard-card__arrow {
  transform: translateX(-4px);
}

.nf-dashboard-card__content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nf-dashboard-card__title {
  font-family: var(--nf-font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--nf-green-dark);
  margin: 0;
  line-height: 1.25;
}

.nf-dashboard-card__desc {
  font-size: 0.86rem;
  color: var(--nf-muted);
  line-height: 1.5;
  margin: 0;
}

/* Notices inside My Account content */
.woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-error {
  background-color: #FAF8F5 !important;
  border: 1px solid var(--nf-border) !important;
  border-left: 4px solid var(--nf-gold) !important;
  border-radius: 14px !important;
  padding: 18px 24px !important;
  color: var(--nf-text) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  margin-bottom: 24px !important;
  font-size: 0.92rem !important;
  box-shadow: 0 4px 12px rgba(48, 58, 42, 0.03) !important;
}

.rtl .woocommerce-MyAccount-content .woocommerce-info,
.rtl .woocommerce-MyAccount-content .woocommerce-message,
.rtl .woocommerce-MyAccount-content .woocommerce-error {
  border-left: 1px solid var(--nf-border) !important;
  border-right: 4px solid var(--nf-gold) !important;
}

.woocommerce-MyAccount-content .woocommerce-info::before {
  color: var(--nf-gold) !important;
}

.woocommerce-MyAccount-content .woocommerce-info .button,
.woocommerce-MyAccount-content .woocommerce-info .woocommerce-Button,
.woocommerce-MyAccount-content .woocommerce-message .button {
  background-color: var(--nf-green-dark) !important;
  color: var(--nf-white) !important;
  border-radius: 10px !important;
  padding: 10px 20px !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border: none !important;
  transition: all 0.2s ease !important;
  margin: 0 !important;
  float: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.woocommerce-MyAccount-content .woocommerce-info .button:hover,
.woocommerce-MyAccount-content .woocommerce-info .woocommerce-Button:hover,
.woocommerce-MyAccount-content .woocommerce-message .button:hover {
  background-color: #1F271B !important;
  color: var(--nf-white) !important;
  transform: translateY(-1px) !important;
}

/* Orders Table Styling */
.woocommerce-orders-table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid var(--nf-border) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  margin-top: 14px !important;
}

.woocommerce-orders-table th {
  background-color: var(--nf-cream) !important;
  color: var(--nf-green-dark) !important;
  font-family: var(--nf-font-sans) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  padding: 16px 20px !important;
  border-bottom: 1px solid var(--nf-border) !important;
}

.woocommerce-orders-table td {
  padding: 16px 20px !important;
  border-bottom: 1px solid var(--nf-border-light) !important;
  font-size: 0.92rem !important;
  color: var(--nf-text) !important;
  vertical-align: middle !important;
}

.woocommerce-orders-table tr:last-child td {
  border-bottom: none !important;
}

.woocommerce-orders-table tr:hover td {
  background-color: #FAF8F5 !important;
}

.woocommerce-orders-table__cell-order-number a {
  font-weight: 600 !important;
  color: var(--nf-green-dark) !important;
  text-decoration: underline !important;
}

.woocommerce-orders-table__cell-order-actions .button {
  padding: 8px 16px !important;
  border-radius: 8px !important;
  background-color: var(--nf-green-dark) !important;
  color: var(--nf-white) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: all 0.2s ease !important;
}

.woocommerce-orders-table__cell-order-actions .button:hover {
  background-color: #1F271B !important;
  transform: translateY(-1px) !important;
}

/* Address Cards in My Account */
.woocommerce-Addresses.col2-set::before,
.woocommerce-Addresses.col2-set::after {
  display: none !important;
  content: none !important;
}

.woocommerce-Addresses {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  margin-top: 24px !important;
  width: 100% !important;
}

@media (max-width: 768px) {
  .woocommerce-Addresses {
    grid-template-columns: 1fr !important;
  }
}

.woocommerce-Address {
  background-color: #FAF8F5 !important;
  border: 1px solid var(--nf-border) !important;
  border-radius: 16px !important;
  padding: 24px 26px !important;
  display: flex !important;
  flex-direction: column !important;
  float: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.woocommerce-Address:hover {
  border-color: var(--nf-gold) !important;
  box-shadow: 0 8px 24px rgba(48, 58, 42, 0.05) !important;
}

.woocommerce-Address-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 14px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid var(--nf-border) !important;
}

.woocommerce-Address-title h3 {
  font-family: var(--nf-font-serif) !important;
  font-size: 1.45rem !important;
  font-weight: 600 !important;
  color: var(--nf-green-dark) !important;
  margin: 0 !important;
}

.woocommerce-Address-title .edit {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 14px !important;
  background-color: var(--nf-white) !important;
  border: 1px solid var(--nf-border) !important;
  border-radius: 8px !important;
  color: var(--nf-green-dark) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.woocommerce-Address-title .edit:hover {
  background-color: var(--nf-green-dark) !important;
  color: var(--nf-white) !important;
  border-color: var(--nf-green-dark) !important;
}

.woocommerce-Address address {
  font-style: normal !important;
  font-size: 0.92rem !important;
  color: var(--nf-text-secondary) !important;
  line-height: 1.75 !important;
}

/* Edit Account & Address Form Inputs */
.woocommerce-EditAccountForm,
.woocommerce-address-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px 20px !important;
  width: 100% !important;
}

.woocommerce-form-row--first,
.woocommerce-form-row--last {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.woocommerce-form-row--wide,
.woocommerce-EditAccountForm fieldset,
.woocommerce-EditAccountForm p:has(button[type="submit"]),
.woocommerce-address-fields p:has(button[type="submit"]),
.woocommerce-EditAccountForm em,
.woocommerce-EditAccountForm .clear {
  grid-column: 1 / -1 !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

@media (max-width: 650px) {
  .woocommerce-EditAccountForm,
  .woocommerce-address-fields__field-wrapper {
    grid-template-columns: 1fr !important;
  }
}

.woocommerce-EditAccountForm label,
.woocommerce-address-fields label {
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: var(--nf-green-dark) !important;
  margin-bottom: 6px !important;
  display: block !important;
}

.woocommerce-EditAccountForm input.input-text,
.woocommerce-address-fields input.input-text,
.woocommerce-address-fields select {
  width: 100% !important;
  height: 48px !important;
  border: 1.5px solid var(--nf-border) !important;
  border-radius: 12px !important;
  padding: 0 16px !important;
  font-size: 0.94rem !important;
  color: var(--nf-text) !important;
  background-color: #FAFAFA !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.woocommerce-EditAccountForm input.input-text:focus,
.woocommerce-address-fields input.input-text:focus,
.woocommerce-address-fields select:focus {
  background-color: var(--nf-white) !important;
  border-color: var(--nf-gold) !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15) !important;
  outline: none !important;
}

.woocommerce-EditAccountForm fieldset {
  border: 1px solid var(--nf-border) !important;
  border-radius: 16px !important;
  padding: 24px 26px !important;
  background-color: #FAF8F5 !important;
  margin-top: 14px !important;
}

.woocommerce-EditAccountForm legend {
  font-family: var(--nf-font-serif) !important;
  font-size: 1.35rem !important;
  font-weight: 600 !important;
  color: var(--nf-green-dark) !important;
  padding: 0 10px !important;
}

.woocommerce-EditAccountForm .woocommerce-Button,
.woocommerce-address-fields button.button {
  background-color: var(--nf-green-dark) !important;
  color: var(--nf-white) !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 14px 32px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.4px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  margin-top: 10px !important;
  box-shadow: 0 4px 14px rgba(48, 58, 42, 0.15) !important;
}

.woocommerce-EditAccountForm .woocommerce-Button:hover,
.woocommerce-address-fields button.button:hover {
  background-color: #1F271B !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(48, 58, 42, 0.22) !important;
  color: var(--nf-white) !important;
}

/* Status Badges */
.nf-status-badge {
  padding: 4px 10px;
  border-radius: var(--nf-radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.nf-status-delivered {
  background-color: #E2F0D9;
  color: #385723;
}

.nf-status-processing {
  background-color: #FFF2CC;
  color: #B25900;
}
  font-size: 0.75rem;
  font-weight: 600;
}

.nf-status-delivered {
  background-color: #E2F0D9;
  color: #385723;
}

.nf-status-processing {
  background-color: #FFF2CC;
  color: #B25900;
}

/* ==========================================================================
   6. CHECKOUT FLORIST WORKFLOW & REORGANIZED FIELDS
   ========================================================================== */

/* Hide unwanted elements: Company, Postcode, Use same address checkbox, Create account checkbox, and duplicate order fields */
.wc-block-checkout__use-address-for-billing,
.wc-block-components-address-form__company,
#shipping-company,
.shipping_company,
[name="shipping_company"],
.wc-block-components-address-form__postcode,
#shipping-postcode,
.shipping_postcode,
[name="shipping_postcode"],
.wc-block-checkout__create-account,
.wc-block-checkout__contact-fields .wc-block-components-checkbox,
.wc-block-checkout__order-fields,
.wp-block-woocommerce-checkout-additional-information-block,
.wc-block-checkout__shipping-fields .wc-block-components-address-form,
.wc-block-checkout__shipping-fields .wc-block-components-address-card-wrapper,
.wc-block-checkout__billing-fields,
.wp-block-woocommerce-checkout-billing-address-block,
.wc-block-components-checkout-step--billing-fields,
form.woocommerce-checkout .woocommerce-billing-fields:not(.nf-billing-active) {
  display: none !important;
}

/* Shipping Phone: hide optional label */
.wc-block-components-address-form__phone label .optional,
.wc-block-checkout__shipping-fields label[for*="phone"] .optional {
  display: none !important;
}

/* Step 1 & 2: Billing & Shipping Fields Grids */
.nf-checkout-billing-fields-grid,
.nf-checkout-shipping-fields-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  margin-top: 18px !important;
  width: 100% !important;
}

.nf-checkout-shipping-fields-grid {
  margin-top: 10px !important;
  margin-bottom: 20px !important;
}

/* Locked Country Field in Shipping Information */
.nf-locked-country-field {
  display: flex !important;
  align-items: center !important;
  background-color: var(--nf-white) !important;
  border: 1px solid var(--nf-border) !important;
  border-radius: var(--nf-radius-md) !important;
  padding: 0 16px !important;
  font-size: 0.95rem !important;
  color: var(--nf-text) !important;
  height: 48px !important;
  box-sizing: border-box !important;
  cursor: default !important;
  user-select: none !important;
}

.nf-country-name {
  font-weight: 500 !important;
  color: var(--nf-text) !important;
  font-size: 0.95rem !important;
}

.nf-checkout-field-row {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  width: 100% !important;
}

@media (min-width: 640px) {
  .nf-checkout-field-row--2col {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }
}

.nf-checkout-field-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  width: 100% !important;
  position: relative !important;
}

.nf-checkout-field-label {
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: var(--nf-text) !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.nf-checkout-field-label .required {
  color: #C94A4A !important;
  font-weight: 700 !important;
}

.nf-checkout-field-label .optional {
  font-size: 0.78rem !important;
  font-weight: normal !important;
  color: var(--nf-muted) !important;
  margin-inline-start: 4px !important;
}

.nf-checkout-input,
.nf-checkout-select {
  width: 100% !important;
  height: 48px !important;
  padding: 0 16px !important;
  background-color: var(--nf-white) !important;
  border: 1px solid var(--nf-border) !important;
  border-radius: var(--nf-radius-md) !important;
  font-size: 0.95rem !important;
  color: var(--nf-text) !important;
  transition: border-color var(--nf-transition-fast), box-shadow var(--nf-transition-fast) !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.nf-checkout-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232D4A3E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 16px !important;
  padding-right: 42px !important;
  cursor: pointer !important;
}

[dir="rtl"] .nf-checkout-select,
.rtl .nf-checkout-select {
  background-position: left 16px center !important;
  padding-right: 16px !important;
  padding-left: 42px !important;
}

.nf-checkout-input:focus,
.nf-checkout-select:focus {
  border-color: var(--nf-green-dark) !important;
  box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.12) !important;
}

.nf-checkout-input::placeholder {
  color: var(--nf-muted) !important;
  font-size: 0.9rem !important;
}

/* Contact information container adjustments */
.wc-block-checkout__contact-fields .wc-block-components-checkout-step__content {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
}

/* Step 3: Card Message Step Card */
.nf-checkout-card-message-step {
  background-color: var(--nf-white) !important;
  border: 1px solid var(--nf-border) !important;
  border-radius: var(--nf-radius-lg) !important;
  padding: 24px 28px !important;
  margin-bottom: 24px !important;
  position: relative !important;
  transition: border-color var(--nf-transition-fast), box-shadow var(--nf-transition-fast) !important;
}

.nf-checkout-card-message-step .wc-block-components-checkout-step__heading-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 100% !important;
}

.nf-card-step-title-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
}

.nf-card-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background-color: #F0ECE4 !important;
  color: var(--nf-green-dark) !important;
  flex-shrink: 0 !important;
}

.nf-card-step-title-wrap .wc-block-components-checkout-step__title {
  margin: 0 !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--nf-green-dark) !important;
  font-family: var(--nf-font-serif) !important;
}

.nf-step-badge-optional {
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  color: var(--nf-muted) !important;
  background-color: #F2EFE9 !important;
  padding: 3px 12px !important;
  border-radius: var(--nf-radius-full) !important;
  margin-inline-start: auto !important;
}

.nf-card-message-desc {
  display: block !important;
  width: 100% !important;
  font-size: 0.88rem !important;
  color: var(--nf-text-secondary) !important;
  margin: 8px 0 16px 0 !important;
  line-height: 1.55 !important;
  text-align: start !important;
}

.nf-card-message-textarea-wrap {
  position: relative !important;
  width: 100% !important;
}

.nf-card-message-textarea {
  width: 100% !important;
  min-height: 110px !important;
  padding: 14px 16px !important;
  background-color: #FAF8F5 !important;
  border: 1px solid var(--nf-border) !important;
  border-radius: var(--nf-radius-md) !important;
  font-family: inherit !important;
  font-size: 16px !important;
  color: var(--nf-text) !important;
  line-height: 1.6 !important;
  resize: vertical !important;
  box-sizing: border-box !important;
  outline: none !important;
  transition: border-color var(--nf-transition-fast), background-color var(--nf-transition-fast) !important;
}

.nf-card-message-textarea:focus {
  background-color: var(--nf-white) !important;
  border-color: var(--nf-green-dark) !important;
  box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.12) !important;
}

.nf-card-message-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: 8px !important;
  font-size: 0.82rem !important;
  color: var(--nf-muted) !important;
}

.nf-card-hint {
  color: var(--nf-green-dark) !important;
  font-weight: 500 !important;
}

/* Order Confirmation Page: Florist Gift Card Box */
.nf-order-card-message-box {
  background-color: #FAF8F5 !important;
  border: 1px solid var(--nf-border) !important;
  border-radius: var(--nf-radius-lg) !important;
  padding: 24px 28px !important;
  margin: 28px 0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

.nf-card-message-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: var(--nf-green-dark) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  margin-bottom: 12px !important;
}

.nf-card-message-body {
  position: relative !important;
  padding: 12px 20px !important;
  background: var(--nf-white) !important;
  border: 1px dashed #D4C9BC !important;
  border-radius: var(--nf-radius-md) !important;
}

.nf-card-quote-mark {
  font-family: var(--nf-font-serif) !important;
  font-size: 2rem !important;
  line-height: 1 !important;
  color: var(--nf-gold) !important;
  display: inline-block !important;
}

.nf-card-quote-mark.is-closing {
  float: inline-end !important;
}

.nf-card-message-text {
  font-family: var(--nf-font-serif) !important;
  font-size: 1.15rem !important;
  font-style: italic !important;
  color: var(--nf-green-dark) !important;
  line-height: 1.7 !important;
  margin: 6px 0 !important;
}

.nf-card-message-footer {
  margin-top: 10px !important;
  font-size: 0.82rem !important;
  color: var(--nf-muted) !important;
}

/* ==========================================================================
   Checkout Validation & Error Notification System
   ========================================================================== */

/* 1. Top Checkout Error Banner */
.nf-checkout-error-banner {
  background-color: #FFF5F5 !important;
  border: 1.5px solid #F8D7DA !important;
  border-left: 4px solid #C94A4A !important;
  border-radius: var(--nf-radius-lg) !important;
  padding: 20px 24px !important;
  margin-bottom: 24px !important;
  box-shadow: 0 4px 16px rgba(201, 74, 74, 0.08) !important;
  position: relative !important;
  animation: nfFadeInDown 0.35s ease-out !important;
}

[dir="rtl"] .nf-checkout-error-banner,
.rtl .nf-checkout-error-banner {
  border-left: 1.5px solid #F8D7DA !important;
  border-right: 4px solid #C94A4A !important;
  text-align: right !important;
}

.nf-checkout-error-banner__header {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 8px !important;
}

.nf-checkout-error-banner__icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background-color: #FDE8E8 !important;
  color: #C94A4A !important;
  flex-shrink: 0 !important;
}

.nf-checkout-error-banner__title-group {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.nf-checkout-error-banner__title {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #9B2C2C !important;
}

.nf-checkout-error-banner__count {
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  color: #C94A4A !important;
  background-color: #FDE8E8 !important;
  padding: 2px 10px !important;
  border-radius: var(--nf-radius-full) !important;
}

.nf-checkout-error-banner__intro {
  font-size: 0.92rem !important;
  color: #742A2A !important;
  margin: 4px 0 12px !important;
  line-height: 1.5 !important;
}

.nf-checkout-error-banner__list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 8px 14px !important;
}

.nf-checkout-error-banner__list li {
  margin: 0 !important;
  padding: 0 !important;
}

.nf-checkout-error-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.88rem !important;
  color: #C94A4A !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  padding: 5px 10px !important;
  border-radius: var(--nf-radius-sm) !important;
  background-color: rgba(201, 74, 74, 0.05) !important;
  transition: background-color var(--nf-transition-fast), color var(--nf-transition-fast) !important;
}

.nf-checkout-error-link:hover {
  background-color: #FDE8E8 !important;
  color: #9B2C2C !important;
  text-decoration: none !important;
}

.nf-checkout-error-link .nf-err-text {
  font-weight: 400 !important;
  color: #742A2A !important;
}

.nf-checkout-error-link .nf-err-dot {
  font-size: 0.85rem !important;
}

/* 2. Field Error Indicators */
.nf-checkout-input.is-invalid,
.nf-checkout-select.is-invalid {
  border-color: #C94A4A !important;
  background-color: #FFFDFD !important;
  box-shadow: 0 0 0 3px rgba(201, 74, 74, 0.14) !important;
}

.nf-checkout-input.is-invalid:focus,
.nf-checkout-select.is-invalid:focus {
  border-color: #9B2C2C !important;
  box-shadow: 0 0 0 4px rgba(201, 74, 74, 0.22) !important;
}

.nf-field-error-msg {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  color: #C94A4A !important;
  margin-top: 6px !important;
  line-height: 1.4 !important;
  animation: nfFadeIn 0.25s ease-out !important;
}

.nf-field-error-msg svg {
  flex-shrink: 0 !important;
}

/* 3. Shake animation for attention */
@keyframes nfShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

.nf-input-shake {
  animation: nfShake 0.4s ease-in-out !important;
}

@keyframes nfFadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nfFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}



/* ==========================================================================
   LUXURY EMPTY CART & PRODUCT RECOMMENDATIONS STYLING
   ========================================================================== */

/* 1. Main Cart Page Spacing & Container */
.wp-block-woocommerce-cart {
  padding: 10px 0 60px 0 !important;
}

.wp-block-woocommerce-empty-cart-block {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
}

/* 2. Remove Crying Emoji & Replace with Luxury Floral Badge */
.wc-block-cart__empty-cart__title::before {
  content: "" !important;
  display: flex !important;
  width: 96px !important;
  height: 96px !important;
  margin: 0 auto 24px auto !important;
  border-radius: 50% !important;
  background-color: #FAF6F0 !important;
  border: 1.5px solid rgba(197, 160, 89, 0.45) !important;
  box-shadow: 0 10px 28px rgba(45, 74, 62, 0.08), inset 0 0 0 5px rgba(255, 255, 255, 0.9) !important;
  mask: none !important;
  -webkit-mask: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none'%3E%3Cpath d='M16 18v-4a8 8 0 0 1 16 0v4' stroke='%238C6D3B' stroke-width='2.2' stroke-linecap='round'/%3E%3Crect x='10' y='18' width='28' height='24' rx='6' fill='%23FAF6F0' stroke='%232D4A3E' stroke-width='2'/%3E%3Cpath d='M24 23c-2.4 0-4.2 2.2-4.2 4.8 0 2.8 3.2 5.5 4.2 7.2 1-1.7 4.2-4.4 4.2-7.2 0-2.6-1.8-4.8-4.2-4.8z' fill='%23C5A059' stroke='%238C6D3B' stroke-width='1.2'/%3E%3Ccircle cx='24' cy='27.8' r='1.5' fill='%23FAF6F0'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 50px 50px !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease !important;
}

.wc-block-cart__empty-cart__title:hover::before {
  transform: scale(1.08) rotate(3deg) !important;
  box-shadow: 0 14px 34px rgba(197, 160, 89, 0.22), inset 0 0 0 5px rgba(255, 255, 255, 0.95) !important;
}

/* 3. Empty Cart Notice Hero Card - Top Half */
.wc-block-cart__empty-cart__title {
  max-width: 680px !important;
  margin: 20px auto 0 auto !important;
  background: #FCFAF7 !important;
  border: 1px solid #ECE3D6 !important;
  border-bottom: none !important;
  border-radius: 24px 24px 0 0 !important;
  padding: 48px 40px 14px 40px !important;
  box-shadow: 0 8px 30px rgba(45, 74, 62, 0.04) !important;
  font-family: var(--nf-font-serif, "Cormorant Garamond", Georgia, serif) !important;
  font-size: 2.35rem !important;
  font-weight: 600 !important;
  color: #2D4A3E !important;
  text-align: center !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em !important;
  box-sizing: border-box !important;
}

/* Subtitle under "Your cart is currently empty!" */
.wc-block-cart__empty-cart__title::after {
  content: "Your shopping bag is currently waiting for its first bloom. Explore our handcrafted bouquets and timeless botanical arrangements." !important;
  display: block !important;
  font-family: var(--nf-font-sans, "Outfit", -apple-system, sans-serif) !important;
  font-size: 1.02rem !important;
  font-weight: 400 !important;
  color: #6B726F !important;
  margin-top: 14px !important;
  line-height: 1.6 !important;
  letter-spacing: 0 !important;
  max-width: 520px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 4. Empty Cart Notice Hero Card - Bottom Half (Button container) */
.wp-block-woocommerce-empty-cart-block > p:has(a),
.wc-block-cart__empty-cart__title + p {
  max-width: 680px !important;
  margin: 0 auto 50px auto !important;
  background: #FCFAF7 !important;
  border: 1px solid #ECE3D6 !important;
  border-top: none !important;
  border-radius: 0 0 24px 24px !important;
  padding: 8px 40px 48px 40px !important;
  box-shadow: 0 8px 30px rgba(45, 74, 62, 0.04) !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

/* 5. Luxury Pill Button (Browse store -> Explore Collections) */
.wp-block-woocommerce-empty-cart-block > p a,
.wc-block-cart__empty-cart__title + p a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  background: linear-gradient(135deg, #2D4A3E 0%, #1A3429 100%) !important;
  color: #FFFFFF !important;
  font-family: var(--nf-font-sans, "Outfit", -apple-system, sans-serif) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 16px 42px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  box-shadow: 0 10px 26px rgba(45, 74, 62, 0.22) !important;
  border: 1px solid rgba(212, 175, 55, 0.4) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.wp-block-woocommerce-empty-cart-block > p a:hover,
.wc-block-cart__empty-cart__title + p a:hover {
  background: linear-gradient(135deg, #1C332A 0%, #11231B 100%) !important;
  color: #FAF4EE !important;
  border-color: #D4AF37 !important;
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 16px 36px rgba(45, 74, 62, 0.32) !important;
}

.wp-block-woocommerce-empty-cart-block > p a::after,
.wc-block-cart__empty-cart__title + p a::after {
  content: "→" !important;
  font-size: 1.25rem !important;
  line-height: 1 !important;
  transition: transform 0.3s ease !important;
}

.wp-block-woocommerce-empty-cart-block > p a:hover::after,
.wc-block-cart__empty-cart__title + p a:hover::after {
  transform: translateX(5px) !important;
}

/* 6. Remove Awkward Dots Separator */
.wp-block-woocommerce-empty-cart-block hr.wp-block-separator,
.wp-block-woocommerce-empty-cart-block .is-style-dots,
.wp-block-separator.is-style-dots {
  display: none !important;
}

/* 7. "New in store" Section Heading */
.wp-block-woocommerce-empty-cart-block > h2:not(.wc-block-cart__empty-cart__title),
.wp-block-woocommerce-cart h2.has-text-align-center:not(.wc-block-cart__empty-cart__title) {
  font-family: var(--nf-font-serif, "Cormorant Garamond", Georgia, serif) !important;
  font-size: 2.2rem !important;
  font-weight: 600 !important;
  color: #2D4A3E !important;
  letter-spacing: -0.01em !important;
  margin: 50px auto 32px auto !important;
  text-align: center !important;
  position: relative !important;
  padding-bottom: 14px !important;
}

.wp-block-woocommerce-empty-cart-block > h2:not(.wc-block-cart__empty-cart__title)::before,
.wp-block-woocommerce-cart h2.has-text-align-center:not(.wc-block-cart__empty-cart__title)::before {
  content: "🌸 CURATED SEASONAL BLOOMS" !important;
  display: block !important;
  font-family: var(--nf-font-sans, "Outfit", -apple-system, sans-serif) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #8C6D3B !important;
  margin-bottom: 10px !important;
}

.wp-block-woocommerce-empty-cart-block > h2:not(.wc-block-cart__empty-cart__title)::after,
.wp-block-woocommerce-cart h2.has-text-align-center:not(.wc-block-cart__empty-cart__title)::after {
  content: "" !important;
  display: block !important;
  width: 56px !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, #C5A059, transparent) !important;
  margin: 12px auto 0 auto !important;
}

/* 8. Luxury Product Cards Grid */
.wp-block-woocommerce-empty-cart-block .wc-block-grid__products,
.wp-block-woocommerce-cart .wc-block-grid__products,
.wp-block-product-new .wc-block-grid__products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 auto 50px auto !important;
  max-width: 1200px !important;
}

@media (max-width: 991px) and (min-width: 769px) {
  .wp-block-woocommerce-empty-cart-block .wc-block-grid__products,
  .wp-block-woocommerce-cart .wc-block-grid__products,
  .wp-block-product-new .wc-block-grid__products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
  }
}

@media (max-width: 768px) {
  .wp-block-woocommerce-empty-cart-block .wc-block-grid__products,
  .wp-block-woocommerce-cart .wc-block-grid__products,
  .wp-block-product-new .wc-block-grid__products {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 14px !important;
    padding: 6px 16px 18px 16px !important;
    margin: 0 -16px 40px -16px !important;
    scrollbar-width: none !important;
  }

  .wp-block-woocommerce-empty-cart-block .wc-block-grid__products::-webkit-scrollbar,
  .wp-block-woocommerce-cart .wc-block-grid__products::-webkit-scrollbar,
  .wp-block-product-new .wc-block-grid__products::-webkit-scrollbar {
    display: none !important;
  }

  .wp-block-woocommerce-empty-cart-block .wc-block-grid__product,
  .wp-block-woocommerce-cart .wc-block-grid__product,
  .wp-block-product-new .wc-block-grid__product {
    flex: 0 0 clamp(180px, 58vw, 220px) !important;
    max-width: clamp(180px, 58vw, 220px) !important;
    width: clamp(180px, 58vw, 220px) !important;
    min-width: clamp(180px, 58vw, 220px) !important;
    scroll-snap-align: start !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .wc-block-cart__empty-cart__title {
    font-size: 1.85rem !important;
    padding: 36px 20px 10px 20px !important;
  }
  .wp-block-woocommerce-empty-cart-block > p:has(a),
  .wc-block-cart__empty-cart__title + p {
    padding: 8px 20px 36px 20px !important;
  }
  .wp-block-woocommerce-empty-cart-block > p a,
  .wc-block-cart__empty-cart__title + p a {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product,
.wp-block-woocommerce-cart .wc-block-grid__product,
.wp-block-product-new .wc-block-grid__product {
  background: #FFFFFF !important;
  border: 1px solid rgba(226, 219, 209, 0.85) !important;
  border-radius: 20px !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 18px rgba(45, 74, 62, 0.04) !important;
  box-sizing: border-box !important;
  position: relative !important;
  margin: 0 !important;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product:hover,
.wp-block-woocommerce-cart .wc-block-grid__product:hover,
.wp-block-product-new .wc-block-grid__product:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 36px rgba(45, 74, 62, 0.12) !important;
  border-color: rgba(197, 160, 89, 0.65) !important;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-link,
.wp-block-woocommerce-cart .wc-block-grid__product-link,
.wp-block-product-new .wc-block-grid__product-link {
  text-decoration: none !important;
  color: inherit !important;
  display: block !important;
  width: 100% !important;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image,
.wp-block-woocommerce-cart .wc-block-grid__product-image,
.wp-block-product-new .wc-block-grid__product-image {
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #FAF7F2 !important;
  aspect-ratio: 1 / 1 !important;
  width: 100% !important;
  margin-bottom: 14px !important;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image img,
.wp-block-woocommerce-cart .wc-block-grid__product-image img,
.wp-block-product-new .wc-block-grid__product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product:hover .wc-block-grid__product-image img,
.wp-block-woocommerce-cart .wc-block-grid__product:hover .wc-block-grid__product-image img,
.wp-block-product-new .wc-block-grid__product:hover .wc-block-grid__product-image img {
  transform: scale(1.07) !important;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title,
.wp-block-woocommerce-cart .wc-block-grid__product-title,
.wp-block-product-new .wc-block-grid__product-title {
  font-family: var(--nf-font-serif, "Cormorant Garamond", Georgia, serif) !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: #2D4A3E !important;
  line-height: 1.3 !important;
  margin: 4px 0 8px 0 !important;
  transition: color 0.25s ease !important;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product:hover .wc-block-grid__product-title,
.wp-block-woocommerce-cart .wc-block-grid__product:hover .wc-block-grid__product-title,
.wp-block-product-new .wc-block-grid__product:hover .wc-block-grid__product-title {
  color: #8C6D3B !important;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price,
.wp-block-woocommerce-cart .wc-block-grid__product-price,
.wp-block-product-new .wc-block-grid__product-price,
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price .woocommerce-Price-amount,
.wp-block-woocommerce-cart .wc-block-grid__product-price .woocommerce-Price-amount,
.wp-block-product-new .wc-block-grid__product-price .woocommerce-Price-amount {
  font-family: var(--nf-font-sans, "Outfit", -apple-system, sans-serif) !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  color: #8C6D3B !important;
  margin-bottom: 14px !important;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart,
.wp-block-woocommerce-cart .wc-block-grid__product-add-to-cart,
.wp-block-product-new .wc-block-grid__product-add-to-cart {
  margin-top: auto !important;
  width: 100% !important;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart a.wp-block-button__link,
.wp-block-woocommerce-cart .wc-block-grid__product-add-to-cart a.wp-block-button__link,
.wp-block-product-new .wc-block-grid__product-add-to-cart a.wp-block-button__link,
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .button,
.wp-block-woocommerce-cart .wc-block-grid__product-add-to-cart .button,
.wp-block-product-new .wc-block-grid__product-add-to-cart .button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  padding: 11px 16px !important;
  font-family: var(--nf-font-sans, "Outfit", -apple-system, sans-serif) !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  color: #2D4A3E !important;
  background: #FAF7F2 !important;
  border: 1.5px solid #2D4A3E !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart a.wp-block-button__link:hover,
.wp-block-woocommerce-cart .wc-block-grid__product-add-to-cart a.wp-block-button__link:hover,
.wp-block-product-new .wc-block-grid__product-add-to-cart a.wp-block-button__link:hover,
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .button:hover,
.wp-block-woocommerce-cart .wc-block-grid__product-add-to-cart .button:hover,
.wp-block-product-new .wc-block-grid__product-add-to-cart .button:hover {
  background: #2D4A3E !important;
  color: #FFFFFF !important;
  border-color: #2D4A3E !important;
  box-shadow: 0 6px 18px rgba(45, 74, 62, 0.22) !important;
  transform: translateY(-1px) !important;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE ENHANCEMENTS
   ========================================================================== */

/* 1. Global Touch Input Standards (Prevent iOS Safari Auto-Zoom) */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="search"],
  input[type="number"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* 2. Single Product Page Mobile Optimization */
@media (max-width: 768px) {
  .nf-single-grid {
    gap: 28px !important;
    margin-bottom: 36px !important;
  }

  .nf-single-category-tag {
    text-align: center !important;
    width: 100% !important;
  }

  .nf-single-title {
    font-size: clamp(2.1rem, 7vw, 2.55rem) !important;
    line-height: 1.2 !important;
    text-align: center !important;
    width: 100% !important;
    margin-top: 6px !important;
    margin-bottom: 24px !important;
  }

  .nf-gallery-thumbs {
    gap: 8px !important;
    margin-top: 10px !important;
  }

  .nf-gallery-thumb {
    width: 62px !important;
    height: 62px !important;
    border-radius: var(--nf-radius-sm) !important;
  }

  .nf-single-price {
    font-size: 1.45rem !important;
  }

  .nf-single-desc {
    font-size: 0.92rem !important;
    line-height: 1.65 !important;
    margin-bottom: 20px !important;
  }

  .nf-single-cart-form form.cart {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    gap: 24px !important;
  }

  /* Compact Refined Quantity Stepper on Mobile */
  .nf-single-cart-form .quantity,
  .quantity.nf-quantity-stepper {
    height: 42px !important;
    max-height: 42px !important;
    flex: none !important;
    margin: 0 auto !important;
    align-self: center !important;
    padding: 0 4px !important;
    border-radius: var(--nf-radius-full, 9999px) !important;
  }

  .nf-single-cart-form .quantity .nf-qty-btn,
  .quantity.nf-quantity-stepper .nf-qty-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    font-size: 0.9rem !important;
  }

  .nf-single-cart-form .quantity .nf-qty-btn svg,
  .quantity.nf-quantity-stepper .nf-qty-btn svg {
    width: 11px !important;
    height: 11px !important;
  }

  .nf-single-cart-form .quantity .qty,
  .quantity.nf-quantity-stepper input.qty {
    font-size: 0.95rem !important;
    width: 38px !important;
    height: 36px !important;
  }

  .woocommerce div.product form.cart .button,
  .woocommerce button.button.alt.single_add_to_cart_button,
  .woocommerce button.button.single_add_to_cart_button,
  .single_add_to_cart_button {
    width: 100% !important;
    flex: none !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 28px !important;
    font-family: var(--nf-font-sans, "Outfit", sans-serif) !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    line-height: 50px !important;
    border-radius: var(--nf-radius-full, 9999px) !important;
    background-color: var(--nf-green-dark, #2D4A3E) !important;
    border: 1.5px solid var(--nf-green-dark, #2D4A3E) !important;
    color: #FFFFFF !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 18px rgba(45, 74, 62, 0.22) !important;
  }

  /* Variation tables stack vertically */
  .nf-single-cart-form table.variations,
  .nf-single-cart-form table.variations tbody,
  .nf-single-cart-form table.variations tr,
  .nf-single-cart-form table.variations td {
    display: block !important;
    width: 100% !important;
    padding: 4px 0 !important;
  }

  .nf-single-cart-form table.variations td.label {
    margin-bottom: 4px !important;
    font-size: 0.8rem !important;
  }

  .nf-single-cart-form table.variations td.value select {
    max-width: 100% !important;
    width: 100% !important;
    height: 44px !important;
  }

  /* Actions row */
  .nf-single-actions-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 26px !important;
    margin-bottom: 24px !important;
    align-items: center !important;
  }

  .nf-single-wishlist-btn.nf-wishlist-btn {
    width: auto !important;
    max-width: max-content !important;
    min-width: 180px !important;
    padding: 0 26px !important;
    height: 48px !important;
    margin: 0 auto !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: var(--nf-radius-full, 9999px) !important;
  }

  .nf-single-whatsapp-inquire {
    width: 100% !important;
    justify-content: center !important;
    min-height: 50px !important;
    height: 50px !important;
    border-radius: var(--nf-radius-full, 9999px) !important;
  }

  .nf-single-perks-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* 3. Cart Mobile Optimization */
@media (max-width: 768px) {
  .wc-block-cart .wc-block-components-sidebar-layout,
  .wp-block-woocommerce-cart .wc-block-components-sidebar-layout {
    gap: 20px !important;
  }

  .wc-block-cart .wc-block-cart__main,
  .wc-block-cart .wc-block-components-main,
  .wp-block-woocommerce-cart .wc-block-components-main {
    padding: 16px 14px !important;
    border-radius: var(--nf-radius-md) !important;
    overflow: hidden !important;
  }

  .wc-block-cart .wc-block-cart__sidebar,
  .wc-block-cart .wc-block-components-sidebar,
  .wp-block-woocommerce-cart .wc-block-components-sidebar {
    padding: 20px 16px !important;
    border-radius: var(--nf-radius-md) !important;
  }

  /* Cart Table & Item Row Container */
  .wc-block-cart-items,
  .wc-block-cart-items thead,
  .wc-block-cart-items tbody {
    display: block !important;
    width: 100% !important;
  }

  .wc-block-cart-items thead {
    display: none !important;
  }

  .wc-block-cart-items__row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid var(--nf-border-light) !important;
  }

  /* Product Thumbnail */
  .wc-block-cart-item__image {
    width: 75px !important;
    max-width: 75px !important;
    flex: 0 0 75px !important;
    margin-right: 12px !important;
    padding: 0 !important;
  }

  .wc-block-cart-item__image img {
    width: 75px !important;
    height: 75px !important;
    object-fit: cover !important;
    border-radius: var(--nf-radius-md) !important;
    border: 1px solid var(--nf-border) !important;
  }

  /* Product Details Wrap */
  .wc-block-cart-item__product {
    flex: 1 1 calc(100% - 90px) !important;
    min-width: 0 !important;
    padding: 0 !important;
    position: static !important;
  }

  .wc-block-cart-item__product .wc-block-components-product-name,
  .wc-block-cart-item__product a.wc-block-components-product-name,
  .wc-block-cart-item__product .wc-block-cart-item__title {
    padding-right: 95px !important;
    display: inline-block !important;
    font-size: 1.08rem !important;
    font-family: var(--nf-font-serif, "Cormorant Garamond", Georgia, serif) !important;
    font-weight: 600 !important;
    color: var(--nf-green-dark) !important;
    line-height: 1.25 !important;
  }

  /* Subtotal Perfectly Positioned Inside the Card */
  .wc-block-cart-item__total {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    position: absolute !important;
    top: 16px !important;
    right: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: right !important;
    white-space: nowrap !important;
    width: auto !important;
    max-width: 95px !important;
  }

  .wc-block-cart-item__total .wc-block-components-formatted-money-amount,
  .wc-block-cart-item__total .woocommerce-Price-amount {
    font-family: var(--nf-font-sans, "Outfit", -apple-system, sans-serif) !important;
    font-size: 1.08rem !important;
    font-weight: 700 !important;
    color: var(--nf-green-dark) !important;
    letter-spacing: -0.01em !important;
  }

  .wc-proceed-to-checkout .checkout-button,
  a.checkout-button {
    height: 50px !important;
    font-size: 0.95rem !important;
  }
}

/* 4. Checkout Mobile Optimization */
@media (max-width: 768px) {
  .wc-block-checkout .wc-block-components-sidebar-layout,
  form.woocommerce-checkout {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .wc-block-checkout .wc-block-checkout__sidebar,
  .wc-block-checkout .wc-block-components-sidebar,
  .wp-block-woocommerce-checkout .wc-block-components-sidebar {
    padding: 20px 16px !important;
    border-radius: var(--nf-radius-md) !important;
  }

  .wc-block-checkout .wc-block-components-checkout-place-order-button,
  #place_order {
    width: 100% !important;
    min-height: 52px !important;
    font-size: 1rem !important;
  }

  .wc-block-checkout .wc-block-components-checkout-step {
    padding: 16px 12px !important;
  }

  /* Prevent iOS Mobile Safari Auto-Zoom and Horizontal Scroll on Focus */
  .woocommerce-checkout input,
  .woocommerce-checkout select,
  .woocommerce-checkout textarea,
  .wc-block-checkout input,
  .wc-block-checkout select,
  .wc-block-checkout textarea,
  .nf-card-message-textarea,
  .wc-block-checkout__order-notes textarea,
  .wc-block-components-checkout-step__container textarea,
  #order_comments,
  .wc-block-components-textarea {
    font-size: 16px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* ==========================================================================
   4B-4. PAYMENT GATEWAYS & PAYMOB LUXURY COMPATIBILITY FIX
   Permanently neutralizes Paymob's runtime dynamic CSS injection (.wc-block-components-main { width: 0 !important; })
   and delivers 100% full-width, clean responsive alignment on Desktop, Tablet & Mobile.
   ========================================================================== */
html body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
html body .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
html body .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
html body .wc-block-checkout .wc-block-checkout__main,
html body .wc-block-checkout .wc-block-components-main,
.wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
.wc-block-checkout .wc-block-components-main {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  flex: 1 1 100% !important;
  box-sizing: border-box !important;
}

/* 1. Payment Options Step Container & Methods List */
.wc-block-checkout .wc-block-components-checkout-step,
.wc-block-checkout .wc-block-checkout__payment-method,
.wc-block-checkout .wc-block-checkout__payment-methods,
.wc-block-checkout .wc-block-components-radio-control-accordion-option,
.wc-block-checkout #payment,
.wc-block-checkout #paymob-elements,
[id*="paymob"],
[class*="paymob"],
.payment_box.payment_method_paymob {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* 2. Radio Option Card Header & Brand Logo */
.wc-block-checkout .wc-block-components-radio-control-accordion-option {
  width: 100% !important;
  box-sizing: border-box !important;
}

.wc-block-checkout .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
}

#paymob-pixel-logo,
#paymob-logo,
.payment_method_paymob img,
.wc-block-components-radio-control__option img {
  max-height: 24px !important;
  width: auto !important;
  object-fit: contain !important;
  margin-left: auto !important;
}

[dir="rtl"] #paymob-pixel-logo,
[dir="rtl"] #paymob-logo,
[dir="rtl"] .payment_method_paymob img,
[dir="rtl"] .wc-block-components-radio-control__option img {
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* 3. Accordion Content & Form Body (Balanced spacing for embedded card forms) */
.wc-block-checkout .wc-block-components-radio-control-accordion-content {
  padding: 18px 20px 20px 20px !important;
  margin: 0 16px 16px 16px !important;
  width: calc(100% - 32px) !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

[dir="rtl"] .wc-block-checkout .wc-block-components-radio-control-accordion-content {
  padding: 18px 20px 20px 20px !important;
}

@media (max-width: 768px) {
  .wc-block-checkout .wc-block-components-radio-control-accordion-content {
    padding: 14px 12px 16px 12px !important;
    margin: 0 8px 12px 8px !important;
    width: calc(100% - 16px) !important;
  }
}

/* 4. Paymob Container & Embedded Frames */
#paymob-elements {
  margin-top: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

#paymob-elements iframe {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  border: none !important;
  box-sizing: border-box !important;
}

/* 5. Luxury Input Styling for Payment Form Fields */
#paymob-elements input,
#paymob-elements select,
.payment_box input[type="text"],
.payment_box input[type="tel"],
.payment_box select {
  height: 48px !important;
  border-radius: var(--nf-radius-md) !important;
  border: 1.5px solid var(--nf-border) !important;
  background-color: #FAF8F5 !important;
  font-family: inherit !important;
  font-size: 0.95rem !important;
  color: var(--nf-text) !important;
  padding: 10px 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: all var(--nf-transition-fast) !important;
}

#paymob-elements input:focus,
#paymob-elements select:focus,
.payment_box input[type="text"]:focus,
.payment_box input[type="tel"]:focus,
.payment_box select:focus {
  border-color: var(--nf-green-dark) !important;
  background-color: var(--nf-white) !important;
  box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.12) !important;
  outline: none !important;
}

/* Checkbox alignment for Paymob save card option */
#paymob-elements label,
.wc-block-components-radio-control-accordion-content label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.88rem !important;
  color: var(--nf-text) !important;
  margin-top: 8px !important;
}

/* Ensure Place Order Button remains fully enabled and active under all payment methods */
.wc-block-checkout .wc-block-components-checkout-place-order-button:not(.wc-block-components-checkout-place-order-button--loading):not(.paymob-processing),
.wc-block-checkout .wc-block-checkout__actions button[type="submit"]:not(.wc-block-components-checkout-place-order-button--loading):not(.paymob-processing),
#place_order:not(.wc-block-components-checkout-place-order-button--loading):not(.paymob-processing) {
  opacity: 1 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  background-color: var(--nf-green-dark) !important;
  color: var(--nf-white) !important;
}
