/* Mooiste Meisie – My Account sign-in restyle 1.0.4. Scoped to body.mmc-acc (logged-out My Account screens);
   the tab-bar / WhatsApp clearance rules apply to every My Account screen. */
body.mmc-acc{--mmc-ink:#251b19;--mmc-muted:#6a5e59;--mmc-link:#652e32;--mmc-field:#fffaf6;--mmc-line:#d9ccc2;--mmc-ring:rgba(101,46,50,.16);--mmc-card-line:#ded4cc;--mmc-note:#f3e9e2;--mmc-head:Georgia,Gelasio,"Times New Roman",serif;--mmc-body:Arial,Helvetica,sans-serif}

/* Mobile tab bar (<=767px on live) and WhatsApp bubble must never cover the form */
@media (max-width:767px){
  body.woocommerce-account{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))!important}
  body.woocommerce-account #ht-ctc-chat{bottom:calc(84px + 16px + env(safe-area-inset-bottom,0px))!important}
  /* focused fields scroll clear of the tab bar (84) plus a 16px gap; the bubble is hidden when signed out */
  html:has(body.woocommerce-account){scroll-padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))}
}
/* 1.0.1 (Web Designer): no WhatsApp bubble on the signed-out My Account screens, any width */
body.mmc-acc #ht-ctc-chat,body.mmc-acc .ht-ctc-chat,body.mmc-acc .ht_ctc_chat_greetings_box,body.mmc-acc .ht_ctc_notification{display:none!important}

/* Phone: the mock-up's 16px page gutter (live theme adds 15px more inside the container) */
/* Phone/tablet: the theme stacks container padding (15px) and grid margins (-15px) so the content box is 30px narrower than the 16px gutter in the mock-up */
@media (max-width:999px){body.mmc-acc #content>.container{padding-left:0;padding-right:0}body.mmc-acc #content .site-content-grid{margin-left:0;margin-right:0;width:auto}body.mmc-acc #content .content-wrapper{padding-left:0;padding-right:0}}

/* Heading: kicker above the theme's h1 (decorative, hidden from screen readers) */
body.mmc-acc .entry-header .entry-title{font-family:var(--mmc-head);font-size:40px!important;font-weight:400;letter-spacing:-.03em;line-height:1.1;color:var(--mmc-ink);margin:0}
body.mmc-acc .entry-header .entry-title::before{content:"Your account";content:"Your account" / "";display:block;font:700 11px/1.4 var(--mmc-body);letter-spacing:.2em;text-transform:uppercase;color:var(--mmc-link);margin:0 0 6px}
body.mmc-acc .entry-header{margin-bottom:0}

/* Intro above the notices and cards */
body.mmc-acc .entry-content>.woocommerce{display:flex;flex-direction:column}
body.mmc-acc .entry-content>.woocommerce>*{min-width:0;max-width:100%}
body.mmc-acc .mmc-intro{order:-1}
body.mmc-acc .mmc-lead{color:var(--mmc-muted);font:15px/1.5 var(--mmc-body);margin:8px 0 0;max-width:560px}
body.mmc-acc .mmc-seg{display:flex;margin-top:20px;border:1px solid var(--mmc-line);border-radius:999px;padding:4px;background:#fff}
body.mmc-acc .mmc-seg a{flex:1;text-align:center;min-height:44px;display:grid;place-items:center;border-radius:999px;text-decoration:none;font:700 12px var(--mmc-body);letter-spacing:.12em;text-transform:uppercase;color:var(--mmc-ink)!important}
body.mmc-acc .mmc-seg a.on{background:var(--mmc-ink);color:#fff!important}
body.mmc-acc .mmc-seg a:focus-visible{outline:2px solid var(--mmc-link);outline-offset:2px}

/* Notices */
body.mmc-acc .woocommerce-notices-wrapper:empty{display:none}
body.mmc-acc .woocommerce-notices-wrapper{margin-top:20px}
body.mmc-acc .woocommerce .woocommerce-error,body.mmc-acc .woocommerce .woocommerce-message,body.mmc-acc .woocommerce .woocommerce-info{background:#fff;border:1px solid var(--mmc-card-line);border-left:3px solid var(--mmc-link);border-top-width:1px;color:var(--mmc-ink);font:15px/1.5 var(--mmc-body);padding:14px 16px 14px 16px;margin:0 0 4px;list-style:none;box-sizing:border-box;max-width:100%;overflow-wrap:anywhere}
body.mmc-acc .woocommerce .woocommerce-error::before,body.mmc-acc .woocommerce .woocommerce-message::before,body.mmc-acc .woocommerce .woocommerce-info::before{display:none}
body.mmc-acc .woocommerce .woocommerce-error li{margin:0;padding:0}
body.mmc-acc .woocommerce .woocommerce-message{border-left-color:#1E8A4C}
/* 1.0.1 (Web Designer): WooCommerce focuses notices after a submit; 2px wine outline with a small offset */
body.mmc-acc .woocommerce .woocommerce-error:focus,body.mmc-acc .woocommerce .woocommerce-message:focus,body.mmc-acc .woocommerce .woocommerce-info:focus,body.mmc-acc .woocommerce-notices-wrapper:focus,body.mmc-acc .woocommerce-notices-wrapper [tabindex]:focus,body.mmc-acc .woocommerce .woocommerce-error:focus-visible,body.mmc-acc .woocommerce .woocommerce-message:focus-visible,body.mmc-acc .woocommerce .woocommerce-info:focus-visible{outline:2px solid var(--mmc-link)!important;outline-offset:2px!important;box-shadow:none!important}
body.mmc-acc .woocommerce-notices-wrapper a,body.mmc-acc .woocommerce-error a{color:var(--mmc-link);font-weight:600}

/* Cards */
body.mmc-acc .woocommerce .mmc-cols{display:grid;gap:18px;margin-top:20px;width:100%;float:none}
body.mmc-acc .woocommerce .mmc-cols::before,body.mmc-acc .woocommerce .mmc-cols::after{display:none}
body.mmc-acc .woocommerce .mmc-cols--one{grid-template-columns:minmax(0,560px)}
body.mmc-acc .woocommerce .mmc-card{float:none;width:auto;max-width:100%;box-sizing:border-box;background:#fff;border:1px solid var(--mmc-card-line);border-radius:0;padding:24px 20px;margin:0;scroll-margin-top:120px;color:var(--mmc-ink);font:15px/1.5 var(--mmc-body)}
body.mmc-acc .woocommerce .mmc-card--reg{background:var(--mmc-note);border-color:#e6d6cb}
body.mmc-acc .woocommerce .mmc-card h2{font-family:var(--mmc-head);font-size:28px;font-weight:400;letter-spacing:-.02em;line-height:1.2;color:var(--mmc-ink);margin:0;padding:0;text-transform:none}
body.mmc-acc .woocommerce .mmc-sub{color:var(--mmc-muted);margin:6px 0 0;font-size:15px;line-height:1.5}
body.mmc-acc .woocommerce .mmc-card form{border:0;padding:0;margin:0;border-radius:0;background:none;box-shadow:none}
body.mmc-acc .woocommerce .mmc-card form .form-row{float:none;width:auto;margin:16px 0 0;padding:0}
body.mmc-acc .woocommerce .mmc-card form .form-row::before,body.mmc-acc .woocommerce .mmc-card form .form-row::after{display:none}

/* Labels and inputs */
body.mmc-acc .woocommerce .mmc-card form .form-row label{display:block;font:700 11.5px/1.4 var(--mmc-body);letter-spacing:.12em;text-transform:uppercase;color:var(--mmc-ink);margin:0 0 6px}
body.mmc-acc .woocommerce .mmc-card form .form-row label .required{display:none}
/* The live theme sets the page title size with !important too (clamp(42px,4.5vw,68px)), so the h1 sizes above carry it.
   The live theme sets background, border, radius, padding and shadow on inputs with !important, so these match it */
body.mmc-acc .woocommerce .mmc-card .input-text{display:block;width:100%;max-width:100%;box-sizing:border-box;min-height:48px;height:48px;border:1.5px solid var(--mmc-line)!important;border-radius:4px!important;background:var(--mmc-field)!important;font:16px/1.3 var(--mmc-body);color:var(--mmc-ink)!important;padding:12px 14px!important;margin:0;box-shadow:none!important;outline:none}
body.mmc-acc .woocommerce .mmc-card--reg .input-text{background:#fff!important}
body.mmc-acc .woocommerce .mmc-card .input-text:focus{border-color:var(--mmc-link)!important;box-shadow:0 0 0 3px var(--mmc-ring)!important}
body.mmc-acc .woocommerce .mmc-card .input-text[aria-invalid="true"]{border-color:#a3242c!important}

/* Password: lock icon (login only) and the WooCommerce show/hide button at 44px */
body.mmc-acc .woocommerce .mmc-card form .password-input{display:block;position:relative;width:100%}
body.mmc-acc .woocommerce .mmc-card form .password-input input[type=password],body.mmc-acc .woocommerce .mmc-card form .password-input input[type=text]{padding-right:50px!important}
body.mmc-acc .woocommerce .mmc-has-lock .password-input::before{content:"";position:absolute;left:14px;top:50%;width:20px;height:20px;margin-top:-10px;background:var(--mmc-muted);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='3'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center/20px 20px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='3'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center/20px 20px no-repeat;pointer-events:none;z-index:1}
body.mmc-acc .woocommerce .mmc-has-lock .input-text{padding-left:44px!important}
body.mmc-acc .woocommerce .mmc-card .show-password-input{position:absolute;top:50%;right:2px;bottom:auto;left:auto;width:44px;height:44px;margin:-22px 0 0;padding:0;border:0;transform:none;border-radius:12px;background:transparent;box-shadow:none;cursor:pointer;display:block;min-width:0;line-height:1}
body.mmc-acc .woocommerce .mmc-card .show-password-input::before,body.mmc-acc .woocommerce .mmc-card .show-password-input::after{content:"";position:absolute;inset:0;margin:auto;width:20px;height:20px;background:var(--mmc-muted);background-image:none;font-size:0;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/20px 20px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/20px 20px no-repeat}
body.mmc-acc .woocommerce .mmc-card .show-password-input::after{display:none}
body.mmc-acc .woocommerce .mmc-card .show-password-input.display-password::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M4 4l16 16'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M4 4l16 16'/%3E%3C/svg%3E")}
body.mmc-acc .woocommerce .mmc-card .show-password-input:focus-visible{outline:2px solid var(--mmc-link);outline-offset:0}

/* Remember me + lost link row */
body.mmc-acc .woocommerce .mmc-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px;flex-wrap:wrap}
body.mmc-acc .woocommerce .mmc-card form .mmc-chk{position:relative;display:flex;align-items:center;gap:10px;min-height:44px;margin:0;font:14px/1.3 var(--mmc-body);letter-spacing:0;text-transform:none;color:var(--mmc-ink);cursor:pointer}
body.mmc-acc .woocommerce .mmc-chk input{position:absolute;opacity:0;width:22px;height:22px;margin:0;left:0;top:50%;transform:translateY(-50%)}
body.mmc-acc .woocommerce .mmc-chk .mmc-box{width:22px;height:22px;box-sizing:border-box;border-radius:7px;border:1.5px solid var(--mmc-line);background:var(--mmc-field);display:grid;place-items:center;color:transparent;flex:none}
body.mmc-acc .woocommerce .mmc-chk .mmc-box svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body.mmc-acc .woocommerce .mmc-chk input:checked+.mmc-box{background:var(--mmc-ink);border-color:var(--mmc-ink);color:#fff}
body.mmc-acc .woocommerce .mmc-chk input:focus-visible+.mmc-box{box-shadow:0 0 0 3px var(--mmc-ring);border-color:var(--mmc-link)}
body.mmc-acc .woocommerce .mmc-row .lost_password{margin:0;padding:0}
body.mmc-acc .woocommerce .mmc-card a{color:var(--mmc-link);font-weight:600;text-underline-offset:3px}
body.mmc-acc .woocommerce .mmc-card .woocommerce-privacy-policy-text a{text-decoration:underline}
body.mmc-acc .woocommerce .mmc-row .lost_password a{min-height:44px;display:inline-flex;align-items:center;font-size:15px;text-decoration:underline}

/* Buttons */
body.mmc-acc .woocommerce .mmc-card form .mmc-submit{margin-top:20px}
body.mmc-acc .woocommerce .mmc-card .mmc-submit .button{display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;margin:0;padding:12px 16px;border:0;border-radius:2px;background:var(--mmc-ink);color:#fff;font:700 13px/1.2 var(--mmc-body);letter-spacing:.14em;text-transform:uppercase;cursor:pointer;box-shadow:none;float:none}
body.mmc-acc .woocommerce .mmc-card .mmc-submit .button:hover{background:#3a2b28;color:#fff}
body.mmc-acc .woocommerce .mmc-card .mmc-submit .button:focus-visible{outline:2px solid var(--mmc-link);outline-offset:3px}

/* Register note and privacy text */
body.mmc-acc .woocommerce .mmc-note{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:14px;background:var(--mmc-note);color:var(--mmc-ink);font-size:14px;line-height:1.45;margin-top:18px}
body.mmc-acc .woocommerce .mmc-note svg{flex:none;margin-top:1px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.mmc-acc .woocommerce .mmc-note p{margin:0}
body.mmc-acc .woocommerce .mmc-card .woocommerce-privacy-policy-text{margin-top:16px}
body.mmc-acc .woocommerce .mmc-card .woocommerce-privacy-policy-text p{font-size:13.5px;line-height:1.55;color:var(--mmc-muted);margin:0}

/* Lost password back link */
body.mmc-acc .woocommerce .mmc-back{margin:18px 0 0}
body.mmc-acc .woocommerce .mmc-back a{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:14px}
body.mmc-acc .woocommerce .mmc-back svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.mmc-acc .woocommerce .mmc-card .clear{display:none}

/* 1.0.2 (Web Designer): phone/tablet, after a failed register the Register card comes first, right under the error box (desktop keeps the two columns) */
@media (max-width:999px){body.mmc-acc .woocommerce .mmc-cols--reg-first #mmc-register{order:-1}}
@media (min-width:1000px){
  body.mmc-acc .entry-header .entry-title{font-size:64px!important}
  body.mmc-acc .mmc-seg{display:none}
  body.mmc-acc .woocommerce .mmc-cols{grid-template-columns:1fr 1fr;gap:28px;margin-top:34px;align-items:start}
  body.mmc-acc .woocommerce .mmc-cols--one{grid-template-columns:minmax(0,560px)}
  body.mmc-acc .woocommerce .mmc-card{padding:36px}
}
@media (prefers-reduced-motion:no-preference){html:has(body.mmc-acc){scroll-behavior:smooth}}
/* 1.0.3 (Web Designer): phone, tapping "Register" (or "Log in") puts the card top 16px under the sticky header.
   The theme's html{scroll-padding-top:100px} plus the old 120px card margin left the card 220px down (the end of the
   Log in card showed instead). The card margin is now 0 and the page's top padding is header + 16px: the script sets it
   from the measured header; this is the fallback for the live 67px phone header. Focused fields use the same padding. */
body.mmc-acc .woocommerce .mmc-card{scroll-margin-top:0!important}
@media (max-width:767px){html:has(>body.mmc-acc){scroll-padding-top:83px}}
/* 1.0.3 (Web Designer): the phone tab bar's active item (Profile) uses the mock-up's wine #652e32 for its label, icon and
   top marker, not the theme's pink #d43e83 / #9f2e65. Only on these signed-out My Account screens; the rest of the
   site keeps the theme's tab bar unchanged. */
body.mmc-acc .mm-mobile-nav .mm-mobile-nav__item.is-active{color:#652e32!important}
body.mmc-acc .mm-mobile-nav .mm-mobile-nav__item.is-active::before{background:#652e32}
body.mmc-acc .mm-mobile-nav .mm-mobile-nav__item:focus-visible{outline-color:#652e32}
