/* HF67 — Accessoires Shop | progress / checkout refinements.
 * Presentation only. The true carrier price is owned by Cathedis/PrestaShop.
 * Loaded AFTER HF65 and HF66. No DOM movement of forms/payment controls.
 */
.as-hf67-progress-row {margin-bottom:18px;}
.as-hf67-cart-progress {margin:8px 0 22px;}
.as-hf67-free-shipping {
  --as-hf67-rose:#b65d7a;
  --as-hf67-ink:#33272e;
  --as-hf67-muted:#7b6a73;
  width:100%;max-width:100%;box-sizing:border-box;
  padding:17px 22px 14px;
  color:var(--as-hf67-ink);
  border:1px solid #eedde2;
  border-radius:19px;
  background:linear-gradient(108deg,#fff 4%,#fff6f8 100%);
  box-shadow:0 8px 28px rgba(70,36,50,.038);
}
.as-hf67-free-shipping__top {display:flex;align-items:center;gap:13px;min-width:0;}
.as-hf67-free-shipping__icon {
  display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;
  border-radius:13px;background:#f9e5ec;color:var(--as-hf67-rose);
}
.as-hf67-free-shipping__content {display:flex;flex:1;flex-direction:column;min-width:0;gap:3px;}
.as-hf67-free-shipping__headline {font-size:15px;font-weight:750;line-height:1.4;}
.as-hf67-free-shipping__subtitle {font-size:12.5px;color:var(--as-hf67-muted);line-height:1.45;}
.as-hf67-free-shipping__count {font-size:12px;font-weight:800;white-space:nowrap;color:#91516b;}
.as-hf67-free-shipping__track {display:block;height:9px;margin:15px 0 0;border-radius:40px;background:#f2e1e7;overflow:hidden;}
.as-hf67-free-shipping__fill {height:100%;width:0;background:linear-gradient(90deg,#c87892,#a94d6f);border-radius:40px;transition:width .42s ease;}
.as-hf67-free-shipping__foot {font-size:10.5px;color:#887681;line-height:1.4;margin:9px 0 0;}
.as-hf67-free-shipping[data-as-achieved="true"] {border-color:#d3e6da;background:linear-gradient(108deg,#fff,#f8fcf9);}
.as-hf67-free-shipping[data-as-achieved="true"] .as-hf67-free-shipping__icon {background:#e4f5e8;color:#32754d;}
.as-hf67-free-shipping[data-as-achieved="true"] .as-hf67-free-shipping__fill {background:linear-gradient(90deg,#4d9973,#357c56);}
.as-hf67-free-shipping[data-as-achieved="true"] .as-hf67-free-shipping__count {color:#32754d;}

/* Clearer hierarchy: numbered section titles, one surface for whole checkout. */
body:is(#order,#checkout) .as-opc-shell .one-page-checkout__title {display:flex;align-items:center;gap:10px;line-height:1.3;}
body:is(#order,#checkout) .as-opc-shell #opc-form .js-opc-contact-section .one-page-checkout__title::before,
body:is(#order,#checkout) .as-opc-shell #opc-form .js-opc-addresses-section .one-page-checkout__title::before,
body:is(#order,#checkout) .as-opc-shell #opc-form .js-opc-delivery-section .one-page-checkout__title::before,
body:is(#order,#checkout) .as-opc-shell .js-opc-payment-section > .one-page-checkout__title::before {
  content:'1';display:inline-flex;align-items:center;justify-content:center;
  width:29px;height:29px;flex:0 0 29px;border-radius:100%;
  background:#f9eaf0;color:#aa5270;font-size:12px;font-weight:800;
}
body:is(#order,#checkout) .as-opc-shell #opc-form .js-opc-addresses-section .one-page-checkout__title::before {content:'2';}
body:is(#order,#checkout) .as-opc-shell #opc-form .js-opc-delivery-section .one-page-checkout__title::before {content:'3';}
body:is(#order,#checkout) .as-opc-shell .js-opc-payment-section > .one-page-checkout__title::before {content:'4';}

@media(max-width:1199.98px){
  body:is(#order,#checkout) .as-opc-shell #opc-form.one-page-checkout {grid-template-columns:minmax(0,1fr)!important;}
  body:is(#order,#checkout) .as-opc-shell #opc-form > .js-opc-addresses-section {padding-left:0!important;border-left:0!important;}
}
@media(max-width:991.98px){
  /* Show real cart totals before asking the customer to type, not below payment. */
  body:is(#order,#checkout) .as-opc-shell .checkout-grid {display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:15px!important;}
  body:is(#order,#checkout) .as-opc-shell .checkout-grid__aside {order:1!important;flex:0 0 auto!important;width:100%!important;max-width:100%!important;}
  body:is(#order,#checkout) .as-opc-shell .checkout-grid__content {order:2!important;flex:0 0 auto!important;width:100%!important;max-width:100%!important;}
  body:is(#order,#checkout) .as-opc-shell .checkout-grid__aside-wrapper {padding:13px 18px!important;}
  body:is(#order,#checkout) .as-opc-shell .checkout__summary-accordion-header {margin-bottom:8px!important;padding-bottom:8px!important;}
  body:is(#order,#checkout) .as-opc-shell .checkout__summary-accordion-header .as-opc-summary-header__eyebrow {display:none;}
  body:is(#order,#checkout) .as-opc-shell .checkout-grid__aside-wrapper .cart-summary__products {padding-top:4px;}
  body:is(#order,#checkout) .as-opc-shell .checkout-grid__aside-wrapper .cart-summary__total {padding-top:4px;}
  body:is(#order,#checkout) .as-opc-shell .checkout-grid__aside-wrapper .cart-summary__line {padding:7px 0!important;}
  body:is(#order,#checkout) .as-opc-shell #opc-form.one-page-checkout {display:block!important;}
  body:is(#order,#checkout) .as-opc-shell #opc-form > .js-opc-contact-section,
  body:is(#order,#checkout) .as-opc-shell #opc-form > .js-opc-addresses-section,
  body:is(#order,#checkout) .as-opc-shell #opc-form > .js-opc-delivery-section {grid-column:auto!important;min-width:0;}
  body:is(#order,#checkout) .as-opc-shell #opc-form > .js-opc-addresses-section,
  body:is(#order,#checkout) .as-opc-shell #opc-form > .js-opc-delivery-section {border-top:1px solid #eee1e6!important;}
}
@media(max-width:767.98px){
  body:is(#order,#checkout) .as-opc-shell {padding-top:12px!important;}
  body:is(#order,#checkout) .as-opc-shell .as-opc-intro {gap:10px!important;margin-bottom:11px!important;}
  body:is(#order,#checkout) .as-opc-shell .as-opc-intro__copy {padding:0!important;}
  body:is(#order,#checkout) .as-opc-shell .as-opc-intro__copy h1 {font-size:25px!important;line-height:1.1;}
  body:is(#order,#checkout) .as-opc-shell .as-opc-intro__eyebrow {font-size:9px;letter-spacing:.11em;margin-bottom:5px;}
  body:is(#order,#checkout) .as-opc-shell .as-opc-intro__back {padding:9px 13px!important;font-size:12px!important;justify-content:center;}
  body:is(#order,#checkout) .as-opc-shell .as-opc-intro__copy p {display:none;}
  body:is(#order,#checkout) .as-opc-shell .checkout-grid__aside-wrapper {padding:12px 14px!important;border-radius:15px!important;}
  body:is(#order,#checkout) .as-opc-shell .checkout-grid__content > .tab-content {border-radius:16px!important;}
  body:is(#order,#checkout) .as-opc-shell #opc-form.one-page-checkout {padding:8px 15px 5px!important;}
  body:is(#order,#checkout) .as-opc-shell #opc-form .one-page-checkout__section {padding:16px 0!important;}
  body:is(#order,#checkout) .as-opc-shell #opc-form .one-page-checkout__title {font-size:17px!important;margin-bottom:14px!important;}
  body:is(#order,#checkout) .as-opc-shell #opc-form :where(.form-label,label.form-control-label) {font-size:13px!important;margin-bottom:6px!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:49px!important;font-size:16px!important;border-radius:11px!important;padding:10px 12px!important;}
  body:is(#order,#checkout) .as-opc-shell #opc-form :where(.one-page-checkout__field,.form-group) {margin-bottom:11px!important;}
  body:is(#order,#checkout) .as-opc-shell .js-opc-payment-section {padding:16px 15px 3px!important;}
  body:is(#order,#checkout) .as-opc-shell .one-page-checkout__footer {padding:4px 15px 16px!important;}
  body:is(#order,#checkout) .as-opc-shell .one-page-checkout__footer :where(button,.btn) {width:100%;max-width:100%;white-space:normal!important;overflow-wrap:anywhere;}
  body:is(#order,#checkout) .as-opc-shell #opc-delivery-methods .as-cat-estimated-carrier {min-height:94px!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;padding:13px!important;}
  body:is(#order,#checkout) .as-opc-shell #opc-delivery-methods .as-cat-estimated-logo {width:76px!important;max-height:28px!important;}
  body:is(#order,#checkout) .as-opc-shell #opc-delivery-methods .as-cat-estimated-info {min-width:170px;}
  body:is(#order,#checkout) .as-opc-shell .cart-summary__products-number {font-size:12px!important;}
  body:is(#order,#checkout) .as-opc-shell .cart-summary__line .cart-summary__value {overflow-wrap:anywhere;text-align:right;}
  .as-hf67-progress-row {margin-bottom:12px;}
  .as-hf67-free-shipping {padding:13px 14px 11px;border-radius:15px;}
  .as-hf67-free-shipping__top {align-items:flex-start;gap:10px;flex-wrap:wrap;}
  .as-hf67-free-shipping__icon {width:34px;height:34px;flex-basis:34px;border-radius:10px;}
  .as-hf67-free-shipping__icon svg {width:18px;height:18px;}
  .as-hf67-free-shipping__headline {font-size:13px;}
  .as-hf67-free-shipping__subtitle {font-size:11.5px;}
  .as-hf67-free-shipping__count {flex:0 0 100%;text-align:right;margin-top:-2px;font-size:11px;}
  .as-hf67-free-shipping__track {margin-top:8px;height:8px;}
  .as-hf67-free-shipping__foot {font-size:10px;margin-top:7px;}
}
@media(max-width:360px){
  body:is(#order,#checkout) .as-opc-shell .as-opc-intro__copy h1 {font-size:22px!important;}
  body:is(#order,#checkout) .as-opc-shell #opc-form.one-page-checkout {padding-left:12px!important;padding-right:12px!important;}
  body:is(#order,#checkout) .as-opc-shell .js-opc-payment-section,
  body:is(#order,#checkout) .as-opc-shell .one-page-checkout__footer {padding-left:12px!important;padding-right:12px!important;}
}
@media(prefers-reduced-motion:reduce){.as-hf67-free-shipping__fill{transition:none;}}

/* HF77: clearer shipping milestone (cart + one-page checkout), without altering prices. */
.as-hf67-free-shipping{border-color:#efdde4;background:#fffafb;box-shadow:0 5px 18px rgba(70,36,50,.028);}
.as-hf67-free-shipping__icon{position:relative;background:#f7e6ed;color:#ad5877;border-radius:12px;}
.as-hf67-free-shipping__icon::after{content:'✓';display:none;position:absolute;right:-5px;top:-6px;align-items:center;justify-content:center;width:17px;height:17px;border-radius:50%;color:#fff;background:#628f72;border:2px solid #fff;font-family:Arial,sans-serif;font-weight:700;font-size:10px;line-height:1;}
.as-hf67-free-shipping__track{height:7px;background:#f2e5e9;}
.as-hf67-free-shipping__fill{background:linear-gradient(90deg,#ce91a6,#a95c7a);}
.as-hf67-free-shipping[data-as-achieved="true"]{background:#fafcfb;border-color:#e2eae4;}
.as-hf67-free-shipping[data-as-achieved="true"] .as-hf67-free-shipping__icon{background:#e9f3ec;color:#578066;}
.as-hf67-free-shipping[data-as-achieved="true"] .as-hf67-free-shipping__icon::after{display:flex;}
.as-hf67-free-shipping[data-as-achieved="true"] .as-hf67-free-shipping__headline{color:#23864c!important;}
.as-hf67-free-shipping[data-as-achieved="true"] .as-hf67-free-shipping__count{color:#47765d;background:#eaf4ed;border-radius:999px;padding:4px 9px;}
.as-hf67-free-shipping[data-as-achieved="true"] .as-hf67-free-shipping__fill{background:#709d7d;}
@media(max-width:767.98px){
 .as-hf67-free-shipping__top{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;}
 .as-hf67-free-shipping__count{grid-column:2;justify-self:start;text-align:left;margin:0;}
 .as-hf67-free-shipping__track{height:6px;}
}
