/* LAW V8 — dark burgundy cleanup for remaining grey pills/cards */
:root{
  --law-bg-deep:#050105;
  --law-ink:#0b0207;
  --law-glass-a:rgba(32,8,18,.86);
  --law-glass-b:rgba(9,2,6,.94);
  --law-glass-c:rgba(74,10,29,.42);
  --law-border-soft:rgba(255,238,232,.16);
  --law-border-hot:rgba(232,160,180,.30);
  --law-burgundy-main:#74122b;
  --law-burgundy-dark:#420815;
  --law-burgundy-glow:rgba(116,18,43,.36);
  --law-text-main:#fff5ef;
  --law-text-soft:#d9c0c9;
  --law-text-faint:#b99faa;
  --law-pink-soft:#e9a8ba;
}

/* reusable surface replacing every washed grey block */
body .hero-pill,
body .mini-box,
body .details .spec,
body .spec-grid .spec,
body .product-layout .spec,
body .details .price-row,
body .details .service-strip,
body .service-strip,
body .secure-note,
body .summary-line,
body .delivery-option,
body .shipping-option,
body .shipping-pill,
body .checkout-note,
body .cart-note,
body .payment-note,
body .bank-transfer-note,
body .bank-transfer-box,
body .saved-address-preview,
body .saved-address-card,
body .login-required,
body .empty-cart,
body .empty-state,
body .message,
body .status-box,
body .info-pill,
body .range-pill,
body .mini-card,
body .summary-chip,
body .cc-review-empty,
body .cc-review-item,
body .review-form,
body .info-item,
body .payment-extra,
body .business-vat-line,
body #statusNote,
body #secureNote,
body #couponMessage,
body #orderItems .secure-note,
body .checkout-card .secure-note,
body .summary-card .secure-note,
body .cart-main .secure-note{
  background:
    radial-gradient(circle at 14% 0%,rgba(233,168,186,.105),transparent 36%),
    linear-gradient(145deg,var(--law-glass-a),var(--law-glass-b) 68%,var(--law-glass-c))!important;
  border:1px solid var(--law-border-soft)!important;
  color:var(--law-text-main)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 18px 46px rgba(0,0,0,.24)!important;
  backdrop-filter:blur(20px) saturate(135%)!important;
  -webkit-backdrop-filter:blur(20px) saturate(135%)!important;
}

body .hero-pill,
body .helper-pill,
body .service-strip,
body .shipping-pill,
body .summary-chip,
body .info-pill{
  min-height:42px!important;
  border-radius:999px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:10px 16px!important;
  line-height:1.2!important;
  color:#f7dce5!important;
  letter-spacing:.015em!important;
}

body .hero-pill,
body .details .helper-pill,
body .product-layout .helper-pill{
  background:linear-gradient(135deg,rgba(103,16,39,.88),rgba(32,7,17,.94))!important;
  border-color:rgba(232,160,180,.26)!important;
}

/* Product page: remove remaining grey specification/service blocks */
body .product-layout .details,
body .details.glass{
  border-color:rgba(255,238,232,.20)!important;
}
body .details .price-row{
  background:linear-gradient(135deg,rgba(84,13,31,.92),rgba(13,3,8,.98) 70%,rgba(126,20,47,.48))!important;
  padding:15px 18px!important;
  border-radius:24px!important;
}
body .details .spec,
body .spec-grid .spec{
  min-height:88px!important;
  border-radius:22px!important;
  padding:17px 18px!important;
  display:grid!important;
  align-content:center!important;
}
body .details .spec span,
body .spec-grid .spec span,
body .mini-box span,
body .summary-line span,
body .secure-note span,
body .service-strip span,
body .shipping-option span,
body .delivery-option span{
  color:var(--law-pink-soft)!important;
  opacity:.92!important;
}
body .details .spec strong,
body .spec-grid .spec strong,
body .mini-box strong,
body .summary-line strong,
body .shipping-option strong,
body .delivery-option strong{
  color:var(--law-text-main)!important;
}
body .details .helper-row + .desc + .qty-cart + .accordions + .service-strip,
body .product-layout .service-strip,
body .details .service-strip,
body .details > .service-strip{
  width:100%!important;
  justify-content:flex-start!important;
  text-align:left!important;
  background:linear-gradient(135deg,rgba(83,13,32,.92),rgba(13,3,8,.96))!important;
  border-color:rgba(232,160,180,.22)!important;
  color:#f4d9e1!important;
}

/* Cart and checkout hero/summary boxes */
body .cart-hero .hero-pills,
body .checkout-hero .hero-pills{gap:12px!important;}
body .cart-hero .hero-pill,
body .checkout-hero .hero-pill{
  min-width:0!important;
  white-space:nowrap!important;
  font-weight:800!important;
  color:#f6dce4!important;
}
body .mini-grid{gap:12px!important;}
body .mini-box{
  border-radius:20px!important;
  min-height:72px!important;
  padding:16px 18px!important;
}
body .secure-note{
  border-radius:20px!important;
  padding:15px 17px!important;
  line-height:1.6!important;
  color:#edd8df!important;
}
body .summary-line{
  border-radius:18px!important;
  min-height:54px!important;
  padding:13px 16px!important;
  background:linear-gradient(145deg,rgba(17,4,10,.96),rgba(7,1,5,.98))!important;
}
body .summary-line.total{
  border-color:rgba(232,160,180,.28)!important;
  background:linear-gradient(145deg,rgba(45,8,20,.88),rgba(8,2,6,.96))!important;
}

/* Buttons disabled / low-state: no pale grey, no text overflow */
body button:disabled,
body .btn:disabled,
body .ghost-btn:disabled,
body .disabled,
body [aria-disabled="true"]{
  background:linear-gradient(135deg,rgba(56,11,24,.72),rgba(16,4,10,.88))!important;
  border:1px solid rgba(232,160,180,.18)!important;
  color:rgba(255,245,239,.58)!important;
  opacity:1!important;
  cursor:not-allowed!important;
  box-shadow:none!important;
  text-shadow:none!important;
}
body .cart-actions .btn,
body .cart-actions .ghost-btn,
body .checkout-actions .btn,
body .checkout-actions .ghost-btn,
body .summary-card .btn,
body .summary-card .ghost-btn{
  white-space:nowrap!important;
  min-height:52px!important;
  padding:0 18px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
  text-align:center!important;
}
body #goCheckoutBtn,
body #placeOrderBtn{
  min-width:max-content!important;
}

/* Checkout form cards: physical/business, TVA and payment panels */
body .customer-type-switch,
body .payment-grid{gap:16px!important;}
body .customer-type-card,
body .payment-option,
body .payment-box,
body .business-fields,
body .saved-address-box{
  background:linear-gradient(145deg,rgba(26,7,15,.90),rgba(8,2,6,.96))!important;
  border:1px solid rgba(255,238,232,.14)!important;
  color:var(--law-text-main)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 16px 40px rgba(0,0,0,.20)!important;
}
body .customer-type-card{
  border-radius:22px!important;
  min-height:112px!important;
  padding:18px 20px!important;
  align-items:center!important;
}
body .customer-type-card.is-active,
body .payment-option:has(input:checked),
body .payment-option input:checked + .payment-box{
  background:linear-gradient(145deg,rgba(84,13,32,.82),rgba(12,3,8,.96))!important;
  border-color:rgba(232,160,180,.34)!important;
}
body .customer-type-dot{
  width:22px!important;height:22px!important;border-radius:50%!important;
  background:#0c0308!important;
  border:2px solid rgba(232,160,180,.48)!important;
  box-shadow:inset 0 0 0 5px #0c0308!important;
}
body .customer-type-card.is-active .customer-type-dot{
  background:#e9a8ba!important;
  border-color:#fff1ea!important;
}
body .business-vat-line{
  width:fit-content!important;
  padding:12px 14px!important;
  border-radius:16px!important;
}
body input[type="checkbox"],
body input[type="radio"]{
  accent-color:var(--law-burgundy-main)!important;
}
body #couponCode{
  background:linear-gradient(145deg,rgba(10,3,7,.98),rgba(5,1,4,.96))!important;
  border:1px solid rgba(255,238,232,.15)!important;
  color:var(--law-text-main)!important;
}

/* Reset password isolated page: replace white card with the same LAW language */
body > main.card{
  width:min(560px,calc(100% - 28px))!important;
  background:
    radial-gradient(circle at 12% 0%,rgba(233,168,186,.11),transparent 36%),
    linear-gradient(145deg,rgba(32,8,18,.94),rgba(8,2,6,.97) 72%,rgba(74,10,29,.35))!important;
  border:1px solid rgba(255,238,232,.17)!important;
  box-shadow:0 34px 100px rgba(0,0,0,.56),inset 0 1px 0 rgba(255,255,255,.055)!important;
  color:var(--law-text-main)!important;
}
body > main.card .logo{
  background:linear-gradient(135deg,var(--law-burgundy-main),var(--law-burgundy-dark))!important;
  color:#fff5ef!important;
  box-shadow:0 18px 48px rgba(116,18,43,.34)!important;
}
body > main.card h1{color:var(--law-text-main)!important;}
body > main.card p,
body > main.card label{color:var(--law-text-soft)!important;}
body > main.card input{
  background:linear-gradient(145deg,rgba(10,3,7,.98),rgba(5,1,4,.96))!important;
  border:1px solid rgba(255,238,232,.16)!important;
  color:var(--law-text-main)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
}
body > main.card input::placeholder{color:#a9909b!important;}
body > main.card input:focus{
  border-color:rgba(232,160,180,.42)!important;
  box-shadow:0 0 0 4px rgba(116,18,43,.20)!important;
}
body > main.card button{
  background:linear-gradient(135deg,var(--law-burgundy-main),#9a1839)!important;
  border:1px solid rgba(255,238,232,.14)!important;
  color:#fff5ef!important;
  box-shadow:0 18px 44px rgba(116,18,43,.30)!important;
}
body > main.card button:disabled{
  background:linear-gradient(135deg,rgba(56,11,24,.72),rgba(16,4,10,.88))!important;
  color:rgba(255,245,239,.58)!important;
}
body > main.card .message{
  display:none;
  border-radius:18px!important;
}
body > main.card .message.success,
body > main.card .message.error{
  display:block!important;
  background:linear-gradient(145deg,rgba(26,7,15,.96),rgba(9,2,6,.98))!important;
  border:1px solid rgba(232,160,180,.22)!important;
  color:#ffe9ef!important;
}
body > main.card .links a{color:#f0b5c5!important;}

/* Native selects and custom select fallback */
body select,
body .sort-select,
body .filter-box select{
  background:linear-gradient(145deg,rgba(10,3,7,.98),rgba(47,9,22,.78))!important;
  border:1px solid rgba(232,160,180,.24)!important;
  color:#fff5ef!important;
  color-scheme:dark!important;
}
body select option{background:#10040a!important;color:#fff5ef!important;}
body .law-select__button{
  background:linear-gradient(145deg,rgba(10,3,7,.98),rgba(47,9,22,.78))!important;
  border-color:rgba(232,160,180,.24)!important;
  color:#fff5ef!important;
}
body .law-select__menu{
  background:linear-gradient(145deg,rgba(17,5,11,.99),rgba(6,2,5,.99))!important;
  border-color:rgba(232,160,180,.25)!important;
}
body .law-select__option{color:#f1dde4!important;}
body .law-select__option:hover,
body .law-select__option.is-selected{background:linear-gradient(135deg,rgba(116,18,43,.84),rgba(66,8,21,.86))!important;color:#fff!important;}

/* Form label/input spacing so labels do not crash into fields */
body .field label,
body .form-field label,
body .checkout-card label,
body .auth-card label{
  color:#e6cfd7!important;
  margin-bottom:8px!important;
  display:block!important;
  line-height:1.2!important;
}
body .field input,
body .field textarea,
body .form-field input,
body .form-field textarea,
body .checkout-card input,
body .checkout-card textarea,
body .auth-card input{
  background:linear-gradient(145deg,rgba(10,3,7,.98),rgba(5,1,4,.96))!important;
  border:1px solid rgba(255,238,232,.15)!important;
  color:var(--law-text-main)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
}

@media (max-width:760px){
  body .cart-actions .btn,
  body .cart-actions .ghost-btn,
  body .checkout-actions .btn,
  body .checkout-actions .ghost-btn,
  body .summary-card .btn,
  body .summary-card .ghost-btn{width:100%!important;}
  body .hero-pill{width:100%!important;}
  body .customer-type-switch,
  body .payment-grid{grid-template-columns:1fr!important;}
}
