/* Nath's Cakes — Checkout page redesign */

/* ---------- Page base ---------- */
body#checkout { background: #faf5f6; font-family: 'DM Sans', Arial, sans-serif; }
body#checkout #wrapper { background: transparent; }
body#checkout #main { padding-top: 48px; padding-bottom: 48px; }

body#checkout .row { margin-left: -12px; margin-right: -12px; }
body#checkout .row > [class*="col-"] { padding-left: 12px; padding-right: 12px; }

/* Hide reassurance */
body#checkout #hook-reassurance,
body#checkout .block-reassurance,
body#checkout .blockreassurance,
body#checkout [id*="reassurance"],
body#checkout [class*="reassurance"] { display: none !important; }

/* ---------- Left column ---------- */
body#checkout .cart-grid-body { padding-bottom: 0; }

/* ---------- Checkout steps ---------- */
body#checkout .checkout-step {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 12px rgba(26,11,14,.06);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow .2s;
}

body#checkout .checkout-step.-current {
  box-shadow: 0 4px 24px rgba(242,96,116,.13);
}

/* Step title bar */
body#checkout .checkout-step .step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  margin: 0;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #b09298;
  border-bottom: none;
  cursor: default;
  letter-spacing: .3px;
  text-transform: uppercase;
}

body#checkout .checkout-step.-current .step-title {
  color: #1a0b0e;
  border-bottom: 1px solid #f5eaeb;
  padding-bottom: 16px;
}

body#checkout .checkout-step.-complete .step-title {
  color: #7a5560;
  cursor: pointer;
}

body#checkout .checkout-step.-complete .step-title:hover { color: #f26074; }

/* Step number badge */
body#checkout .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  background: #f1d8db;
  color: #b09298;
  transition: background .2s, color .2s;
}

body#checkout .checkout-step.-current .step-number {
  background: #f26074;
  color: #fff;
}

body#checkout .checkout-step.-complete .step-number {
  background: #f26074;
  color: #fff;
}

/* Checkmark icon on complete */
body#checkout .checkout-step .step-title i.done {
  display: none;
  color: #f26074;
  font-size: 18px;
}

body#checkout .checkout-step.-complete .step-title i.done { display: block; }
body#checkout .checkout-step.-complete .step-number { display: none; }

/* Edit link */
body#checkout .step-edit {
  margin-left: auto;
  font-size: 12px;
  font-weight: 400;
  color: #f26074;
  text-transform: none;
  letter-spacing: 0;
  display: none;
  align-items: center;
  gap: 2px;
}

body#checkout .checkout-step.-complete .step-edit { display: flex; }

body#checkout .step-edit i.material-icons { font-size: 14px; }

/* Step content */
body#checkout .checkout-step .content {
  padding: 20px;
  display: none;
}

body#checkout .checkout-step.-current .content { display: block; }

/* Complete step summary (collapsed view) */
body#checkout .checkout-step.-complete .content {
  display: none;
}

/* ---------- Personal info tabs (guest/login) ---------- */
body#checkout .nav.nav-inline {
  display: flex;
  align-items: center;
  gap: 0;
  background: #faf5f6;
  border-radius: 50px;
  padding: 3px;
  width: fit-content;
  margin-bottom: 24px;
  border: none;
}

body#checkout .nav.nav-inline .nav-item { list-style: none; }

body#checkout .nav.nav-inline .nav-separator { display: none; }

body#checkout .nav.nav-inline .nav-link {
  display: block;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: #7a5560;
  text-decoration: none;
  border: none;
  background: transparent;
  transition: background .15s, color .15s;
  white-space: nowrap;
}

body#checkout .nav.nav-inline .nav-link.active {
  background: #f26074;
  color: #fff;
}

body#checkout .nav.nav-inline .nav-link:hover:not(.active) {
  background: #f9eced;
  color: #f26074;
}

/* ---------- Form fields ---------- */
body#checkout .form-group {
  margin-bottom: 16px;
}

body#checkout .form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #7a5560;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 6px;
}

body#checkout .form-control {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid #f1d8db;
  border-radius: 10px;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 14px;
  color: #1a0b0e;
  background: #fff;
  box-shadow: none;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
  -webkit-appearance: none;
}

body#checkout .form-control:focus {
  border-color: #f26074;
  box-shadow: 0 0 0 3px rgba(242,96,116,.12);
}

body#checkout .form-control::placeholder { color: #d9c0c4; }

body#checkout .form-control.is-invalid { border-color: #f26074; }

body#checkout textarea.form-control {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
}

body#checkout select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b09298' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* Field help text */
body#checkout .form-text { font-size: 11px; color: #b09298; margin-top: 4px; }

/* ---------- Radio buttons (gender, carriers, payment) ---------- */
body#checkout .custom-radio {
  display: inline-flex;
  align-items: center;
  position: relative;
}

body#checkout .custom-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

body#checkout .custom-radio span:last-child {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #f1d8db;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  position: relative;
  flex-shrink: 0;
}

body#checkout .custom-radio input[type="radio"]:checked + span {
  border-color: #f26074;
  background: #f26074;
  box-shadow: inset 0 0 0 3px #fff;
}

/* Gender row */
body#checkout .custom-radio + label,
body#checkout label.radio-inline {
  font-size: 14px;
  font-weight: 400;
  color: #1a0b0e;
  cursor: pointer;
  margin-left: 6px;
  text-transform: none;
  letter-spacing: 0;
}

/* ---------- Checkboxes ---------- */
body#checkout .form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }

body#checkout .form-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid #f1d8db;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: border-color .15s, background .15s;
  margin-top: 1px;
}

body#checkout .form-check input[type="checkbox"]:checked {
  background: #f26074;
  border-color: #f26074;
}

body#checkout .form-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 1px;
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

body#checkout .form-check label {
  font-size: 13px;
  font-weight: 400;
  color: #7a5560;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  line-height: 1.5;
}

body#checkout .form-check label a { color: #f26074; text-decoration: underline; }

/* ---------- "Créez votre compte" optional section ---------- */
body#checkout .js-customer-form .form-group .form-control-label + small,
body#checkout .js-customer-form fieldset .form-group:last-of-type { font-size: 12px; color: #b09298; }

/* ---------- Identity (logged in state) ---------- */
body#checkout .identity {
  font-size: 14px;
  color: #1a0b0e;
  margin-bottom: 8px;
}

body#checkout .identity a { color: #f26074; text-decoration: none; }

/* ---------- Continue button ---------- */
body#checkout .btn.btn-primary.continue,
body#checkout .btn.btn-primary[name="controller"] {
  display: block;
  width: 100%;
  background: #f26074;
  border: none;
  border-radius: 50px;
  color: #fff;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .4px;
  padding: 13px 24px;
  text-align: center;
  cursor: pointer;
  transition: background .15s;
  box-shadow: 0 4px 14px rgba(242,96,116,.22);
  margin-top: 8px;
}

body#checkout .btn.btn-primary.continue:hover,
body#checkout .btn.btn-primary[name="controller"]:hover { background: #d94d62; }

/* ---------- Carriers (shipping step) ---------- */
body#checkout .delivery-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }

body#checkout .delivery-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid #f1d8db;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  margin: 0;
}

body#checkout .delivery-option:has(input:checked) {
  border-color: #f26074;
  background: #fff8f9;
}

body#checkout .delivery-option .col-sm-1 { flex: 0 0 auto; padding: 0; }
body#checkout .delivery-option .col-xs-9 { flex: 1; padding: 0; }
body#checkout .delivery-option-2 .row { display: flex; align-items: center; gap: 8px; margin: 0; }

body#checkout .carrier-name {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1a0b0e;
  display: block;
}

body#checkout .carrier-delay { font-size: 12px; color: #7a5560; }
body#checkout .carrier-price { font-size: 14px; font-weight: 700; color: #f26074; }

body#checkout .carrier-logo img { max-height: 32px; width: auto; }

/* ---------- Payment options ---------- */
body#checkout .payment-options { display: flex; flex-direction: column; gap: 8px; }

body#checkout .payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid #f1d8db;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}

body#checkout .payment-option:has(input:checked) {
  border-color: #f26074;
  background: #fff8f9;
}

body#checkout .payment-option label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #1a0b0e;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  flex: 1;
}

body#checkout .payment-option label img { max-height: 28px; width: auto; }

body#checkout .payment-additional-information {
  padding: 12px 16px;
  background: #faf5f6;
  border-radius: 0 0 12px 12px;
  border: 1.5px solid #f1d8db;
  border-top: none;
  margin-top: -8px;
  font-size: 13px;
  color: #7a5560;
}

/* Order button */
body#checkout #payment-confirmation button[type="submit"],
body#checkout #payment-confirmation .btn-primary {
  display: block;
  width: 100%;
  background: #f26074;
  border: none;
  border-radius: 50px;
  color: #fff;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 15px 24px;
  cursor: pointer;
  transition: background .15s;
  box-shadow: 0 4px 18px rgba(242,96,116,.3);
  margin-top: 16px;
  text-align: center;
}

body#checkout #payment-confirmation button[type="submit"]:hover { background: #d94d62; }

/* ---------- Address form ---------- */
body#checkout .add-address a,
body#checkout a[data-link-action] {
  color: #f26074;
  font-size: 13px;
  text-decoration: none;
}

body#checkout .add-address a:hover { text-decoration: underline; }

body#checkout .address-selector .address-item {
  border: 1.5px solid #f1d8db;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color .15s;
}

body#checkout .address-selector .address-item.selected { border-color: #f26074; background: #fff8f9; }

/* ---------- Right panel: cart summary ---------- */
body#checkout .cart-grid-right { position: sticky; top: 20px; }

body#checkout #js-checkout-summary {
  background: #fff;
  border: none;
  border-radius: 16px;
  box-shadow: 0 1px 12px rgba(26,11,14,.07);
  overflow: hidden;
  padding: 0;
}

/* Summary header */
body#checkout .cart-summary-products {
  padding: 16px 20px;
  border-bottom: 1px solid #f5eaeb;
}

body#checkout .cart-summary-products p:first-child {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1a0b0e;
  margin: 0 0 6px;
}

body#checkout .cart-summary-products .js-show-details {
  font-size: 12px;
  color: #f26074;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

body#checkout .cart-summary-products .js-show-details i { font-size: 16px; }
body#checkout .cart-summary-products p { margin: 0 0 4px; }

/* Product list (collapsed) */
body#checkout #cart-summary-product-list {
  margin-top: 10px;
}

body#checkout .cart-summary-product-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid #faf5f6;
}

body#checkout .cart-summary-product-line:last-child { border-bottom: none; }

body#checkout .cart-summary-product-line .media-body {
  flex: 1;
  min-width: 0;
}

body#checkout .cart-summary-product-line .product-name {
  font-size: 12px;
  font-weight: 500;
  color: #1a0b0e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

body#checkout .cart-summary-product-line .product-price {
  font-size: 12px;
  color: #7a5560;
}

/* Subtotals */
body#checkout .cart-summary-subtotals-container {
  padding: 12px 20px 0;
}

body#checkout .cart-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 5px 0;
  font-size: 13px;
  color: #7a5560;
}

body#checkout .cart-summary-line .label { font-weight: 400; }
body#checkout .cart-summary-line .value { font-weight: 500; color: #1a0b0e; }

/* Total row */
body#checkout .cart-summary-totals {
  padding: 0;
}

body#checkout .cart-summary-totals .cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 20px;
  background: #fdf6f7;
  border-top: 1px solid #f1d8db;
  margin-top: 8px;
}

body#checkout .cart-summary-totals .cart-total .label {
  font-size: 12px;
  font-weight: 600;
  color: #7a5560;
  text-transform: uppercase;
  letter-spacing: .5px;
}

body#checkout .cart-summary-totals .cart-total .value {
  font-size: 20px;
  font-weight: 700;
  color: #1a0b0e;
}

/* Voucher */
body#checkout .cart-voucher { padding: 12px 20px; }

body#checkout .cart-voucher .collapse-button {
  font-size: 12px;
  color: #b09298;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ---------- Alerts & errors ---------- */
body#checkout .alert { border-radius: 10px; font-size: 13px; padding: 10px 14px; border: none; }
body#checkout .alert-danger { background: #fde8ea; color: #c03050; }
body#checkout .alert-warning { background: #fff3cd; color: #856404; }

body#checkout .has-error .form-control { border-color: #f26074; }
body#checkout .has-error .help-block { font-size: 11px; color: #f26074; margin-top: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  body#checkout .cart-grid-right { position: static; margin-top: 16px; }
  body#checkout #main { padding-top: 24px; }
}

@media (max-width: 575px) {
  body#checkout .checkout-step .content { padding: 16px; }
  body#checkout .nav.nav-inline { width: 100%; }
  body#checkout .nav.nav-inline .nav-link { flex: 1; text-align: center; }
}






/* ===== FIX 2026-06-05 v6 : liens sidebar + radio dot via SVG inline ===== */

/* Liens et prix dans le récap panier */
body#checkout .cart-summary-products a,
body#checkout #cart-summary-product-list a,
body#checkout .cart-summary-products .media a,
body#checkout .cart-summary-products .product-name a {
  color: #1a0b0e !important;
  text-decoration: none !important;
}
body#checkout .cart-summary-products a:hover,
body#checkout #cart-summary-product-list a:hover,
body#checkout .cart-summary-products .media a:hover,
body#checkout .cart-summary-products .product-name a:hover {
  color: #f26074 !important;
}
body#checkout .cart-summary-products .js-show-details,
body#checkout .cart-summary-products .js-show-details:hover {
  color: #f26074 !important;
}
body#checkout .cart-summary-products .product-price {
  color: #7a5560 !important;
}

/* Radio dot via SVG inline en background (centrage natif par background-position) */
body#checkout .custom-radio span:last-child {
  box-sizing: border-box !important;
  width: 18px !important;
  height: 18px !important;
}
body#checkout .custom-radio input[type="radio"]:checked + span {
  border-color: #f26074 !important;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><circle cx='5' cy='5' r='4' fill='%23f26074'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 8px 8px !important;
  box-shadow: none !important;
}
body#checkout .custom-radio input[type="radio"]:checked + span::after {
  content: none !important;
}

.alert-info {
  background-color: #f26074;
  border-color: #f26074;
  color: white;
  border-radius: 50px;
  margin-top: 1vw;
}

.nc-pdp .add-to-cart, .page-product .add-to-cart {
  border-radius: 50px !important;
}

/* Hide PS touchspin injected buttons on main product quantity only */
body#product .product-quantity .bootstrap-touchspin-up,
body#product .product-quantity .bootstrap-touchspin-down,
body#product .product-quantity .touchspin-up,
body#product .product-quantity .touchspin-down,
body#product .product-quantity .input-group-btn-vertical,
body#product .product-quantity .input-group-btn,
body#product .product-quantity .input-group-prepend,
body#product .product-quantity .input-group-append { display: none !important; }

body#product #quantity_wanted::-webkit-inner-spin-button,
body#product #quantity_wanted::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
body#product #quantity_wanted {
  -moz-appearance: textfield;
  appearance: textfield;
}

.nc-pdp__desc-short {
  font-size: 17px;
}

body#product .product-add-to-cart > .control-label {
  margin-top: -25px;
}

/* Accordion PDP — native <details>/<summary> */
details.nc-pdp__acc-item > summary.nc-pdp__acc-trigger { list-style: none; cursor: pointer; }
details.nc-pdp__acc-item > summary.nc-pdp__acc-trigger::-webkit-details-marker { display: none; }
details.nc-pdp__acc-item > summary.nc-pdp__acc-trigger::marker { content: ''; }
details.nc-pdp__acc-item[open] > summary.nc-pdp__acc-trigger .nc-pdp__acc-icon { transform: rotate(180deg); }
.nc-pdp__acc-icon { transition: transform .2s ease; }

/* Restore .nc-pcard styles on product page (override product.css h2 rules) */
body#product .nc-pcard__name,
body#product .nc-pcard .nc-pcard__name,
body#product article.nc-pcard h2.nc-pcard__name {
  font-family: 'Pacifico', cursive !important;
  color: #fff !important;
  font-size: clamp(14px, 1.4vw, 17px) !important;
  font-weight: 400 !important;
  text-transform: none !important;
  text-shadow: 0 1px 8px rgba(0,0,0,.3) !important;
  line-height: 1.25 !important;
}
body#product .nc-pcard__name-link { color: #fff !important; text-decoration: none !important; }
body#product .nc-pcard__price-main {
  color: var(--nc-pink-mid, #f26074) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  font-family: 'DM Sans', sans-serif !important;
}
/* Reset button overrides from nathscakes-product.css so original card styles apply */
body#product .nc-pcard .nc-pcard__btn--cart {
  background: rgba(255,255,255,.15) !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.4) !important;
  border-radius: 50px !important;
  padding: 7px 8px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  font-family: 'DM Sans', sans-serif !important;
}
body#product .nc-pcard .nc-pcard__btn--buy {
  background: var(--nc-pink, #f26074) !important;
  color: #fff !important;
  border: 1.5px solid transparent !important;
  border-radius: 50px !important;
  padding: 7px 8px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  font-family: 'DM Sans', sans-serif !important;
  box-shadow: 0 4px 16px rgba(242,96,116,.4) !important;
}

/* Add column gap to product-card grid on product page */
body#product .products .js-product { padding-left: 12px !important; padding-right: 12px !important; margin-bottom: 24px !important; }
body#product .products { margin-left: -12px !important; margin-right: -12px !important; }

h2, .h2 {
  font-weight: 500;
  margin-bottom: 1vw;
}

.nc-pdp__acc-content {
  font-size: 17px;
}
.nc-pdp__acc-trigger {
  font-size: 17px;
  text-transform: none;
}

/* Restore pink/pill style for add-to-cart modal buttons on product page */
body#product #blockcart-modal .btn-primary,
body#product #blockcart-modal .btn-primary:focus,
body#product #blockcart-modal .btn-primary:active,
body#product .modal .btn-primary,
body#product .modal .btn-primary:focus,
body#product .modal .btn-primary:active {
  background-color: #f26074 !important;
  border-color: #f26074 !important;
  color: #fff !important;
  border-radius: 50px !important;
  padding: 10px 28px !important;
}
body#product #blockcart-modal .btn-primary:hover,
body#product .modal .btn-primary:hover {
  background-color: #d94d62 !important;
  border-color: #d94d62 !important;
}

.breadcrumb {
  font-size: 17px;
}

.alert {
  font-size: 17px;
}

/* Footer links must stay visible on product page */
body#product .nc-footer-social a { color: rgba(255,255,255,.6) !important; }
body#product .nc-footer-social a:hover { color: var(--nc-pink, #f26074) !important; }
body#product .nc-footer-col ul li a { color: rgba(255,255,255,.6) !important; }
body#product .nc-footer-col ul li a:hover { color: var(--nc-pink, #f26074) !important; }
body#product .nc-footer-bottom a { color: rgba(255,255,255,.3) !important; }
body#product .nc-footer-bottom a:hover { color: var(--nc-pink, #f26074) !important; }
body#product .nc-footer-contact a { color: rgba(255,255,255,.6) !important; }
body#product .nc-footer-contact a:hover { color: var(--nc-pink, #f26074) !important; }

.nc-ct-info__intro {
  font-size: 17px;
}

.nc-ct-form-sub {
  font-size: 17px;
}



/* ════════════════════════════════════════════════════
   PAGE CONNEXION — Re-design Nath's Cakes
   ════════════════════════════════════════════════════ */
body#authentication { background: #fdf5f5 !important; }
body#authentication #wrapper { background: transparent !important; padding: 0 !important; }
body#authentication #content-wrapper { width: 100% !important; max-width: none !important; padding: 0 !important; }

/* Hide breadcrumb on auth page */
body#authentication .breadcrumb { display: none !important; }

/* Center #main */
body#authentication #main {
  max-width: 640px !important;
  margin: 80px auto 80px !important;
  padding: 0 24px !important;
  background: transparent !important;
  float: none !important;
  width: auto !important;
}

/* Page header */
body#authentication .page-header {
  background: transparent !important;
  border: none !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  text-align: center !important;
}
body#authentication h1 {
  font-family: 'Pacifico', cursive !important;
  font-size: clamp(28px, 4vw, 38px) !important;
  color: #1a0b0e !important;
  text-align: center !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
  text-transform: none !important;
}

/* Kill Bootstrap card on .page-content (avoid double card) */
body#authentication #content.page-content,
body#authentication #content.page-content.card,
body#authentication #content.page-content.card.card-block {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Login form — single card */
body#authentication .login-form {
  background: #fff !important;
  border-radius: 24px !important;
  box-shadow: 0 12px 48px rgba(242,96,116,.10) !important;
  padding: 44px 40px !important;
  margin: 0 !important;
}

/* Form rows: vertical layout, full width */
body#authentication #login-form .form-group.row {
  display: block !important;
  margin: 0 0 20px 0 !important;
}
body#authentication #login-form .form-group.row > * {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
body#authentication #login-form .form-control-label {
  display: block !important;
  text-align: left !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #1a0b0e !important;
  margin: 0 0 8px 0 !important;
  letter-spacing: .3px;
}
body#authentication .form-control-label.required::after { content: ' *'; color: #f26074; }

body#authentication .form-control {
  width: 100% !important;
  border: 1.5px solid #ecdde0 !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  font-size: 15px !important;
  background: #fff !important;
  color: #1a0b0e !important;
  box-shadow: none !important;
  height: auto !important;
  transition: border-color .2s, box-shadow .2s;
}
body#authentication .form-control:focus {
  border-color: #f26074 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(242,96,116,.12) !important;
}
body#authentication .form-control-comment { display: none !important; }

/* Input group (password) — flex row */
body#authentication .input-group {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
}
body#authentication .input-group .form-control {
  flex: 1 !important;
  padding-right: 90px !important;
}
body#authentication .input-group-btn {
  position: absolute !important;
  right: 6px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 3 !important;
  width: auto !important;
  display: block !important;
  height: auto !important;
}
body#authentication .input-group .btn,
body#authentication .input-group-btn .btn,
body#authentication .input-group button {
  background: rgba(242,96,116,.10) !important;
  color: #f26074 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 7px 12px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .5px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  box-shadow: none !important;
  height: auto !important;
  line-height: 1 !important;
}
body#authentication .input-group .btn:hover { background: rgba(242,96,116,.18) !important; }

/* Forgot password */
body#authentication .forgot-password { text-align: center !important; margin: -4px 0 28px !important; }
body#authentication .forgot-password a { font-size: 13px !important; color: #f26074 !important; text-decoration: none !important; font-weight: 500; }
body#authentication .forgot-password a:hover { text-decoration: underline !important; }

/* Submit button */
body#authentication #submit-login {
  width: 100% !important;
  display: block !important;
  background: #f26074 !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 14px 32px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #fff !important;
  letter-spacing: 1px !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  box-shadow: 0 6px 20px rgba(242,96,116,.25);
  transition: background .2s, transform .2s, box-shadow .2s;
}
body#authentication #submit-login:hover {
  background: #d94d62 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(242,96,116,.35);
}

/* No account */
body#authentication .no-account {
  text-align: center !important;
  margin: 28px 0 0 !important;
  padding: 22px 0 0 !important;
  border-top: 1px solid #ecdde0 !important;
}
body#authentication .no-account a { font-size: 14px !important; color: #5a4448 !important; text-decoration: none !important; }
body#authentication .no-account a:hover { color: #f26074 !important; }

body#authentication .form-footer { border-top: none !important; padding-top: 0 !important; margin-top: 4px !important; }
body#authentication hr, body#authentication .form-fields > hr, body#authentication .form-footer > hr { display: none !important; }


/* ════════════════════════════════════════════════════
   PAGE MOT DE PASSE OUBLIÉ — Re-design Nath's Cakes
   ════════════════════════════════════════════════════ */
body#password { background: #fdf5f5 !important; }
body#password #wrapper { background: transparent !important; padding: 0 !important; }
body#password #content-wrapper { width: 100% !important; max-width: none !important; padding: 0 !important; }
body#password .breadcrumb { display: none !important; }

body#password #main {
  max-width: 640px !important;
  margin: 80px auto 80px !important;
  padding: 0 24px !important;
  background: transparent !important;
  float: none !important;
  width: auto !important;
}

body#password .page-header {
  background: transparent !important;
  border: none !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  text-align: center !important;
}
body#password h1 {
  font-family: 'Pacifico', cursive !important;
  font-size: clamp(28px, 4vw, 38px) !important;
  color: #1a0b0e !important;
  text-align: center !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
  text-transform: none !important;
}

/* Kill outer card */
body#password #content.page-content,
body#password #content.page-content.card,
body#password #content.page-content.card.card-block {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* The form card */
body#password .forgotten-password {
  background: #fff !important;
  border-radius: 24px !important;
  box-shadow: 0 12px 48px rgba(242,96,116,.10) !important;
  padding: 44px 40px !important;
  margin: 0 !important;
}

/* Intro paragraph */
body#password .send-renew-password-link {
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: #5a4448 !important;
  text-align: center !important;
  margin: 0 0 28px !important;
}
body#password .forgotten-password > header { margin: 0 !important; padding: 0 !important; }

/* Form layout vertical */
body#password .form-fields { margin: 0 !important; }
body#password .form-group {
  display: block !important;
  margin: 0 0 20px 0 !important;
}
body#password .form-group > * {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: left !important;
}

body#password .form-control-label {
  display: block !important;
  text-align: left !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #1a0b0e !important;
  margin: 0 0 8px 0 !important;
  letter-spacing: .3px;
}
body#password .form-control-label.required::after { content: ' *'; color: #f26074; }

body#password .form-control {
  width: 100% !important;
  border: 1.5px solid #ecdde0 !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  font-size: 15px !important;
  background: #fff !important;
  color: #1a0b0e !important;
  box-shadow: none !important;
  height: auto !important;
  transition: border-color .2s, box-shadow .2s;
}
body#password .form-control:focus {
  border-color: #f26074 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(242,96,116,.12) !important;
}

/* Email input on its own line */
body#password .center-email-fields .email,
body#password .center-email-fields input { display: block !important; width: 100% !important; }

/* Hide mobile-only submit on desktop, desktop-only on mobile (respect Bootstrap utilities) */
@media (min-width: 576px) {
  body#password .hidden-sm-up { display: none !important; }
}
@media (max-width: 575.98px) {
  body#password .hidden-xs-down { display: none !important; }
}

/* Submit button */
body#password #send-reset-link,
body#password .forgotten-password .form-control-submit {
  width: auto !important;
  max-width: 360px !important;
  display: block !important;
  margin: 40px auto 0 !important;
  background: #f26074 !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 14px 32px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #fff !important;
  letter-spacing: 1px !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
  margin: 8px 0 0 !important;
  box-shadow: 0 6px 20px rgba(242,96,116,.25);
  transition: background .2s, transform .2s, box-shadow .2s;
}
body#password #send-reset-link:hover,
body#password .forgotten-password .form-control-submit:hover {
  background: #d94d62 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(242,96,116,.35);
}

/* Footer (Retour à la connexion) — outside the form */
body#password .page-footer {
  text-align: center !important;
  margin: 24px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}
body#password .page-footer a,
body#password #back-to-login,
body#password a.account-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 14px !important;
  color: #5a4448 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  background: transparent !important;
}
body#password .page-footer a:hover,
body#password #back-to-login:hover,
body#password a.account-link:hover { color: #f26074 !important; }
body#password .page-footer a .material-icons,
body#password #back-to-login .material-icons { font-size: 18px !important; color: inherit !important; }


/* Force vertical layout in .center-email-fields and add bottom space */
body#password .center-email-fields { display: block !important; }
body#password .center-email-fields > .email,
body#password .center-email-fields > .col-md-5,
body#password .center-email-fields > .col-md-5.email {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 0 32px 0 !important;
}
/* Make sure mobile-only submit is hidden on desktop even after submit rules */
@media (min-width: 576px) {
  body#password button.hidden-sm-up,
  body#password .forgotten-password .hidden-sm-up { display: none !important; }
}
@media (max-width: 575.98px) {
  body#password button.hidden-xs-down,
  body#password .forgotten-password .hidden-xs-down { display: none !important; }
}

/* ════════════════════════════════════════════════════
   PAGE INSCRIPTION — Re-design Nath's Cakes
   ════════════════════════════════════════════════════ */
body#registration { background: #fdf5f5 !important; }
body#registration #wrapper { background: transparent !important; padding: 0 !important; }
body#registration #content-wrapper { width: 100% !important; max-width: none !important; padding: 0 !important; }
body#registration .breadcrumb { display: none !important; }

body#registration #main {
  max-width: 720px !important;
  margin: 80px auto 80px !important;
  padding: 0 24px !important;
  background: transparent !important;
  float: none !important;
  width: auto !important;
}

body#registration .page-header {
  background: transparent !important;
  border: none !important;
  margin: 0 0 28px !important;
  padding: 0 !important;
  text-align: center !important;
}
body#registration h1 {
  font-family: 'Pacifico', cursive !important;
  font-size: clamp(28px, 4vw, 38px) !important;
  color: #1a0b0e !important;
  text-align: center !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
  text-transform: none !important;
}

body#registration #content.page-content,
body#registration #content.page-content.card,
body#registration #content.page-content.card.card-block {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body#registration #customer-form,
body#registration .js-customer-form {
  background: #fff !important;
  border-radius: 24px !important;
  box-shadow: 0 12px 48px rgba(242,96,116,.10) !important;
  padding: 44px 44px !important;
  margin: 0 !important;
}

body#registration .text-sm-center {
  text-align: center !important;
  font-size: 14px !important;
  color: #5a4448 !important;
  margin: 0 0 28px !important;
  padding: 0 0 22px !important;
  border-bottom: 1px solid #ecdde0 !important;
}
body#registration .text-sm-center a {
  color: #f26074 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
body#registration .text-sm-center a:hover { text-decoration: underline !important; }

body#registration .form-group.row {
  display: block !important;
  margin: 0 0 20px 0 !important;
}
body#registration .form-group.row > * {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: left !important;
}

body#registration .form-control-label {
  display: block !important;
  text-align: left !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #1a0b0e !important;
  margin: 0 0 8px 0 !important;
  letter-spacing: .3px;
}
body#registration .form-control-label.required::after { content: " *"; color: #f26074; }

body#registration .form-control {
  width: 100% !important;
  border: 1.5px solid #ecdde0 !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  font-size: 15px !important;
  background: #fff !important;
  color: #1a0b0e !important;
  box-shadow: none !important;
  height: auto !important;
  transition: border-color .2s, box-shadow .2s;
}
body#registration .form-control:focus {
  border-color: #f26074 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(242,96,116,.12) !important;
}

body#registration .form-control-comment {
  display: block !important;
  font-size: 12px !important;
  color: #9b8082 !important;
  margin-top: 6px !important;
  font-style: italic;
  padding: 0 4px !important;
  text-align: left !important;
}
body#registration .form-control-comment:empty { display: none !important; }

/* Radios M./Mme as pill chips */
body#registration .radio-inline {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 12px 8px 0 !important;
  cursor: pointer !important;
  padding: 8px 18px !important;
  border: 1.5px solid #ecdde0 !important;
  border-radius: 50px !important;
  transition: all .2s;
  font-weight: 500;
  font-size: 14px;
}
body#registration .radio-inline:hover { border-color: #f26074; }
body#registration .radio-inline .custom-radio {
  width: 16px !important;
  height: 16px !important;
  border: 2px solid #ecdde0 !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fff !important;
  flex-shrink: 0;
  position: relative;
}
body#registration .radio-inline .custom-radio input[type="radio"] {
  appearance: none; -webkit-appearance: none;
  width: 0; height: 0; opacity: 0; margin: 0; position: absolute;
}
body#registration .radio-inline .custom-radio input[type="radio"]:checked + span {
  display: block !important;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f26074 !important;
}

/* Checkboxes */
body#registration .custom-checkbox {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 4px 0 !important;
  cursor: pointer;
}
body#registration .custom-checkbox input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px;
  border: 2px solid #ecdde0 !important;
  border-radius: 6px !important;
  background: #fff !important;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  transition: all .2s;
}
body#registration .custom-checkbox input[type="checkbox"]:checked {
  background: #f26074 !important;
  border-color: #f26074 !important;
}
body#registration .custom-checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px; top: 1px;
  width: 6px; height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
body#registration .custom-checkbox span,
body#registration .custom-checkbox label,
body#registration .psgdpr_consent_message {
  font-size: 14px !important;
  color: #5a4448 !important;
  line-height: 1.5 !important;
}
body#registration .custom-checkbox a { color: #f26074 !important; text-decoration: underline !important; }

/* Input group */
body#registration .input-group { position: relative !important; display: flex !important; align-items: center !important; width: 100% !important; }
body#registration .input-group .form-control { flex: 1 !important; padding-right: 90px !important; }
body#registration .input-group-btn {
  position: absolute !important;
  right: 6px !important; top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 3 !important; width: auto !important; display: block !important; height: auto !important;
}
body#registration .input-group .btn,
body#registration .input-group-btn .btn,
body#registration .input-group button {
  background: rgba(242,96,116,.10) !important;
  color: #f26074 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 7px 12px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .5px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  box-shadow: none !important;
  height: auto !important;
  line-height: 1 !important;
}
body#registration .input-group .btn:hover { background: rgba(242,96,116,.18) !important; }

/* GDPR / conditions visual grouping */
body#registration .ps-shown-by-js,
body#registration .psgdpr_consent {
  background: #fdf5f5 !important;
  border-radius: 12px !important;
  padding: 16px 18px !important;
  margin: 8px 0 16px !important;
}

/* Submit button */
body#registration .form-footer { margin-top: 28px !important; padding-top: 0 !important; border: none !important; text-align: center !important; }
body#registration #customer-form .form-control-submit,
body#registration #customer-form button[type="submit"].btn-primary {
  width: auto !important;
  max-width: 360px !important;
  display: block !important;
  margin: 16px auto 0 !important;
  float: none !important;
  background: #f26074 !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 14px 32px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #fff !important;
  letter-spacing: 1px !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
  box-shadow: 0 6px 20px rgba(242,96,116,.25);
  transition: background .2s, transform .2s, box-shadow .2s;
}
body#registration #customer-form .form-control-submit:hover,
body#registration #customer-form button[type="submit"].btn-primary:hover {
  background: #d94d62 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(242,96,116,.35);
}

body#registration hr { display: none !important; }

/* Registration: hide empty labels above checkboxes (PS renders a hollow .required label) */
body#registration .form-group.row:has(.custom-checkbox) > .form-control-label { display: none !important; }
body#registration .form-control-label:empty { display: none !important; }
body#registration .form-control-label.required:empty::after { content: none !important; }

/* Hide PS legacy icon inside .custom-checkbox span, keep input visible */
body#registration .custom-checkbox .checkbox-checked,
body#registration .custom-checkbox label > span > i.material-icons { display: none !important; }
body#registration .custom-checkbox label > span { display: none !important; }
/* Force native checkbox visibility (theme.css hides it by default) */
body#registration .custom-checkbox input[type=checkbox] {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  border: 2px solid #ecdde0 !important;
  border-radius: 6px !important;
  background: #fff !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  margin: 2px 0 0 0 !important;
}

/* Override any leftover Bootstrap blue link colors on the page */
body#registration a:not(.btn):not(.form-control-submit) { color: #f26074 !important; }
body#registration a:not(.btn):not(.form-control-submit):hover { color: #d94d62 !important; }

/* Show required asterisk next to required checkboxes */
body#registration .form-group.row:has(.form-control-label.required) .custom-checkbox > label::after {
  content: " *";
  color: #f26074;
  font-weight: 700;
  margin-left: 4px;
}

/* Keep PS user-info but hide its text labels — icons only */
.nc-header-icons #_desktop_user_info { display: flex !important; align-items: center !important; gap: 2px !important; }
.nc-header-icons #_desktop_user_info a {
  font-size: 0 !important;
  line-height: 1 !important;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.nc-header-icons #_desktop_user_info a > * { font-size: 0 !important; }
.nc-header-icons #_desktop_user_info a .material-icons { font-size: 22px !important; }
/* Hide redundant static user button when logged-in (avoid 3 icons) */
.logged-in .nc-user-mobile-btn,
body:has(#_desktop_user_info .logout) .nc-user-mobile-btn { display: none !important; }


/* ════════════════════════════════════════════════════
   PAGE MON COMPTE — Re-design UI/UX Nath's Cakes
   ════════════════════════════════════════════════════ */
body#my-account,
body.page-customer-account {
  background: linear-gradient(180deg, #fdf5f5 0%, #fff 60%) !important;
}
body#my-account #wrapper,
body.page-customer-account #wrapper { background: transparent !important; padding: 0 !important; }
body#my-account #content-wrapper,
body.page-customer-account #content-wrapper { width: 100% !important; max-width: none !important; padding: 0 !important; }
body#my-account .breadcrumb,
body.page-customer-account .breadcrumb { display: none !important; }

body#my-account #main,
body.page-customer-account #main {
  max-width: 1120px !important;
  margin: 60px auto 100px !important;
  padding: 0 24px !important;
  background: transparent !important;
  float: none !important;
  width: auto !important;
}

body#my-account .page-header,
body.page-customer-account .page-header {
  background: transparent !important;
  border: none !important;
  margin: 0 0 56px !important;
  padding: 0 !important;
  text-align: center !important;
  position: relative;
}
body#my-account .page-header::before,
body.page-customer-account .page-header::before {
  content: "👋 Bienvenue dans votre espace";
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #f26074;
  text-transform: uppercase;
  margin-bottom: 14px;
}
body#my-account h1,
body.page-customer-account h1 {
  font-family: "Pacifico", cursive !important;
  font-size: clamp(34px, 5vw, 52px) !important;
  color: #1a0b0e !important;
  text-align: center !important;
  margin: 0 auto !important;
  line-height: 1.1 !important;
  font-weight: 400 !important;
  text-transform: none !important;
  background: transparent !important;
}
body#my-account .page-header::after,
body.page-customer-account .page-header::after {
  content: "Gérez vos informations, suivez vos commandes et préparez votre prochaine douceur.";
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  color: #7a5560;
  margin: 18px auto 0;
  max-width: 540px;
  line-height: 1.6;
}

body#my-account #content.page-content,
body#my-account #content.page-content.card,
body#my-account #content.page-content.card.card-block,
body.page-customer-account #content.page-content,
body.page-customer-account #content.page-content.card,
body.page-customer-account #content.page-content.card.card-block {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body#my-account .row,
body.page-customer-account .row { margin: 0 !important; }
body#my-account .links,
body.page-customer-account .links {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 !important;
  width: 100% !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}
@media (max-width: 900px) {
  body#my-account .links,
  body.page-customer-account .links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  body#my-account .links,
  body.page-customer-account .links { grid-template-columns: 1fr; }
}

body#my-account .links > a,
body.page-customer-account .links > a {
  position: relative !important;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  background: #fff !important;
  border: 1.5px solid #f4e5e8 !important;
  border-radius: 20px !important;
  padding: 28px 24px 28px 28px !important;
  text-decoration: none !important;
  color: #1a0b0e !important;
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  box-shadow: 0 2px 12px rgba(26,11,14,.04);
}
body#my-account .links > a:hover,
body.page-customer-account .links > a:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(242,96,116,.18) !important;
  border-color: #f26074 !important;
}
body#my-account .links > a::after,
body.page-customer-account .links > a::after {
  content: "→";
  position: absolute;
  right: 22px;
  top: 30px;
  font-size: 22px;
  color: #f26074;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .25s, transform .25s;
}
body#my-account .links > a:hover::after,
body.page-customer-account .links > a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

body#my-account .link-item,
body.page-customer-account .link-item {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  text-align: left;
  font-family: "DM Sans", sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1a0b0e !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1.3 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}

body#my-account .link-item i.material-icons,
body.page-customer-account .link-item i.material-icons {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #ffe6ea 0%, #fcd2d9 100%);
  color: #f26074 !important;
  border-radius: 18px;
  font-size: 28px !important;
  margin: 0 !important;
  transition: transform .25s ease, background .25s ease;
  box-shadow: 0 4px 14px rgba(242,96,116,.15);
}
body#my-account .links > a:hover .link-item i.material-icons,
body.page-customer-account .links > a:hover .link-item i.material-icons {
  background: linear-gradient(135deg, #fcd2d9 0%, #f8a8b6 100%);
  color: #b03048 !important;
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 6px 18px rgba(242,96,116,.28);
}

body#my-account .link-item::after,
body.page-customer-account .link-item::after {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #9b8082;
  margin-top: 6px;
  line-height: 1.5;
}
body#my-account #identity-link .link-item::after,
body.page-customer-account #identity-link .link-item::after { content: "Votre profil et vos préférences"; }
body#my-account #address-link .link-item::after,
body.page-customer-account #address-link .link-item::after { content: "Ajoutez votre première adresse de livraison"; }
body#my-account #addresses-link .link-item::after,
body.page-customer-account #addresses-link .link-item::after { content: "Vos adresses de livraison"; }
body#my-account #history-link .link-item::after,
body.page-customer-account #history-link .link-item::after { content: "Suivez et consultez vos commandes"; }
body#my-account #order-slips-link .link-item::after,
body.page-customer-account #order-slips-link .link-item::after { content: "Vos avoirs et remboursements"; }
body#my-account #discounts-link .link-item::after,
body.page-customer-account #discounts-link .link-item::after { content: "Vos bons de réduction"; }
body#my-account #returns-link .link-item::after,
body.page-customer-account #returns-link .link-item::after { content: "Vos retours de marchandise"; }

body#my-account .page-footer,
body.page-customer-account .page-footer {
  margin-top: 56px !important;
  padding: 28px 0 0 !important;
  text-align: center !important;
  background: transparent !important;
  border: none !important;
}
body#my-account .page-footer .text-sm-center,
body.page-customer-account .page-footer .text-sm-center {
  text-align: center !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
body#my-account .page-footer a,
body.page-customer-account .page-footer a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 12px 28px !important;
  border: 1.5px solid #f26074 !important;
  background: #fff !important;
  color: #f26074 !important;
  border-radius: 50px !important;
  font-family: "DM Sans", sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: all .2s ease;
}
body#my-account .page-footer a:not(:has(i))::before,
body.page-customer-account .page-footer a:not(:has(i))::before {
  content: "↩";
  font-size: 16px;
  line-height: 1;
}
body#my-account .page-footer a:hover,
body.page-customer-account .page-footer a:hover {
  background: #f26074 !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(242,96,116,.3);
}

/* ════════════════════════════════════════════════════
   PAGES CUSTOMER (identité, adresses, etc.) — Formulaires
   ════════════════════════════════════════════════════ */
body#identity,
body#address,
body#addresses,
body#order-detail,
body.page-customer-account[class*="page-"] {
  background: linear-gradient(180deg, #fdf5f5 0%, #fff 60%) !important;
}

body#identity #main,
body#address #main,
body#addresses #main {
  max-width: 720px !important;
  margin: 60px auto 100px !important;
  padding: 0 24px !important;
  background: transparent !important;
  float: none !important;
  width: auto !important;
}

body#identity #content.page-content,
body#address #content.page-content,
body#addresses #content.page-content {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body#identity .breadcrumb,
body#address .breadcrumb,
body#addresses .breadcrumb { display: none !important; }

body#identity .page-header,
body#address .page-header,
body#addresses .page-header {
  background: transparent !important;
  border: none !important;
  margin: 0 0 28px !important;
  padding: 0 !important;
  text-align: center !important;
}
body#identity h1,
body#address h1,
body#addresses h1 {
  font-family: "Pacifico", cursive !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  color: #1a0b0e !important;
  text-align: center !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
  text-transform: none !important;
}

/* Form card wrapper */
body#identity #customer-form,
body#identity form,
body#address form,
body#addresses form {
  background: #fff !important;
  border-radius: 24px !important;
  box-shadow: 0 12px 48px rgba(242,96,116,.10) !important;
  padding: 44px 44px !important;
  margin: 0 !important;
}

/* Form rows */
body#identity .form-group.row,
body#address .form-group.row,
body#addresses .form-group.row {
  display: block !important;
  margin: 0 0 20px 0 !important;
}
body#identity .form-group.row > *,
body#address .form-group.row > *,
body#addresses .form-group.row > * {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: left !important;
}

body#identity .form-control-label,
body#address .form-control-label,
body#addresses .form-control-label {
  display: block !important;
  text-align: left !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #1a0b0e !important;
  margin: 0 0 8px 0 !important;
  letter-spacing: .3px;
}
body#identity .form-control-label.required::after,
body#address .form-control-label.required::after,
body#addresses .form-control-label.required::after { content: " *"; color: #f26074; }

body#identity .form-control,
body#address .form-control,
body#addresses .form-control {
  width: 100% !important;
  border: 1.5px solid #ecdde0 !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  font-size: 15px !important;
  background: #fff !important;
  color: #1a0b0e !important;
  box-shadow: none !important;
  height: auto !important;
  transition: border-color .2s, box-shadow .2s;
}
body#identity .form-control:focus,
body#address .form-control:focus,
body#addresses .form-control:focus {
  border-color: #f26074 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(242,96,116,.12) !important;
}

body#identity .form-control-comment,
body#address .form-control-comment,
body#addresses .form-control-comment {
  display: block !important;
  font-size: 12px !important;
  color: #9b8082 !important;
  margin-top: 6px !important;
  font-style: italic;
  padding: 0 4px !important;
  text-align: left !important;
}
body#identity .form-control-comment:empty,
body#address .form-control-comment:empty,
body#addresses .form-control-comment:empty { display: none !important; }

/* Radios M./Mme as chip-pills */
body#identity .radio-inline,
body#address .radio-inline,
body#addresses .radio-inline {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 12px 8px 0 !important;
  cursor: pointer !important;
  padding: 8px 18px !important;
  border: 1.5px solid #ecdde0 !important;
  border-radius: 50px !important;
  transition: all .2s;
  font-weight: 500;
  font-size: 14px;
}
body#identity .radio-inline:hover,
body#address .radio-inline:hover,
body#addresses .radio-inline:hover { border-color: #f26074; }
body#identity .radio-inline .custom-radio,
body#address .radio-inline .custom-radio,
body#addresses .radio-inline .custom-radio {
  width: 16px !important;
  height: 16px !important;
  border: 2px solid #ecdde0 !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fff !important;
  flex-shrink: 0;
  position: relative;
}
body#identity .radio-inline .custom-radio input[type="radio"],
body#address .radio-inline .custom-radio input[type="radio"],
body#addresses .radio-inline .custom-radio input[type="radio"] {
  appearance: none; -webkit-appearance: none;
  width: 0; height: 0; opacity: 0; margin: 0; position: absolute;
}
body#identity .radio-inline .custom-radio input[type="radio"]:checked + span,
body#address .radio-inline .custom-radio input[type="radio"]:checked + span,
body#addresses .radio-inline .custom-radio input[type="radio"]:checked + span {
  display: block !important;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f26074 !important;
}

/* Checkboxes */
body#identity .custom-checkbox,
body#address .custom-checkbox,
body#addresses .custom-checkbox {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 4px 0 !important;
  cursor: pointer;
}
body#identity .custom-checkbox input[type="checkbox"],
body#address .custom-checkbox input[type="checkbox"],
body#addresses .custom-checkbox input[type="checkbox"] {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  border: 2px solid #ecdde0 !important;
  border-radius: 6px !important;
  background: #fff !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  margin: 2px 0 0 0 !important;
}
body#identity .custom-checkbox input[type="checkbox"]:checked,
body#address .custom-checkbox input[type="checkbox"]:checked,
body#addresses .custom-checkbox input[type="checkbox"]:checked {
  background: #f26074 !important;
  border-color: #f26074 !important;
}
body#identity .custom-checkbox input[type="checkbox"]:checked::after,
body#address .custom-checkbox input[type="checkbox"]:checked::after,
body#addresses .custom-checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px; top: 1px;
  width: 6px; height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
body#identity .custom-checkbox label > span,
body#address .custom-checkbox label > span,
body#addresses .custom-checkbox label > span { display: none !important; }
body#identity .custom-checkbox .checkbox-checked,
body#identity .custom-checkbox label > span > i.material-icons,
body#address .custom-checkbox .checkbox-checked,
body#address .custom-checkbox label > span > i.material-icons,
body#addresses .custom-checkbox .checkbox-checked,
body#addresses .custom-checkbox label > span > i.material-icons { display: none !important; }

/* Input group (password show) */
body#identity .input-group,
body#address .input-group,
body#addresses .input-group { position: relative !important; display: flex !important; align-items: center !important; width: 100% !important; }
body#identity .input-group .form-control,
body#address .input-group .form-control,
body#addresses .input-group .form-control { flex: 1 !important; padding-right: 90px !important; }
body#identity .input-group-btn,
body#address .input-group-btn,
body#addresses .input-group-btn {
  position: absolute !important;
  right: 6px !important; top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 3 !important; width: auto !important; display: block !important; height: auto !important;
}
body#identity .input-group .btn,
body#identity .input-group-btn .btn,
body#identity .input-group button,
body#address .input-group .btn,
body#address .input-group-btn .btn,
body#address .input-group button,
body#addresses .input-group .btn,
body#addresses .input-group-btn .btn,
body#addresses .input-group button {
  background: rgba(242,96,116,.10) !important;
  color: #f26074 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 7px 12px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .5px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  box-shadow: none !important;
  height: auto !important;
  line-height: 1 !important;
}

/* GDPR / consent blocks */
body#identity .ps-shown-by-js,
body#identity .psgdpr_consent,
body#address .ps-shown-by-js,
body#address .psgdpr_consent,
body#addresses .ps-shown-by-js,
body#addresses .psgdpr_consent {
  background: #fdf5f5 !important;
  border-radius: 12px !important;
  padding: 16px 18px !important;
  margin: 8px 0 16px !important;
}

/* Submit button */
body#identity .form-footer,
body#address .form-footer,
body#addresses .form-footer { margin-top: 28px !important; padding-top: 0 !important; border: none !important; text-align: center !important; }
body#identity .form-control-submit,
body#identity button[type="submit"].btn-primary,
body#address .form-control-submit,
body#address button[type="submit"].btn-primary,
body#addresses .form-control-submit,
body#addresses button[type="submit"].btn-primary {
  width: auto !important;
  max-width: 360px !important;
  display: block !important;
  margin: 16px auto 0 !important;
  float: none !important;
  background: #f26074 !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 14px 32px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #fff !important;
  letter-spacing: 1px !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
  box-shadow: 0 6px 20px rgba(242,96,116,.25);
  transition: background .2s, transform .2s, box-shadow .2s;
}
body#identity .form-control-submit:hover,
body#identity button[type="submit"].btn-primary:hover,
body#address .form-control-submit:hover,
body#address button[type="submit"].btn-primary:hover,
body#addresses .form-control-submit:hover,
body#addresses button[type="submit"].btn-primary:hover {
  background: #d94d62 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(242,96,116,.35);
}

/* Hide hero subtitle on form pages (the my-account ::before/::after only applies to body#my-account) */
body#identity .page-header::before,
body#identity .page-header::after,
body#address .page-header::before,
body#address .page-header::after,
body#addresses .page-header::before,
body#addresses .page-header::after { content: none !important; }

/* Force footer styles on checkout page */
body#checkout #footer,
body#checkout footer.js-footer {
  background: #1a0b0e !important;
  color: rgba(255,255,255,.75) !important;
  display: block !important;
  width: 100% !important;
  padding: 64px 24px 0 !important;
}
body#checkout #footer .nc-footer-main { display: grid !important; grid-template-columns: 1fr 1fr 1fr 1fr !important; gap: 48px !important; max-width: 1200px !important; margin: 0 auto !important; padding: 0 0 48px !important; }
body#checkout #footer .nc-footer-bottom { max-width: 1200px !important; margin: 0 auto !important; padding: 24px 0 !important; border-top: 1px solid rgba(255,255,255,.08) !important; display: flex !important; justify-content: space-between !important; }
@media (max-width: 900px) { body#checkout #footer .nc-footer-main { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 560px) { body#checkout #footer .nc-footer-main { grid-template-columns: 1fr !important; } }
