/* HF61 — calmer visual layout: one main card, clean sections, clear summary. */
body:is(#order,#checkout) .as-opc-shell{
  --hf61-line:#e9dce0;--hf61-ink:#352c31;--hf61-muted:#776c71;
  background:linear-gradient(180deg,#fffaf9,#fbf7f6 42%,#fffaf9);
}
body:is(#order,#checkout) .as-opc-shell .as-opc-intro{margin-bottom:14px!important}
body:is(#order,#checkout) .as-opc-shell .as-opc-intro__copy{
  background:transparent!important;border:0!important;box-shadow:none!important;padding:4px 0!important
}
body:is(#order,#checkout) .as-opc-shell .as-opc-intro__back{
  border:1px solid var(--hf61-line)!important;box-shadow:none!important;
  border-radius:999px!important;background:white!important;padding:10px 16px!important
}
/* One coherent main form instead of nested card stacks. */
body:is(#order,#checkout) .as-opc-shell #opc-form.one-page-checkout{
  background:white!important;border:1px solid var(--hf61-line)!important;
  border-radius:20px!important;box-shadow:0 12px 36px rgba(48,30,38,.045)!important;
  padding:16px 22px 12px!important;overflow:visible;
}
body:is(#order,#checkout) .as-opc-shell #opc-form .one-page-checkout__section,
body:is(#order,#checkout) .as-opc-shell #opc-form #opc-delivery-methods,
body:is(#order,#checkout) .as-opc-shell #opc-form #opc-payment-methods,
body:is(#order,#checkout) .as-opc-shell #opc-form .delivery-options__container,
body:is(#order,#checkout) .as-opc-shell #opc-form .payment-options{
  background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;margin:0!important;padding:12px 0!important;
}
body:is(#order,#checkout) .as-opc-shell #opc-form .one-page-checkout__title{
  font-size:18px!important;color:var(--hf61-ink)!important;
  font-weight:750!important;letter-spacing:-.025em;margin-bottom:16px!important;
}
body:is(#order,#checkout) .as-opc-shell #opc-form .form-group,
body:is(#order,#checkout) .as-opc-shell #opc-form .one-page-checkout__field{margin-bottom:14px!important}
body:is(#order,#checkout) .as-opc-shell #opc-form :where(.form-label,label.form-control-label){
  font-size:12.5px!important;letter-spacing:0!important;font-weight:650!important;
  margin-bottom:6px!important;color:#53464c;
}
body:is(#order,#checkout) .as-opc-shell #opc-form :where(input.form-control,select.form-control,select.form-select,textarea.form-control){
  min-height:47px!important;border:1px solid #e5d9d7!important;border-radius:12px!important;
  font-size:14px!important;background:white!important;padding:11px 14px!important;
}
body:is(#order,#checkout) .as-opc-shell #opc-form textarea.form-control{min-height:75px!important}
body:is(#order,#checkout) .as-opc-shell #opc-form :where(input.form-control,select.form-control,select.form-select,textarea.form-control):focus{
  border-color:#bd7890!important;box-shadow:0 0 0 3px rgba(180,81,106,.1)!important;
}
body:is(#order,#checkout) .as-opc-shell .as-cat-fields{margin-top:6px}
body:is(#order,#checkout) .as-opc-shell .as-cathedis-estimate{
  margin:8px 0 0!important;font-size:12px!important;line-height:1.5!important;
}
body:is(#order,#checkout) .as-opc-shell .as-hf50-address-note{font-size:12px!important;margin-top:8px!important}

/* Small, readable quote. The logo supports the option instead of dominating it. */
body:is(#order,#checkout) .as-opc-shell #opc-delivery-methods .as-cat-estimated-carrier{
  display:flex!important;gap:13px!important;padding:14px 16px!important;
  border:1px solid #e7c5ce!important;border-radius:14px!important;
  background:#fff9fa!important;box-shadow:none!important;margin:2px 0 12px!important;
}
body:is(#order,#checkout) .as-opc-shell .as-cat-estimated-logo{width:92px!important;max-height:38px!important;object-fit:contain!important}
body:is(#order,#checkout) .as-opc-shell .as-cat-estimated-info strong{font-size:14px!important;font-weight:750!important}
body:is(#order,#checkout) .as-opc-shell .as-cat-estimated-price{font-size:17px!important;font-weight:800!important}
body:is(#order,#checkout) .as-opc-shell .as-cat-estimated-help{font-size:11.5px!important;line-height:1.5!important}
body:is(#order,#checkout) #opc-delivery-methods .as-cat-no-carrier-temporary{display:none!important}
body:is(#order,#checkout) .as-opc-shell .delivery-option__item,
body:is(#order,#checkout) .as-opc-shell .payment-option{
  box-shadow:none!important;border:1px solid #e9dfe0!important;border-radius:13px!important;
  background:#fff!important;padding:12px 14px!important;transform:none!important;
}
body:is(#order,#checkout) .as-opc-shell .delivery-option__item:has(input:checked),
body:is(#order,#checkout) .as-opc-shell .payment-option:has(input:checked){
  border-color:#b85a78!important;background:#fffbfc!important;
  box-shadow:0 0 0 2px rgba(184,90,120,.075)!important;
}
/* Summary panel: consistent with main form and legible on smaller screens. */
body:is(#order,#checkout) .as-opc-shell .checkout-grid__aside-wrapper{
  background:white!important;border:1px solid var(--hf61-line)!important;
  border-radius:20px!important;box-shadow:0 12px 36px rgba(48,30,38,.045)!important;
  padding:18px 18px!important;
}
body:is(#order,#checkout) .as-opc-shell .checkout__summary-accordion-item,
body:is(#order,#checkout) .as-opc-shell .checkout__summary-accordion-wrapper{
  border:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;padding:0!important;
}
body:is(#order,#checkout) .as-opc-shell .checkout__summary-accordion-header{
  background:transparent!important;padding:0 0 12px!important;border-bottom:1px solid var(--hf61-line)!important;
  margin-bottom:12px!important;
}
body:is(#order,#checkout) .as-opc-shell .checkout-grid__aside-wrapper .checkout__summary-accordion-header .accordion-button{
  font-size:15px!important;font-weight:750!important;
}
body:is(#order,#checkout) .as-opc-shell .cart-summary-line{padding:11px 0!important}
/* Balanced columns with room for the summary */
@media(min-width:1200px){
  body:is(#order,#checkout) .as-opc-shell .checkout-grid__content{flex:0 0 72%!important;max-width:72%!important;width:72%!important}
  body:is(#order,#checkout) .as-opc-shell .checkout-grid__aside{flex:0 0 28%!important;max-width:28%!important;width:28%!important}
  body:is(#order,#checkout) .as-opc-shell #opc-form.one-page-checkout{grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr)!important;gap:18px!important}
  body:is(#order,#checkout) .as-opc-shell #opc-form > .js-opc-addresses-section{padding-left:20px!important;border-left:1px solid var(--hf61-line)!important}
  body:is(#order,#checkout) .as-opc-shell #opc-form > .js-opc-delivery-section{border-top:1px solid var(--hf61-line)!important}
}
@media(max-width:1199.98px){
  body:is(#order,#checkout) .as-opc-shell #opc-form.one-page-checkout{padding:14px 18px!important}
}
@media(max-width:767.98px){
  body:is(#order,#checkout) .as-opc-shell #opc-form.one-page-checkout{padding:10px 14px 14px!important;border-radius:15px!important}
  body:is(#order,#checkout) .as-opc-shell #opc-form :where(input.form-control,select.form-control,select.form-select,textarea.form-control){min-height:45px!important;font-size:16px!important}
  body:is(#order,#checkout) .as-opc-shell .checkout-grid__aside-wrapper{padding:14px!important;border-radius:15px!important}
  body:is(#order,#checkout) .as-opc-shell #opc-delivery-methods .as-cat-estimated-carrier{gap:10px!important;flex-wrap:nowrap!important}
  body:is(#order,#checkout) .as-opc-shell .as-cat-estimated-logo{width:70px!important;max-height:32px!important}
}
