/**
 * Mobile Header Fix
 * - Logo left, actions right (lang, search, account, wishlist, cart)
 * - Search becomes magnifying glass icon on mobile
 * - Tap icon → opens search panel below header
 * - Nav: horizontal scroll, hidden scrollbar
 * Desktop unchanged
 */

/* ============================================
   Mobile Search Toggle Button (hidden on desktop)
   ============================================ */

.stitch-mobile-search-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: none;
  color: #2D2A27;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  position: relative;
  z-index: 10;
  -webkit-tap-highlight-color: rgba(76, 99, 88, 0.15);
  touch-action: manipulation;
}

.stitch-mobile-search-toggle:hover,
.stitch-mobile-search-toggle:focus,
.stitch-mobile-search-toggle:active {
  background: rgba(76, 99, 88, 0.08);
  color: #4C6358;
  outline: none;
}

.stitch-mobile-search-toggle svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.2;
  pointer-events: none; /* clicks land on the button, not the svg */
}

/* Mobile search close button (inside panel) */
.stitch-mobile-search-close {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: none;
  color: #6B6661;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: rgba(76, 99, 88, 0.15);
  touch-action: manipulation;
}

.stitch-mobile-search-close:hover,
.stitch-mobile-search-close:active {
  background: rgba(76, 99, 88, 0.08);
  color: #4C6358;
}

.stitch-mobile-search-close svg {
  pointer-events: none;
}

/* ============================================
   Header positioning for mobile search panel
   ============================================ */

.stitch-header {
  position: sticky;
  z-index: 1000;
}

/* ============================================
   MOBILE (<= 767px)
   ============================================ */

@media (max-width: 767px) {
  /* Show mobile search toggle */
  .stitch-mobile-search-toggle {
    display: inline-flex !important;
  }

  /* Override lula-complete-fix.css `display: none !important` that hides .stitch-search on mobile.
     Position search panel below header but invisible by default. */
  .stitch-header .stitch-search {
    display: flex !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    padding: 12px 16px 16px 16px !important;
    background: #fff8f3 !important;
    border-top: 1px solid #E8E0D8 !important;
    box-shadow: 0 8px 16px rgba(45, 42, 39, 0.06) !important;
    margin: 0 !important;
    z-index: 999 !important;
    align-items: center !important;
    gap: 10px !important;

    /* Hidden by default - slide down animation */
    transform: translateY(-12px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0s 0.25s !important;
  }

  /* When open: show search panel */
  .stitch-header.is-mobile-search-open .stitch-search {
    display: flex !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0s 0s !important;
  }

  /* Show the close button inside open panel */
  .stitch-header.is-mobile-search-open .stitch-mobile-search-close {
    display: inline-flex !important;
  }

  /* Search form takes remaining width inside the open panel */
  .stitch-header .stitch-search > form,
  .stitch-header .stitch-search > .lula-search-wrapper,
  .stitch-header .stitch-search > .input-group {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
  }

  /* Header content grid for mobile: logo | actions */
  .stitch-header-content {
    grid-template-columns: auto 1fr !important;
    gap: 12px !important;
  }

  /* Actions right-aligned, source order preserved (lang → search → account → wishlist → cart) */
  .stitch-actions {
    justify-self: end;
    gap: 4px !important;
    flex-wrap: nowrap;
  }

  /* Smaller icon buttons on mobile */
  .stitch-icon-link {
    width: 36px !important;
    height: 36px !important;
  }

  .stitch-icon-link svg {
    width: 18px;
    height: 18px;
  }

  .stitch-lang-toggle {
    padding: 4px 8px !important;
    font-size: 12px !important;
  }

  /* Logo proper mobile size */
  .stitch-logo-img {
    height: 44px !important;
  }

  .stitch-lang-toggle .stitch-lang-current {
    font-size: 12px;
  }

  /* Search input/icon sizing inside mobile panel */
  .stitch-header.is-mobile-search-open .lula-search-icon {
    width: 20px !important;
    height: 20px !important;
  }

  .stitch-header.is-mobile-search-open .stitch-search input[name="search"] {
    height: 44px;
    padding-left: 48px !important;
    font-size: 16px; /* prevent iOS zoom */
  }

  /* Dropdown attached to search inside panel */
  .stitch-header.is-mobile-search-open .lula-search-dropdown {
    z-index: 9999 !important;
  }
}

/* ============================================
   Very narrow phones (≤ 360px)
   ============================================ */

@media (max-width: 360px) {
  .stitch-actions {
    gap: 2px !important;
  }

  .stitch-icon-link {
    width: 32px !important;
    height: 32px !important;
  }

  .stitch-icon-link svg {
    width: 16px;
    height: 16px;
  }

  .stitch-mobile-search-toggle {
    width: 32px;
    height: 32px;
  }

  .stitch-mobile-search-toggle svg {
    width: 18px;
    height: 18px;
  }

  .stitch-lang-toggle {
    padding: 4px 6px !important;
    gap: 4px !important;
  }

  .stitch-logo-img {
    height: 40px !important;
  }
}

/* ============================================
   Mobile Navigation - Horizontal Scroll
   ============================================ */

/* LULA-FIX 2026-05-17: hide horizontal .stitch-nav on mobile — duplicate
   of the vertical .stitch-mobile-nav accordion. The accordion is better
   UX on small screens because it exposes subcategories. */
@media (max-width: 991px) {
  .stitch-nav {
    display: none !important;
  }
}

/* ============================================
   Prevent body horizontal overflow
   ============================================ */

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Lock body scroll when mobile search is open */
body.lula-mobile-search-open {
  overflow-y: auto; /* keep page scrolling, just lock x */
}

/* ============================================
   LULA-MOBILE-NAV 2026-05-20 — TWO-ROW WRAP layout (replaces 05-19 scroll variant).
   Operator feedback: horizontal scroll worked, but two rows feel more native
   on mobile + show all categories upfront without swipe. Body still has
   overflow-x:hidden; no body scroll.
   ============================================ */
@media (max-width: 991px) {
  .stitch-mobile-nav {
    position: relative;
    background: var(--stitch-cream);
    border-top: 1px solid rgba(232, 217, 200, 0.4);
    border-bottom: 1px solid rgba(232, 217, 200, 0.4);
  }
  .stitch-mobile-nav-bar {
    display: flex;
    flex-wrap: wrap;              /* TWO ROWS — wrap when items don't fit */
    justify-content: center;
    align-items: center;
    gap: 6px 14px;                /* row-gap / column-gap */
    padding: 10px 12px;
    overflow: visible;            /* dropdowns can escape vertically */
  }
  .stitch-mobile-nav-bar > * { flex-shrink: 0; }

  /* Chip styling — clean and modern */
  .stitch-mobile-nav-link,
  .stitch-mobile-nav-group > summary {
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    color: var(--stitch-text);
    text-transform: uppercase;
    letter-spacing: 0.2px;
    white-space: nowrap;
    padding: 8px 0;
    cursor: pointer;
    list-style: none;             /* hide default <summary> marker */
  }
  .stitch-mobile-nav-group > summary::-webkit-details-marker { display: none; }
  .stitch-mobile-nav-group > summary::marker { content: ""; }

  /* Chevron hint after items with submenu */
  .stitch-mobile-nav-group > summary::after {
    content: "";
    display: inline-block;
    width: 6px; height: 6px;
    margin-left: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.15s ease;
    vertical-align: middle;
  }
  .stitch-mobile-nav-group[open] > summary::after {
    transform: translateY(1px) rotate(-135deg);
  }

  .stitch-mobile-nav-link.stitch-nav-sale,
  .stitch-mobile-nav-group.stitch-nav-sale > summary { color: var(--stitch-rose); }

  /* Submenu — open BELOW the bar, full width, not affected by scroll */
  .stitch-mobile-nav-group[open] > .stitch-mobile-nav-dropdown {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--stitch-white);
    border-bottom: 1px solid rgba(232, 217, 200, 0.4);
    padding: 12px 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
    max-height: 60vh;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(107, 102, 97, 0.08);
  }
  .stitch-mobile-nav-sub {
    font-size: 13px;
    color: var(--stitch-text);
    padding: 6px 0;
    display: block;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .stitch-mobile-nav-sub-all {
    font-weight: 600;
    color: var(--stitch-sage);
    grid-column: 1 / -1;
    border-bottom: 1px solid rgba(232, 217, 200, 0.4);
    padding-bottom: 8px;
    margin-bottom: 4px;
  }
}

/* Tighter spacing on the smallest viewports */
@media (max-width: 380px) {
  .stitch-mobile-nav-bar {
    gap: 14px;
    padding: 10px 12px;
  }
  .stitch-mobile-nav-link,
  .stitch-mobile-nav-group > summary {
    font-size: 12px;
  }
}

/* LULA-MOBILE-NAV 2026-05-19 — hide mobile nav strip on desktop.
   Pre-fix, .stitch-mobile-nav was in the DOM at all viewports with no
   explicit hide rule. Now that the strip has visible chip styling at
   ≤991, ensure it does NOT bleed into desktop ≥992. */
@media (min-width: 992px) {
  .stitch-mobile-nav { display: none !important; }
}

/* ============================================
   LULA-HOMEPAGE-SPACING 2026-05-20 — mobile breathing room
   Operator feedback: section headings ("Rinkitės pagal kategoriją",
   "Mūsų pasirinkimai") sat too close to the grids below. Add
   vertical air above + below on mobile. Desktop unchanged.
   ============================================ */
@media (max-width: 991px) {
  /* Generic centered section title (Categories section, Needs section) */
  .lula-section-title {
    text-align: center;
    margin: 16px auto 28px !important;
    padding: 0 12px;
    line-height: 1.25;
  }
  /* Products section header used for flex justify-between on desktop;
     center it on mobile and add breathing room */
  .lula-products-header {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px !important;
  }
  .lula-products-header .lula-section-title { margin: 12px 0 8px !important; }
  /* More vertical padding around the section as a whole */
  .lula-categories-section,
  .lula-needs-section,
  .lula-products-section {
    padding: 36px 0 !important;
  }
}
@media (max-width: 575px) {
  .lula-section-title { font-size: 24px; margin: 12px auto 22px !important; }
  .lula-categories-section,
  .lula-needs-section,
  .lula-products-section { padding: 28px 0 !important; }
}

/* ============================================
   LULA-ROUND2-HOMEPAGE 2026-05-20 — strengthen E + add picks section
   Round 1 missed .lula-picks-section ("Mūsų pasirinkimai") AND used
   text-align:center but desktop base CSS already had it. Strengthen
   with higher specificity + add picks-section padding. Apply at
   ALL viewports, not just mobile, since centering should be uniform.
   ============================================ */
.lula-section-title {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  display: block !important;
}
.lula-categories-section,
.lula-needs-section,
.lula-products-section,
.lula-picks-section {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}
.lula-categories-section .lula-section-title,
.lula-picks-section .lula-section-title {
  margin-top: 8px !important;
  margin-bottom: 28px !important;
}
@media (max-width: 991px) {
  .lula-picks-section { padding: 36px 0 !important; }
  .lula-picks-section .lula-section-title {
    margin-top: 4px !important;
    margin-bottom: 22px !important;
  }
}
@media (max-width: 575px) {
  .lula-picks-section { padding: 28px 0 !important; }
}

/* ============================================
   LULA-QTY-STEPPER 2026-05-20 — D: rounded pill quantity stepper
   Apply to product page (.lula-quantity-group + .lula-quantity-input)
   AND quickview modal (.lula-qty-input).
   ============================================ */
.lula-quantity-group,
.lula-qv-quantity {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ede3d7;
  border-radius: 999px;
  padding: 4px;
  gap: 0;
  height: 44px;
  box-shadow: 0 1px 2px rgba(107, 102, 97, 0.04);
}
.lula-quantity-group .lula-quantity-btn,
.lula-quantity-group button[data-qty-action],
.lula-quantity-group .qty-minus,
.lula-quantity-group .qty-plus,
.lula-qv-quantity .lula-qv-qty-btn,
.lula-qv-quantity button[data-qty-action] {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #4c6358;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s ease, transform 0.1s ease;
  -webkit-tap-highlight-color: rgba(76, 99, 88, 0.15);
}
.lula-quantity-group .lula-quantity-btn:hover,
.lula-quantity-group button[data-qty-action]:hover,
.lula-quantity-group .qty-minus:hover,
.lula-quantity-group .qty-plus:hover,
.lula-qv-quantity .lula-qv-qty-btn:hover,
.lula-qv-quantity button[data-qty-action]:hover {
  background: rgba(76, 99, 88, 0.08);
}
.lula-quantity-group .lula-quantity-btn:active,
.lula-quantity-group button[data-qty-action]:active {
  transform: scale(0.94);
}
.lula-quantity-input,
.lula-qty-input,
.lula-qv-qty {
  width: 48px !important;
  height: 36px;
  text-align: center;
  border: none !important;
  background: transparent !important;
  font-size: 16px;
  font-weight: 600;
  color: #2d2a27;
  padding: 0 !important;
  -moz-appearance: textfield;
}
.lula-quantity-input::-webkit-inner-spin-button,
.lula-quantity-input::-webkit-outer-spin-button,
.lula-qty-input::-webkit-inner-spin-button,
.lula-qty-input::-webkit-outer-spin-button,
.lula-qv-qty::-webkit-inner-spin-button,
.lula-qv-qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.lula-quantity-input:focus,
.lula-qty-input:focus,
.lula-qv-qty:focus {
  outline: 0;
  background: rgba(76, 99, 88, 0.04) !important;
  border-radius: 12px;
}

/* Cart-list quantity stepper (uses Bootstrap input-group) — soften it */
.cart-row .input-group .form-control,
.cart-row input[type="number"],
.lula-cart-row input[name="quantity"] {
  border-radius: 8px !important;
  border-color: #ede3d7 !important;
  text-align: center;
}

/* ============================================
   LULA-ROUND3 2026-05-20 — REAL BROWSER FIXES.
   These selectors target the ACTUAL DOM classes (verified by reading
   checkout.twig and product.twig). Use very high specificity so
   bootstrap and other base stylesheets cannot override.
   ============================================ */

/* Fix #2: checkout contact + address grid (display:grid was missing!) */
.lula-checkout-col-contact .lula-auth-row,
.lula-checkout-address-block .lula-auth-row,
#lula-address-section .lula-auth-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 18px !important;
  margin-bottom: 14px !important;
}
.lula-checkout-col-contact .lula-auth-field,
.lula-checkout-address-block .lula-auth-field,
#lula-address-section .lula-auth-field {
  min-width: 0 !important;
}
.lula-checkout-col-contact .lula-auth-field label,
.lula-checkout-address-block .lula-auth-field label,
#lula-address-section .lula-auth-field label {
  display: block !important;
  margin-bottom: 6px !important;
  font-size: 13px;
  color: #6b6661;
  font-weight: 500;
}
.lula-checkout-col-contact .lula-auth-field input,
.lula-checkout-col-contact .lula-auth-field select,
.lula-checkout-address-block .lula-auth-field input,
.lula-checkout-address-block .lula-auth-field select,
#lula-address-section .lula-auth-field input,
#lula-address-section .lula-auth-field select {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #ede3d7;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  color: #2d2a27;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.lula-checkout-col-contact .lula-auth-field input:focus,
.lula-checkout-address-block .lula-auth-field input:focus,
#lula-address-section .lula-auth-field input:focus,
#lula-address-section .lula-auth-field select:focus {
  outline: 0;
  border-color: #4c6358;
  box-shadow: 0 0 0 3px rgba(76, 99, 88, 0.10);
}
@media (max-width: 767px) {
  .lula-checkout-col-contact .lula-auth-row,
  .lula-checkout-address-block .lula-auth-row,
  #lula-address-section .lula-auth-row {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}

/* Fix #1: REAL qty stepper classes (.lula-qty-btn, .lula-qty-btn--minus/--plus) */
.lula-quantity-group {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
  padding: 4px !important;
  background: #fff !important;
  border: 1px solid #ead9cc !important;
  border-radius: 999px !important;
  height: 44px;
  box-shadow: 0 1px 2px rgba(107, 102, 97, 0.04);
}
.lula-quantity-group .lula-qty-btn,
.lula-quantity-group .lula-qty-btn--minus,
.lula-quantity-group .lula-qty-btn--plus {
  width: 36px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #4c6358 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  border-radius: 50% !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: background 0.15s ease, transform 0.1s ease;
  -webkit-tap-highlight-color: rgba(76, 99, 88, 0.15);
}
.lula-quantity-group .lula-qty-btn:hover {
  background: rgba(76, 99, 88, 0.08) !important;
}
.lula-quantity-group .lula-qty-btn:active {
  transform: scale(0.92);
}
.lula-quantity-group .lula-quantity-input {
  width: 48px !important;
  height: 36px !important;
  text-align: center !important;
  border: none !important;
  background: transparent !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #2d2a27 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  -moz-appearance: textfield;
}
.lula-quantity-group .lula-quantity-input::-webkit-inner-spin-button,
.lula-quantity-group .lula-quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
.lula-quantity-group .lula-quantity-input:focus {
  outline: 0 !important;
  background: rgba(76, 99, 88, 0.06) !important;
  border-radius: 12px !important;
}
.lula-quantity-label {
  display: block;
  font-size: 13px;
  color: #6b6661;
  font-weight: 500;
  margin-bottom: 8px;
}

/* Fix #4: banklist visibility guard — JS will toggle .lula-non-baltic class
   on a container ancestor; CSS hides the entire banklink option + bank
   list grid. */
body.lula-non-baltic .lula-payment-option--banklink,
body.lula-non-baltic .lula-banklist-wrap {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Fix #5: re-strengthen homepage section title centering at all viewports */
section.lula-categories-section > .container > h2.lula-section-title,
section.lula-picks-section     > .container > h2.lula-section-title,
.lula-categories-section h2.lula-section-title,
.lula-picks-section     h2.lula-section-title {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 24px !important;
  margin-top: 8px !important;
}
.lula-categories-section { padding-top: 48px !important; padding-bottom: 24px !important; }
.lula-picks-section      { padding-top: 56px !important; padding-bottom: 24px !important; }
@media (max-width: 575px) {
  .lula-categories-section { padding-top: 36px !important; }
  .lula-picks-section      { padding-top: 40px !important; }
}

/* ============================================
   LULA-ROUND4 2026-05-20 — login panel + delivery address layout.
   Same root cause as Round 3: lula-checkout.css sets grid-template-columns
   on these .lula-auth-row variants but never sets display:grid, so all
   children fall back to block stacking. Fix: add display:grid + width:100%
   on inputs with high specificity.
   Plus: defense-in-depth attribute selectors so the JS guard's
   hidden="true" works even if the body class hook isn't applied yet.
   ============================================ */

/* A — login panel */
.lula-account-login-panel .lula-auth-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 18px !important;
  margin-bottom: 14px !important;
}
.lula-account-login-panel .lula-auth-field {
  min-width: 0 !important;
  margin-bottom: 0 !important;
}
.lula-account-login-panel .lula-auth-field label {
  display: block !important;
  margin-bottom: 6px !important;
  font-size: 13px;
  color: #6b6661;
  font-weight: 500;
}
.lula-account-login-panel .lula-auth-field input {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #ede3d7;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  color: #2d2a27;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.lula-account-login-panel .lula-auth-field input:focus {
  outline: 0;
  border-color: #4c6358;
  box-shadow: 0 0 0 3px rgba(76, 99, 88, 0.10);
}
.lula-account-login-panel .lula-account-login-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  height: 46px;
  min-width: 180px;
  padding: 0 22px;
  margin-top: 8px;
  background: #4c6358;
  color: #ffffff !important;
  border: 1px solid #4c6358;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  text-decoration: none;
}
.lula-account-login-panel .lula-account-login-btn:hover {
  background: #3f5349;
}
.lula-account-login-panel .lula-account-login-btn:active {
  transform: translateY(1px);
}
.lula-account-login-panel .lula-account-login-btn i {
  font-size: 14px;
}
@media (max-width: 767px) {
  .lula-account-login-panel .lula-auth-row {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .lula-account-login-panel .lula-account-login-btn {
    width: 100%;
    min-width: 0;
  }
}

/* B — delivery courier address (visible block, NOT the hidden legacy one) */
.lula-checkout-address-inline .lula-auth-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 18px !important;
  margin-bottom: 14px !important;
}
.lula-checkout-address-inline .lula-auth-field {
  min-width: 0 !important;
  margin-bottom: 14px !important;
}
.lula-checkout-address-inline .lula-auth-field:last-child {
  margin-bottom: 0 !important;
}
.lula-checkout-address-inline .lula-auth-field label {
  display: block !important;
  margin-bottom: 6px !important;
  font-size: 13px;
  color: #6b6661;
  font-weight: 500;
}
.lula-checkout-address-inline .lula-auth-field input,
.lula-checkout-address-inline .lula-auth-field select {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #ede3d7;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  color: #2d2a27;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.lula-checkout-address-inline .lula-auth-field input:focus,
.lula-checkout-address-inline .lula-auth-field select:focus {
  outline: 0;
  border-color: #4c6358;
  box-shadow: 0 0 0 3px rgba(76, 99, 88, 0.10);
}
@media (max-width: 767px) {
  .lula-checkout-address-inline .lula-auth-row {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}

/* C — banklist visibility: belt-and-braces.
   Hide via body class AND via [hidden] attribute that the JS guard sets.
   Hidden attribute alone is sometimes overridden by inline display in
   lula-checkout.css when toggling .is-open class; explicit override here. */
body.lula-non-baltic .lula-payment-option--banklink,
body.lula-non-baltic .lula-banklist-wrap,
.lula-payment-option--banklink[hidden],
.lula-banklist-wrap[hidden] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}
