/* Luxurylana 4.8.01 — Unified content form/input design system.
   Purpose: one visual language for storefront form controls without changing
   layout widths or the frozen Header search. Specialized amount/quantity
   controls stay compact while sharing the same surface, border and focus tone. */

main{
  --field-bg:#fffdfa;
  --field-bg-hover:#fffaf6;
  --field-border:#d9cbbb;
  --field-border-hover:#cdb9a5;
  --field-border-focus:#b89778;
  --field-focus-ring:rgba(184,151,120,.14);
  --field-text:#443b34;
  --field-placeholder:#998d82;
  --field-label:#65594f;
  --field-help:#95877b;
  --field-error:#a46f67;
  --field-radius:2px;
  --field-height:40px;
  --field-height-compact:36px;
  --field-textarea:120px;
  --field-pad-x:12px;
}

/* Standard text-like controls inside page content. Header controls are excluded
   because the selector is intentionally rooted at main. */
main :where(
  input:not([type]),
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="search"],
  input[type="url"],
  input[type="password"],
  input[type="number"],
  select
){
  box-sizing:border-box!important;
  min-height:var(--field-height)!important;
  height:var(--field-height)!important;
  padding:7px var(--field-pad-x)!important;
  border:1px solid var(--field-border)!important;
  border-radius:var(--field-radius)!important;
  outline:0!important;
  background:var(--field-bg)!important;
  background-color:var(--field-bg)!important;
  color:var(--field-text)!important;
  box-shadow:none!important;
  font-family:var(--lux-font-body,"DM Sans",Arial,sans-serif)!important;
  font-size:13.5px!important;
  font-weight:300!important;
  line-height:1.35!important;
  transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease!important;
}

main textarea{
  box-sizing:border-box!important;
  width:100%!important;
  min-height:var(--field-textarea)!important;
  height:auto!important;
  padding:10px var(--field-pad-x)!important;
  border:1px solid var(--field-border)!important;
  border-radius:var(--field-radius)!important;
  outline:0!important;
  background:var(--field-bg)!important;
  background-color:var(--field-bg)!important;
  color:var(--field-text)!important;
  box-shadow:none!important;
  font-family:var(--lux-font-body,"DM Sans",Arial,sans-serif)!important;
  font-size:13.5px!important;
  font-weight:300!important;
  line-height:1.55!important;
  resize:vertical!important;
  transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease!important;
}

main :where(
  input:not([type]),
  input[type="text"],input[type="email"],input[type="tel"],input[type="search"],
  input[type="url"],input[type="password"],input[type="number"],select,textarea
):hover:not(:disabled){
  border-color:var(--field-border-hover)!important;
  background-color:var(--field-bg-hover)!important;
}

main :where(
  input:not([type]),
  input[type="text"],input[type="email"],input[type="tel"],input[type="search"],
  input[type="url"],input[type="password"],input[type="number"],select,textarea
):focus,
main :where(
  input:not([type]),
  input[type="text"],input[type="email"],input[type="tel"],input[type="search"],
  input[type="url"],input[type="password"],input[type="number"],select,textarea
):focus-visible{
  border-color:var(--field-border-focus)!important;
  background-color:#fffdfb!important;
  box-shadow:0 0 0 2px var(--field-focus-ring)!important;
  outline:0!important;
}

main :where(input,textarea)::placeholder{
  color:var(--field-placeholder)!important;
  opacity:1!important;
  font-weight:300!important;
}

main :where(input,select,textarea):disabled,
main :where(input,select,textarea)[readonly]{
  opacity:.68!important;
  cursor:not-allowed!important;
  background:#f7f2ec!important;
}

/* Labels + helper text use the same quiet typography. */
main :where(.form-grid,.lux-sell-form,.woocommerce-checkout,.woocommerce-cart-form,.lux-layaway-v2,.lux-gift-amount-picker) label{
  color:var(--field-label)!important;
  font-family:var(--lux-font-body,"DM Sans",Arial,sans-serif)!important;
  font-size:11.5px!important;
  font-weight:400!important;
  line-height:1.35!important;
  letter-spacing:.075em!important;
  text-transform:uppercase!important;
}
main :where(.field-help,.description,.lux-gift-amount-help,.lux-layaway-deposit-help){
  color:var(--field-help)!important;
  font-size:11.5px!important;
  font-weight:300!important;
  line-height:1.45!important;
}

/* Native check/radio controls remain native but share the boutique accent. */
main :where(input[type="checkbox"],input[type="radio"]){
  accent-color:#aa896b!important;
}

/* File upload: same surface/border, with a quiet integrated choose-file control. */
main input[type="file"].lux-photo-upload{
  box-sizing:border-box!important;
  width:100%!important;
  min-height:var(--field-height)!important;
  padding:5px 7px!important;
  border:1px solid var(--field-border)!important;
  border-radius:var(--field-radius)!important;
  background:var(--field-bg)!important;
  color:var(--field-text)!important;
  box-shadow:none!important;
  font-family:var(--lux-font-body,"DM Sans",Arial,sans-serif)!important;
  font-size:12.5px!important;
}
main input[type="file"].lux-photo-upload::file-selector-button{
  min-height:28px!important;
  margin:0 10px 0 0!important;
  padding:5px 10px!important;
  border:1px solid #d6c4b2!important;
  border-radius:1px!important;
  background:#f3eadf!important;
  color:#5e5147!important;
  font:400 10.5px/1.2 var(--lux-font-body,"DM Sans",Arial,sans-serif)!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
  cursor:pointer!important;
}

/* WooCommerce Select2 country/state controls. */
body.woocommerce-checkout main .woocommerce-input-wrapper{
  display:block!important;
  width:100%!important;
  min-width:0!important;
}
body.woocommerce-checkout main .select2-container{
  display:block!important;
  width:100%!important;
  min-width:0!important;
}
body.woocommerce-checkout main .select2-container .selection{
  display:block!important;
  width:100%!important;
}
body.woocommerce-checkout main .select2-container .select2-selection--single{
  position:relative!important;
  display:block!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-height:var(--field-height)!important;
  height:var(--field-height)!important;
  padding:0!important;
  border:1px solid var(--field-border)!important;
  border-radius:var(--field-radius)!important;
  background:var(--field-bg)!important;
  box-shadow:none!important;
}
body.woocommerce-checkout main .select2-container .select2-selection--single .select2-selection__rendered{
  box-sizing:border-box!important;
  min-height:0!important;
  height:calc(var(--field-height) - 2px)!important;
  padding:0 34px 0 var(--field-pad-x)!important;
  color:var(--field-text)!important;
  font-size:13.5px!important;
  font-weight:300!important;
  line-height:calc(var(--field-height) - 2px)!important;
  overflow:hidden!important;
  display:block!important;
}
body.woocommerce-checkout main .select2-container .select2-selection--single .select2-selection__arrow{
  position:absolute!important;
  top:0!important;
  right:6px!important;
  width:32px!important;
  height:calc(var(--field-height) - 2px)!important;
}
body.woocommerce-checkout main .select2-container .select2-selection--single .select2-selection__arrow b{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
}
body.woocommerce-checkout main .select2-container--focus .select2-selection--single,
body.woocommerce-checkout main .select2-container--open .select2-selection--single{
  border-color:var(--field-border-focus)!important;
  box-shadow:0 0 0 2px var(--field-focus-ring)!important;
}

/* Checkout validation stays visible, but subdued. */
body.woocommerce-checkout main .woocommerce-invalid :where(input.input-text,select,textarea),
body.woocommerce-checkout main .woocommerce-invalid .select2-selection{
  border-color:var(--field-error)!important;
}
body.woocommerce-checkout main .woocommerce-validated :where(input.input-text,select,textarea){
  border-color:#cbbda9!important;
}

/* Compact catalog controls use the same system, not a different design. */
main :where(.toolbar,.catalog-filter-form) :where(input[type="search"],select){
  min-height:var(--field-height)!important;
  height:var(--field-height)!important;
  padding-top:7px!important;
  padding-bottom:7px!important;
}

/* Cart quantity is intentionally compact. Coupon remains standard. */
body.woocommerce-cart main .woocommerce-cart-form .quantity .qty{
  width:64px!important;
  min-height:var(--field-height-compact)!important;
  height:var(--field-height-compact)!important;
  padding:5px 8px!important;
  text-align:center!important;
}
body.woocommerce-cart main .woocommerce-cart-form td.actions .coupon .input-text{
  min-height:var(--field-height)!important;
  height:var(--field-height)!important;
  padding:7px var(--field-pad-x)!important;
}

/* Product Minimum Deposit: wrapper owns the border; inner number input remains
   clean and borderless. */
body.single-product main .lux-layaway-deposit-input-wrap{
  min-height:var(--field-height)!important;
  height:var(--field-height)!important;
  padding:0 10px!important;
  border:1px solid var(--field-border)!important;
  border-radius:var(--field-radius)!important;
  background:var(--field-bg)!important;
  box-shadow:none!important;
  transition:border-color .15s ease,box-shadow .15s ease!important;
}
body.single-product main .lux-layaway-deposit-input-wrap:focus-within{
  border-color:var(--field-border-focus)!important;
  box-shadow:0 0 0 2px var(--field-focus-ring)!important;
}
body.single-product main .lux-layaway-deposit-input-wrap>input[type="number"]{
  min-height:calc(var(--field-height) - 2px)!important;
  height:calc(var(--field-height) - 2px)!important;
  padding:4px 6px!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
  font-size:14px!important;
}

/* Separate Layaway page uses the exact same amount-field language. */
main .lux-layaway-page-payment-input{
  min-height:var(--field-height)!important;
  height:var(--field-height)!important;
  padding:0 10px!important;
  border:1px solid var(--field-border)!important;
  border-radius:var(--field-radius)!important;
  background:var(--field-bg)!important;
  box-shadow:none!important;
}
main .lux-layaway-page-payment-input:focus-within{
  border-color:var(--field-border-focus)!important;
  box-shadow:0 0 0 2px var(--field-focus-ring)!important;
}
main .lux-layaway-page-payment-input>input[type="number"]{
  min-height:calc(var(--field-height) - 2px)!important;
  height:calc(var(--field-height) - 2px)!important;
  padding:4px 6px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
}

/* Gift custom amount remains a normal standard field. */
body.single-product main .lux-gift-custom-wrap{
  border-color:transparent!important;
  background:transparent!important;
}
body.single-product main .lux-gift-custom-input{
  min-height:var(--field-height)!important;
  height:var(--field-height)!important;
}

/* Contact and Sell textareas share one system while preserving enough writing room. */
main :where(.lux-contact-page,.lux-sell-page) textarea{
  min-height:var(--field-textarea)!important;
}

@media (max-width:620px){
  main{
    --field-height:44px;
    --field-height-compact:40px;
    --field-textarea:118px;
  }
  main :where(
    input:not([type]),
  input[type="text"],input[type="email"],input[type="tel"],input[type="search"],
    input[type="url"],input[type="password"],input[type="number"],select,textarea
  ){
    font-size:16px!important; /* prevents iOS auto-zoom */
  }
  main :where(.field-help,.description,.lux-gift-amount-help,.lux-layaway-deposit-help){
    font-size:11.5px!important;
  }
  body.single-product main .lux-layaway-deposit-input-wrap>input[type="number"],
  main .lux-layaway-page-payment-input>input[type="number"]{
    font-size:16px!important;
  }
}

/* 4.8.01 final field-geometry authority. These selectors intentionally outrank
   legacy per-page !important declarations while preserving each field's width. */
body#luxurylana-storefront main.lux-contact-page .mail-form :where(input:not([type]),
  input[type="text"],input[type="email"],input[type="tel"],input[type="search"],input[type="number"],select),
body#luxurylana-storefront main.lux-sell-page .lux-sell-form :where(input:not([type]),
  input[type="text"],input[type="email"],input[type="tel"],input[type="search"],input[type="number"],select),
body#luxurylana-storefront main :where(.toolbar,.catalog-filter-form) :where(input[type="search"],input:not([type]),
  input[type="text"],select),
body#luxurylana-storefront.woocommerce-checkout main form.woocommerce-checkout :where(input.input-text,select),
body#luxurylana-storefront.woocommerce-cart main .woocommerce-cart-form td.actions .coupon input.input-text,
body#luxurylana-storefront.single-product main .lux-gift-purchase-form input.lux-gift-custom-input{
  min-height:var(--field-height)!important;
  height:var(--field-height)!important;
  padding-top:7px!important;
  padding-bottom:7px!important;
}

body#luxurylana-storefront main.lux-contact-page .mail-form textarea,
body#luxurylana-storefront main.lux-sell-page .lux-sell-form textarea,
body#luxurylana-storefront.woocommerce-checkout main form.woocommerce-checkout textarea.input-text{
  min-height:var(--field-textarea)!important;
  height:var(--field-textarea)!important;
  padding:10px var(--field-pad-x)!important;
}

body#luxurylana-storefront.woocommerce-cart main .woocommerce-cart-form .quantity input.qty{
  min-height:var(--field-height-compact)!important;
  height:var(--field-height-compact)!important;
  padding:5px 8px!important;
}

body#luxurylana-storefront.single-product main .product-top[data-adaptive-product-gallery]:not(.lux-gift-product-top) .buy-box .lux-layaway-deposit-input-wrap,
body#luxurylana-storefront.single-product main .product-main-row:not(.lux-gift-product-main-row)>.buy-box .lux-layaway-deposit-input-wrap{
  min-height:var(--field-height)!important;
  height:var(--field-height)!important;
  padding:0 10px!important;
  border:1px solid var(--field-border)!important;
  border-radius:var(--field-radius)!important;
  background:var(--field-bg)!important;
  box-shadow:none!important;
}
body#luxurylana-storefront.single-product main .product-top[data-adaptive-product-gallery]:not(.lux-gift-product-top) .buy-box .lux-layaway-deposit-input-wrap>input[type="number"],
body#luxurylana-storefront.single-product main .product-main-row:not(.lux-gift-product-main-row)>.buy-box .lux-layaway-deposit-input-wrap>input[type="number"]{
  min-height:calc(var(--field-height) - 2px)!important;
  height:calc(var(--field-height) - 2px)!important;
  padding:4px 6px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

body#luxurylana-storefront main.lux-layaway-main .lux-layaway-v2 .lux-layaway-page-payment-input{
  min-height:var(--field-height)!important;
  height:var(--field-height)!important;
  padding:0 10px!important;
  border:1px solid var(--field-border)!important;
  border-radius:var(--field-radius)!important;
  background:var(--field-bg)!important;
  box-shadow:none!important;
}
body#luxurylana-storefront main.lux-layaway-main .lux-layaway-v2 .lux-layaway-page-payment-input>input[type="number"]{
  min-height:calc(var(--field-height) - 2px)!important;
  height:calc(var(--field-height) - 2px)!important;
  padding:4px 6px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* Product page has a late historic authority with an extra :not() specificity;
   mirror that exact structural selector here so the unified 40px field wins. */
body#luxurylana-storefront.single-product main .product-top[data-adaptive-product-gallery]:not(.lux-gift-product-top) .buy-box:not(.lux-buy-box--sold) .lux-layaway-deposit-input-wrap,
body#luxurylana-storefront.single-product main .product-main-row:not(.lux-gift-product-main-row)>.buy-box:not(.lux-buy-box--sold) .lux-layaway-deposit-input-wrap{
  min-height:var(--field-height)!important;
  height:var(--field-height)!important;
  padding:0 10px!important;
  border:1px solid var(--field-border)!important;
  border-radius:var(--field-radius)!important;
  background:var(--field-bg)!important;
  box-shadow:none!important;
}
body#luxurylana-storefront.single-product main .product-top[data-adaptive-product-gallery]:not(.lux-gift-product-top) .buy-box:not(.lux-buy-box--sold) .lux-layaway-deposit-input-wrap>input[type="number"],
body#luxurylana-storefront.single-product main .product-main-row:not(.lux-gift-product-main-row)>.buy-box:not(.lux-buy-box--sold) .lux-layaway-deposit-input-wrap>input[type="number"]{
  min-height:calc(var(--field-height) - 2px)!important;
  height:calc(var(--field-height) - 2px)!important;
  padding:4px 6px!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

@media (max-width:620px){
  body#luxurylana-storefront main.lux-contact-page .mail-form :where(input:not([type]),
  input[type="text"],input[type="email"],input[type="tel"],input[type="search"],input[type="number"],select),
  body#luxurylana-storefront main.lux-sell-page .lux-sell-form :where(input:not([type]),
  input[type="text"],input[type="email"],input[type="tel"],input[type="search"],input[type="number"],select),
  body#luxurylana-storefront main :where(.toolbar,.catalog-filter-form) :where(input[type="search"],input:not([type]),
  input[type="text"],select),
  body#luxurylana-storefront.woocommerce-checkout main form.woocommerce-checkout :where(input.input-text,select),
  body#luxurylana-storefront.woocommerce-cart main .woocommerce-cart-form td.actions .coupon input.input-text,
  body#luxurylana-storefront.single-product main .lux-gift-purchase-form input.lux-gift-custom-input{
    min-height:var(--field-height)!important;
    height:var(--field-height)!important;
    font-size:16px!important;
  }
  body#luxurylana-storefront main.lux-contact-page .mail-form textarea,
  body#luxurylana-storefront main.lux-sell-page .lux-sell-form textarea,
  body#luxurylana-storefront.woocommerce-checkout main form.woocommerce-checkout textarea.input-text{
    min-height:var(--field-textarea)!important;
    height:var(--field-textarea)!important;
    font-size:16px!important;
  }
}

/* Final visual-surface authority: all standard storefront fields use the same
   paper, warm border, radius, typography and focus ring. */
body#luxurylana-storefront main.lux-contact-page .mail-form :where(input:not([type]),input[type="text"],input[type="email"],input[type="tel"],input[type="search"],input[type="number"],select),
body#luxurylana-storefront main.lux-sell-page .lux-sell-form :where(input:not([type]),input[type="text"],input[type="email"],input[type="tel"],input[type="search"],input[type="number"],select),
body#luxurylana-storefront main :where(.toolbar,.catalog-filter-form) :where(input[type="search"],input:not([type]),input[type="text"],select),
body#luxurylana-storefront.woocommerce-checkout main form.woocommerce-checkout :where(input.input-text,select),
body#luxurylana-storefront.woocommerce-cart main .woocommerce-cart-form td.actions .coupon input.input-text,
body#luxurylana-storefront.single-product main .lux-gift-purchase-form input.lux-gift-custom-input,
body#luxurylana-storefront main.lux-contact-page .mail-form textarea,
body#luxurylana-storefront main.lux-sell-page .lux-sell-form textarea,
body#luxurylana-storefront.woocommerce-checkout main form.woocommerce-checkout textarea.input-text{
  border:1px solid var(--field-border)!important;
  border-radius:var(--field-radius)!important;
  background:var(--field-bg)!important;
  background-color:var(--field-bg)!important;
  color:var(--field-text)!important;
  box-shadow:none!important;
  outline:0!important;
  font-family:var(--lux-font-body,"DM Sans",Arial,sans-serif)!important;
  font-size:13.5px!important;
  font-weight:300!important;
}

body#luxurylana-storefront main.lux-contact-page .mail-form :where(input:not([type]),input[type="text"],input[type="email"],input[type="tel"],input[type="search"],input[type="number"],select):hover:not(:disabled),
body#luxurylana-storefront main.lux-sell-page .lux-sell-form :where(input:not([type]),input[type="text"],input[type="email"],input[type="tel"],input[type="search"],input[type="number"],select):hover:not(:disabled),
body#luxurylana-storefront main :where(.toolbar,.catalog-filter-form) :where(input[type="search"],input:not([type]),input[type="text"],select):hover:not(:disabled),
body#luxurylana-storefront.woocommerce-checkout main form.woocommerce-checkout :where(input.input-text,select):hover:not(:disabled),
body#luxurylana-storefront.single-product main .lux-gift-purchase-form input.lux-gift-custom-input:hover:not(:disabled){
  border-color:var(--field-border-hover)!important;
  background-color:var(--field-bg-hover)!important;
}

body#luxurylana-storefront main.lux-contact-page .mail-form :where(input:not([type]),input[type="text"],input[type="email"],input[type="tel"],input[type="search"],input[type="number"],select,textarea):focus,
body#luxurylana-storefront main.lux-contact-page .mail-form :where(input:not([type]),input[type="text"],input[type="email"],input[type="tel"],input[type="search"],input[type="number"],select,textarea):focus-visible,
body#luxurylana-storefront main.lux-sell-page .lux-sell-form :where(input:not([type]),input[type="text"],input[type="email"],input[type="tel"],input[type="search"],input[type="number"],select,textarea):focus,
body#luxurylana-storefront main.lux-sell-page .lux-sell-form :where(input:not([type]),input[type="text"],input[type="email"],input[type="tel"],input[type="search"],input[type="number"],select,textarea):focus-visible,
body#luxurylana-storefront main :where(.toolbar,.catalog-filter-form) :where(input[type="search"],input:not([type]),input[type="text"],select):focus,
body#luxurylana-storefront main :where(.toolbar,.catalog-filter-form) :where(input[type="search"],input:not([type]),input[type="text"],select):focus-visible,
body#luxurylana-storefront.woocommerce-checkout main form.woocommerce-checkout :where(input.input-text,select,textarea.input-text):focus,
body#luxurylana-storefront.woocommerce-checkout main form.woocommerce-checkout :where(input.input-text,select,textarea.input-text):focus-visible,
body#luxurylana-storefront.single-product main .lux-gift-purchase-form input.lux-gift-custom-input:focus,
body#luxurylana-storefront.single-product main .lux-gift-purchase-form input.lux-gift-custom-input:focus-visible{
  border-color:var(--field-border-focus)!important;
  background-color:#fffdfb!important;
  box-shadow:0 0 0 2px var(--field-focus-ring)!important;
  outline:0!important;
}

body#luxurylana-storefront.single-product main .product-top[data-adaptive-product-gallery]:not(.lux-gift-product-top) .buy-box:not(.lux-buy-box--sold) .lux-layaway-deposit-input-wrap:focus-within,
body#luxurylana-storefront.single-product main .product-main-row:not(.lux-gift-product-main-row)>.buy-box:not(.lux-buy-box--sold) .lux-layaway-deposit-input-wrap:focus-within,
body#luxurylana-storefront main.lux-layaway-main .lux-layaway-v2 .lux-layaway-page-payment-input:focus-within{
  border-color:var(--field-border-focus)!important;
  box-shadow:0 0 0 2px var(--field-focus-ring)!important;
}

body#luxurylana-storefront main.lux-sell-page .lux-sell-form input[type="file"].lux-photo-upload{
  border:1px solid var(--field-border)!important;
  border-radius:var(--field-radius)!important;
  background:var(--field-bg)!important;
  color:var(--field-text)!important;
  box-shadow:none!important;
}

@media (max-width:620px){
  body#luxurylana-storefront main.lux-contact-page .mail-form :where(input:not([type]),input[type="text"],input[type="email"],input[type="tel"],input[type="search"],input[type="number"],select,textarea),
  body#luxurylana-storefront main.lux-sell-page .lux-sell-form :where(input:not([type]),input[type="text"],input[type="email"],input[type="tel"],input[type="search"],input[type="number"],select,textarea),
  body#luxurylana-storefront main :where(.toolbar,.catalog-filter-form) :where(input[type="search"],input:not([type]),input[type="text"],select),
  body#luxurylana-storefront.woocommerce-checkout main form.woocommerce-checkout :where(input.input-text,select,textarea.input-text),
  body#luxurylana-storefront.single-product main .lux-gift-purchase-form input.lux-gift-custom-input{
    font-size:16px!important;
  }
}

@media (max-width:620px){
  body#luxurylana-storefront.single-product main .product-top[data-adaptive-product-gallery]:not(.lux-gift-product-top) .buy-box:not(.lux-buy-box--sold) .lux-layaway-deposit-input-wrap>input[type="number"],
  body#luxurylana-storefront.single-product main .product-main-row:not(.lux-gift-product-main-row)>.buy-box:not(.lux-buy-box--sold) .lux-layaway-deposit-input-wrap>input[type="number"],
  body#luxurylana-storefront main.lux-layaway-main .lux-layaway-v2 .lux-layaway-page-payment-input>input[type="number"]{
    font-size:16px!important;
  }
}


/* 4.8.03 — Product Minimum Deposit remains compact inside unified form language.
   Same field visual language; intentionally narrower product-specific geometry. */
body#luxurylana-storefront.single-product main .product-top[data-adaptive-product-gallery]:not(.lux-gift-product-top) .buy-box:not(.lux-buy-box--sold) .lux-layaway-deposit-picker,
body#luxurylana-storefront.single-product main .product-main-row:not(.lux-gift-product-main-row)>.buy-box:not(.lux-buy-box--sold) .lux-layaway-deposit-picker{
  width:min(292px,100%)!important;
  max-width:292px!important;
}
body#luxurylana-storefront.single-product main .product-top[data-adaptive-product-gallery]:not(.lux-gift-product-top) .buy-box:not(.lux-buy-box--sold) .lux-layaway-deposit-input-wrap,
body#luxurylana-storefront.single-product main .product-main-row:not(.lux-gift-product-main-row)>.buy-box:not(.lux-buy-box--sold) .lux-layaway-deposit-input-wrap{
  width:100%!important;
  max-width:292px!important;
}


/* 4.8.09 — checkout field state geometry. Keep validation useful without
   turning each missing field into a large block that pushes the form apart. */
body.woocommerce-checkout main form.woocommerce-checkout .form-row > .woocommerce-error{
  display:block!important;
  margin:3px 0 0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:var(--field-error)!important;
  font-family:var(--lux-font-body,"DM Sans",Arial,sans-serif)!important;
  font-size:11px!important;
  font-weight:300!important;
  line-height:1.35!important;
  letter-spacing:0!important;
}

/* 4.8.10 — checkout Select2 live-state centering.
   Some PayPal/Woo checkout refreshes reapply SelectWoo defaults after address
   validation. Keep Country/Province selected text vertically centered without
   changing field widths or the 4.8.09 validation geometry. */
body#luxurylana-storefront.woocommerce-checkout main form.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered{
  position:static!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  display:flex!important;
  align-items:center!important;
  box-sizing:border-box!important;
  height:calc(var(--field-height) - 2px)!important;
  min-height:calc(var(--field-height) - 2px)!important;
  margin:0!important;
  padding:0 42px 0 var(--field-pad-x)!important;
  line-height:1.25!important;
  transform:none!important;
}
body#luxurylana-storefront.woocommerce-checkout main form.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow{
  top:0!important;
  bottom:auto!important;
  height:calc(var(--field-height) - 2px)!important;
  margin:0!important;
  transform:none!important;
}



/* 4.8.14 — My Account / Order table containment audit. */
/* MY ACCOUNT / ORDER RECEIVED — account tables are generated by WooCommerce.
   Single order details wrap. Multi-column orders/downloads may scroll internally
   on narrow screens, but can never widen the page or its visual frame. */
body.woocommerce-account#luxurylana-storefront main .woocommerce-table--order-details{
  width:100%!important;
  max-width:100%!important;
  table-layout:auto!important;
  box-sizing:border-box!important;
}
body.woocommerce-account#luxurylana-storefront main .woocommerce-table--order-details th,
body.woocommerce-account#luxurylana-storefront main .woocommerce-table--order-details td{
  box-sizing:border-box!important;
  min-width:0!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
body.woocommerce-account#luxurylana-storefront main .woocommerce-table--order-downloads{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
body.woocommerce-account#luxurylana-storefront main .woocommerce-table--order-downloads th,
body.woocommerce-account#luxurylana-storefront main .woocommerce-table--order-downloads td{
  box-sizing:border-box!important;
  min-width:0!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
@media (max-width:760px){
  body.woocommerce-account#luxurylana-storefront main .woocommerce-orders-table,
  body.woocommerce-account#luxurylana-storefront main .woocommerce-table--order-downloads{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    box-sizing:border-box!important;
  }
}
