/* Shared compact front-door design V1. Only opted-in root pages. */
body[data-frontdoor]{--bg:#fcfaf9;--paper:#fff;--ink:#35163d;--muted:#665867;--line:#e6dce7;--plum:#713074;--blue:#713074;--violet:#713074;--pale:#f4eaf3;background:var(--bg);color:var(--ink);height:auto;min-height:100vh}
body[data-frontdoor] .page{height:auto;min-height:100vh;overflow:visible;display:block;padding:12px 20px 94px;max-width:1120px;margin:0 auto}
body[data-frontdoor] .rail{width:0;transform:translateX(-105%);padding:0;box-shadow:none;visibility:hidden}
body[data-frontdoor] .rail.open{width:230px;padding:14px 9px;transform:translateX(0);visibility:visible;box-shadow:8px 0 32px #35163d30}
body[data-frontdoor] .rail.open .label,body[data-frontdoor] .rail.open nav a span,body[data-frontdoor] .rail.open .rail-foot a span{opacity:1}
body[data-frontdoor] .top{position:relative!important;display:flex!important;align-items:center;justify-content:space-between;gap:8px;height:auto!important;min-height:44px!important;width:100%;margin:0 auto 10px!important;max-width:none;z-index:100}
body[data-frontdoor] .top-left{display:flex!important;align-items:center;gap:6px;min-width:0;margin:0!important}
body[data-frontdoor] .mobile-trigger{display:grid;place-items:center;flex:none;width:38px;height:38px;background:white;border:1px solid var(--line);border-radius:20px;color:var(--ink)}
body[data-frontdoor] .mobile-brand,body[data-frontdoor] .mobile-mark{display:flex!important;align-items:center;gap:5px;margin:0;flex:none}
body[data-frontdoor] .mobile-brand img,body[data-frontdoor] .mobile-mark img{width:35px;height:35px;object-fit:contain}
body[data-frontdoor] .front-wordmark{font:700 clamp(14px,2.1vw,22px)/1.1 Georgia,serif;color:var(--ink);white-space:nowrap;letter-spacing:-.03em}
body[data-frontdoor] .top-title{display:none}
body[data-frontdoor] .language-menu{position:relative!important;top:auto!important;right:auto!important;margin:0!important;flex:none;order:3}
body[data-frontdoor] .language-menu summary{border-radius:20px;color:var(--ink);padding:7px 10px;min-height:35px}
body[data-frontdoor] .top .mdp-speech-controls{margin-left:auto!important;margin-right:0!important;flex:none}
body[data-frontdoor] .layout{display:block;width:100%;height:auto;overflow:visible}
body[data-frontdoor] .main,body[data-frontdoor] .content{max-width:none;margin:0;height:auto;min-height:0;overflow:visible;padding:0}
body[data-frontdoor] .front-hero{position:relative;border:1px solid var(--line);border-radius:18px;background:linear-gradient(90deg,#faf1ee 0%,#faf1eef5 32%,#faf1eedb 54%,#faf1ee55 100%),url('https://thoughts.masdeunapuerta.com/assets/breakup-before-marriage-hero.png') center right/cover no-repeat;padding:clamp(16px,3vw,30px);margin:0 0 12px}
body[data-frontdoor] .front-hero h1{font:700 clamp(28px,4.4vw,48px)/1.04 Georgia,serif;letter-spacing:-.045em;color:var(--ink);max-width:690px;margin:0 0 9px}
body[data-frontdoor] .front-hero p{color:#4d3d50;margin:0;max-width:570px;font-size:14px;line-height:1.45}
body[data-frontdoor] .front-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
body[data-frontdoor] .front-cta{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px;border-radius:26px;background:linear-gradient(120deg,#853980,#5d245e);color:#fff;font-size:13px;font-weight:750;text-align:center;line-height:1.2}
body[data-frontdoor] .front-cta.alt{color:#632b66;background:#fcf5fa;border:1px solid #d6bad6}
body[data-frontdoor] .front-cta svg,body[data-frontdoor] .front-tile svg{width:19px;height:19px;flex:none}
body[data-frontdoor] .front-heading,body[data-frontdoor] .section-head h2,body[data-frontdoor] .front-search h2{font:700 clamp(22px,3vw,31px)/1.12 Georgia,serif;color:var(--ink);letter-spacing:-.025em;margin:0 0 8px}
body[data-frontdoor] .front-search{padding:14px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(110deg,#f9f2f5,#eee1ec);margin:12px 0}
body[data-frontdoor] .search,body[data-frontdoor] .search-box{display:flex;position:relative;gap:5px;align-items:center;background:transparent;padding:0;border:0;margin:0}
body[data-frontdoor] .search input,body[data-frontdoor] .search-box input{width:100%;min-width:0;flex:1;background:#fff;border:1px solid #d9cbdc;border-radius:25px;padding:11px 12px;min-height:44px;color:#35163d;font-size:14px}
body[data-frontdoor] .search button,body[data-frontdoor] .search-box button{flex:none;min-height:44px;border:0;border-radius:25px;background:linear-gradient(120deg,#853980,#5d245e);color:#fff;padding:0 13px;font-size:13px;font-weight:750}
body[data-frontdoor] .search-box>svg{display:none}
body[data-frontdoor] .home-navigation-hint,body[data-frontdoor] .front-hint{margin:7px 1px 0;font-size:12px;color:#665867}
body[data-frontdoor] .front-section{margin:14px 0}
body[data-frontdoor] .front-doors,body[data-frontdoor] .front-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
body[data-frontdoor] .front-tile{min-width:0;min-height:64px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:8px 4px;border:1px solid var(--line);border-radius:13px;background:#f9f1f3;color:var(--ink);font-weight:750;font-size:12px;line-height:1.2;text-align:center;overflow-wrap:anywhere}
body[data-frontdoor] .front-tile:hover,body[data-frontdoor] .front-area:hover,body[data-frontdoor] .front-highlight:hover{border-color:#b08ab5;background-color:#f5e8f4}
body[data-frontdoor] .front-tile svg{color:#713074;width:23px;height:23px}
body[data-frontdoor] .front-area-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
body[data-frontdoor] .front-area{display:flex;align-items:center;gap:9px;min-height:71px;padding:10px;border:1px solid var(--line);border-radius:13px;background:linear-gradient(125deg,#fff8f4,#f1e7f2);color:var(--ink)}
body[data-frontdoor] .front-area:nth-child(2){background:linear-gradient(125deg,#fff8f6,#f3e2e8)}
body[data-frontdoor] .front-area:nth-child(3){background:linear-gradient(125deg,#faf5fc,#eae0f0)}
body[data-frontdoor] .front-area:nth-child(4){background:linear-gradient(125deg,#fffaf0,#f4e6d9)}
body[data-frontdoor] .front-area:nth-child(5){grid-column:1/-1;background:linear-gradient(125deg,#f8f6f1,#e8e5ee)}
body[data-frontdoor] .front-area>svg{width:25px;height:25px;color:#713074;flex:none}
body[data-frontdoor] .front-area>div{min-width:0;flex:1}
body[data-frontdoor] .front-area strong{display:block;font:700 15px/1.12 Georgia,serif;overflow-wrap:anywhere}
body[data-frontdoor] .front-area small{display:block;font-size:11px;line-height:1.3;color:#665867;margin-top:3px}
body[data-frontdoor] .front-arrow{color:#713074;font-size:17px;font-weight:750;flex:none}
body[data-frontdoor] .front-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
body[data-frontdoor] .front-highlight{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#f8f0f3;display:flex;flex-direction:column;min-width:0}
body[data-frontdoor] .front-highlight img{display:block;width:100%;height:72px;object-fit:cover}
body[data-frontdoor] .front-highlight .front-art{display:grid;place-items:center;height:72px;background:linear-gradient(125deg,#e9d8e6,#f1e1ce);font:700 26px Georgia,serif;color:#713074}
body[data-frontdoor] .front-highlight .front-copy{padding:8px;display:grid;gap:5px}
body[data-frontdoor] .front-highlight small{font-size:10px;color:#76587b;font-weight:750;line-height:1.25}
body[data-frontdoor] .front-highlight strong{font:700 16px/1.12 Georgia,serif;color:var(--ink);overflow-wrap:anywhere}
body[data-frontdoor] .front-feature{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:15px;padding:12px;background:linear-gradient(110deg,#fcf6f3,#eee2ef)}
body[data-frontdoor] .front-initial{width:53px;height:53px;border-radius:50%;display:grid;place-items:center;flex:none;background:linear-gradient(140deg,#d3a9b5,#6f577b);color:white;font:700 26px Georgia,serif}
body[data-frontdoor] .front-feature strong{font:700 23px Georgia,serif;display:block}
body[data-frontdoor] .front-feature small{font-size:12px;color:#665867}
body[data-frontdoor] .front-feature p{font-size:12px;margin:4px 0 0;color:#665867}
body[data-frontdoor] .front-trust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:10px 6px;border-radius:13px;background:#f5edf1;font-size:11px;font-weight:650;text-align:center}
body[data-frontdoor] .front-trust span{display:grid;justify-items:center;gap:3px}
body[data-frontdoor] .front-trust svg{width:19px;height:19px;color:#713074}
body[data-frontdoor] .section-head{margin:16px 0 8px}
body[data-frontdoor] #feed{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body[data-frontdoor] .feed-item{display:flex;flex-direction:column;padding:12px;margin:0;border:1px solid var(--line);border-radius:13px;min-width:0}
body[data-frontdoor] .feed-item h3{font:700 19px/1.2 Georgia,serif;color:var(--ink);margin:5px 0}
body[data-frontdoor] .feed-item p{font-size:12px;line-height:1.45;margin:2px 0}
body[data-frontdoor] .feed-item img{order:-1;max-height:100px;margin:0 0 7px;border-radius:8px;aspect-ratio:16/9}
body[data-frontdoor] .feed-item .product-row{display:block;margin:4px 0}
body[data-frontdoor] .feed-item .product-art{min-height:52px;font-size:25px;margin-bottom:5px}
body[data-frontdoor] .feed-item .cta,body[data-frontdoor] .promo .cta{display:inline-flex;min-height:42px;background:#713074;color:white}
body[data-frontdoor] .side{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));height:auto;max-height:none;overflow:visible;padding:0;margin-top:12px;gap:8px}
body[data-frontdoor] .promo{padding:12px;border:1px solid var(--line);border-radius:13px;min-width:0}
body[data-frontdoor] .promo h3{font:700 18px Georgia,serif;color:var(--ink)}
body[data-frontdoor] .promo .podcast-cover{max-height:100px;object-fit:cover}
body[data-frontdoor] .footer{display:flex;flex-wrap:wrap;margin:15px 0;font-size:11px}
body[data-frontdoor] .bottom{display:flex!important;position:fixed;inset:auto 0 0;z-index:95;justify-content:space-evenly;align-items:center;background:#fff;border-top:1px solid var(--line);padding:6px 6px calc(6px + env(safe-area-inset-bottom))}
body[data-frontdoor] .bottom>a,body[data-frontdoor] .bottom>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:65px;min-height:46px;padding:5px 9px;border:0;border-radius:23px;background:transparent;color:var(--ink);font-size:11px;font-weight:650}
body[data-frontdoor] .bottom [aria-current=page]{background:#f0e5f2;color:#713074}
body[data-frontdoor] .bottom svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body[data-frontdoor] .front-details{border:1px solid var(--line);border-radius:13px;padding:10px;background:#fff;margin:12px 0}
body[data-frontdoor] .front-details summary{cursor:pointer;min-height:36px;font-weight:750;color:var(--ink)}
body[data-frontdoor] .front-archetypes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
body[data-frontdoor] .front-archetypes a{font-size:12px;min-height:42px;display:flex;align-items:center;padding:6px;border:1px solid var(--line);border-radius:8px}
body[data-frontdoor] .front-filter-wrap{margin:10px 0}
body[data-frontdoor] .filters{gap:5px;margin:5px 0}
body[data-frontdoor] .chip{padding:7px 9px;min-height:36px;line-height:1.2;font-size:11px}
body[data-frontdoor] .branch-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
body[data-frontdoor] .branch-card{padding:11px;min-height:100px}
body[data-frontdoor] .branch-card h3{font-size:16px;margin:5px 0}
body[data-frontdoor] .branch-card p{font-size:12px;line-height:1.4;-webkit-line-clamp:2}
body[data-frontdoor] .branch-card .orbit{width:28px;height:28px;font-size:17px}
body[data-frontdoor] .branch-card .corner{top:12px;right:12px}
body[data-frontdoor] .front-collections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
body[data-frontdoor] .front-product{padding:12px;border:1px solid var(--line);border-radius:15px;background:#fff}
body[data-frontdoor] .front-product p{font-size:12px;margin:6px 0}
body[data-frontdoor] .front-product .front-actions{margin-top:7px}
body[data-frontdoor] .front-product h3{font:700 20px Georgia,serif;margin:0}
body[data-frontdoor] .front-hero .mdp-speech-section,body[data-frontdoor] .front-search .mdp-speech-section{display:none}
body[data-frontdoor] .reference-quicklink{margin:4px 0;font-size:12px;text-align:left}
body[data-frontdoor] #mdp-global-brand{display:none}
@media(min-width:751px){body[data-frontdoor] .front-area-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body[data-frontdoor] .front-area:nth-child(5){grid-column:span 2}body[data-frontdoor] .front-area{min-height:84px}body[data-frontdoor] .front-tile{min-height:74px}body[data-frontdoor] .front-highlight img,body[data-frontdoor] .front-highlight .front-art{height:110px}}
@media(max-width:750px){body[data-frontdoor] .page{padding:8px 10px 80px}body[data-frontdoor] .front-hero{padding:15px 13px;margin-bottom:8px}body[data-frontdoor] .front-hero h1{font-size:29px}body[data-frontdoor] .front-hero p{font-size:13px;max-width:92%}body[data-frontdoor] .front-search{padding:10px;margin:9px 0}body[data-frontdoor] .front-heading,body[data-frontdoor] .front-search h2{font-size:23px}body[data-frontdoor] .front-section{margin:11px 0}body[data-frontdoor] .front-area strong{font-size:15px}body[data-frontdoor] .front-area{gap:6px;padding:8px;min-height:69px}body[data-frontdoor] .front-area>svg{width:22px;height:22px}body[data-frontdoor] .front-area small{font-size:11px}body[data-frontdoor] .front-wordmark{font-size:15px}body[data-frontdoor] .front-tile{font-size:11px;padding:7px 3px}body[data-frontdoor] .front-highlight strong{font-size:14px}body[data-frontdoor] .front-highlight img,body[data-frontdoor] .front-highlight .front-art{height:58px}}
@media(max-width:370px){body[data-frontdoor] .front-wordmark{font-size:13px;white-space:normal;max-width:84px}body[data-frontdoor] .top{gap:4px}body[data-frontdoor] .top .mdp-speech-controls button{padding:6px;font-size:10px}body[data-frontdoor] .front-area small{font-size:10px}body[data-frontdoor] .front-area strong{font-size:14px}body[data-frontdoor] .front-cta{font-size:12px}body[data-frontdoor] .front-tile{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}body[data-frontdoor] *{transition:none!important}}

/* Keep the search dropdown above subsequent panels; compact branding at phone widths. */
body[data-frontdoor] .front-search{position:relative;z-index:20}body[data-frontdoor] .front-search:focus-within{z-index:80}body[data-frontdoor] .front-doors a:focus-visible,body[data-frontdoor] .front-area:focus-visible{outline:3px solid #a34a9f;outline-offset:2px}

body[data-frontdoor] .front-browse-link{display:inline-flex;align-items:center;min-height:38px;padding:6px 10px;margin:3px 0;color:#713074;font-size:13px;font-weight:750;border:1px solid #d9c6dc;border-radius:22px;background:#fff}body[data-frontdoor] .front-search .front-browse-link:hover{text-decoration:underline}

/* Compact world navigation: default collapsed, retain usable no-script forms. */
body[data-compact-world] [data-world-panel][hidden]{display:none!important}
body[data-compact-world] .world-tools{display:flex;align-items:center;gap:5px;margin-left:auto;flex:none}
body[data-compact-world] .world-tool,body[data-compact-world] .world-tools .language-menu summary{width:39px;height:39px;min-height:39px;padding:0;display:grid;place-items:center;flex:none;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--ink);cursor:pointer}
body[data-compact-world] .world-tool svg,body[data-compact-world] .world-tools .language-menu summary svg{width:21px;height:21px;display:block}
body[data-compact-world] .world-tool[aria-expanded=true]{background:var(--pale);border-color:#b78fbc;color:var(--plum)}
body[data-compact-world] .world-tools .language-menu summary:after{display:none}
body[data-compact-world] .world-locale{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body[data-compact-world] .world-tool:focus-visible,body[data-compact-world] .world-tools summary:focus-visible{outline:2px solid var(--plum);outline-offset:2px}
body[data-compact-world] .world-filter-form{padding:12px;border:1px solid var(--line);border-radius:14px;background:#fff;margin-bottom:8px}
body[data-compact-world] .world-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body[data-compact-world] .world-filter-grid label{display:grid;gap:5px;font-size:12px;font-weight:650;min-width:0}
body[data-compact-world] .world-filter-grid select{width:100%;min-width:0;min-height:42px;border:1px solid var(--line);border-radius:9px;padding:6px;background:#fff;color:var(--ink);font:inherit}
body[data-compact-world] .world-apply{min-height:42px;border:0;border-radius:22px;background:var(--plum);color:white;padding:8px 14px;margin-top:12px;font-weight:700;cursor:pointer}
body[data-compact-world] .top .mobile-mark{flex:1;min-width:0}
body[data-compact-world] .front-wordmark{white-space:normal;overflow-wrap:normal}
@media(max-width:500px){body[data-compact-world] .top{gap:4px}body[data-compact-world] .world-tools{gap:3px}body[data-compact-world] .world-tool,body[data-compact-world] .world-tools .language-menu summary{width:34px;height:34px;min-height:34px}body[data-compact-world] .world-tool svg,body[data-compact-world] .world-tools .language-menu summary svg{width:19px;height:19px}body[data-compact-world] .front-wordmark{font-size:13px;max-width:90px}body[data-compact-world] .mobile-mark img{width:28px;height:28px}body[data-compact-world] .top .mdp-speech-controls{margin-left:0!important}body[data-compact-world] .top .mdp-speech-controls button{padding:5px}}
@media(max-width:340px){body[data-compact-world] .front-wordmark{display:none}}

body[data-frontdoor] .language-menu summary.world-globe{display:grid;place-items:center;width:39px;height:39px;min-height:39px;padding:0;border-radius:50%}body[data-frontdoor] .language-menu summary.world-globe svg{width:21px;height:21px}body[data-frontdoor] .language-menu summary.world-globe:after{display:none}
