:root{
  --green-950:#0d3528;
  --green-900:#123f30;
  --green-800:#18523d;
  --green-100:#e8f0eb;
  --green-50:#f4f8f5;
  --cream:#fbfaf7;
  --paper:#ffffff;
  --ink:#17231e;
  --muted:#68736d;
  --line:#e6e9e6;
  --gold:#b58a38;
  --danger:#a34a3a;
  --shadow-sm:0 4px 16px rgba(15,43,32,.06);
  --shadow-md:0 16px 42px rgba(15,43,32,.09);
  --radius:18px;
  --page:min(1160px,calc(100% - 40px));
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.45}
body.menu-open{overflow:hidden}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{cursor:pointer}
img{display:block;max-width:100%}
svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
[hidden]{display:none!important}
.page-width{width:var(--page);margin-inline:auto}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);border-bottom:1px solid rgba(19,49,38,.08);backdrop-filter:blur(16px)}
.site-header__inner{width:var(--page);height:70px;margin:auto;display:flex;align-items:center;gap:28px}
.brand{display:flex;align-items:center;gap:9px;flex:0 0 auto}
.brand__mark{width:26px;height:35px;object-fit:contain}
.brand__name{font-family:Georgia,"Times New Roman",serif;font-size:20px;font-weight:700;letter-spacing:-.02em;color:var(--green-950);white-space:nowrap}
.desktop-nav{display:flex;align-items:center;justify-content:center;gap:26px;flex:1}
.desktop-nav__link{padding:24px 0 22px;font-size:13px;font-weight:600;color:#425048;position:relative}
.desktop-nav__link:after{content:"";position:absolute;left:50%;bottom:15px;width:0;height:2px;border-radius:2px;background:var(--green-800);transform:translateX(-50%);transition:.18s}
.desktop-nav__link:hover,.desktop-nav__link.is-active{color:var(--green-950)}
.desktop-nav__link:hover:after,.desktop-nav__link.is-active:after{width:20px}
.header-cta{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 17px;border-radius:11px;background:var(--green-900);color:#fff;font-size:13px;font-weight:750;box-shadow:var(--shadow-sm)}
.header-cta:hover{background:var(--green-800)}
.mobile-menu-toggle{display:none;border:0;background:transparent;width:44px;height:44px;padding:8px}
.mobile-menu-toggle span{display:block;width:28px;height:3px;margin:4.5px 0;background:var(--green-950);border-radius:9px}

.app-home{position:relative;overflow:hidden;background:linear-gradient(180deg,#fbfaf7 0%,#f6f8f4 100%);border-bottom:1px solid var(--line)}
.app-home__botanical{position:absolute;z-index:0;pointer-events:none;background-repeat:no-repeat;background-size:contain;opacity:.14;filter:saturate(.9)}
.app-home__botanical--left{left:-75px;bottom:-260px;width:320px;height:720px;background-image:url('../images/botanical/section-left.webp');background-position:left bottom}
.app-home__botanical--right{right:-60px;top:0;width:280px;height:680px;background-image:url('../images/botanical/section-right.webp');background-position:right top}
.app-home__layout{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,420px) minmax(520px,650px);justify-content:space-between;align-items:center;gap:68px;padding:70px 0 74px}
.app-intro{max-width:430px}
.app-kicker{display:block;margin-bottom:12px;font-size:11px;font-weight:850;letter-spacing:.12em;color:var(--green-800)}
.app-intro h1{margin:0 0 16px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(44px,5.2vw,68px);line-height:1.01;letter-spacing:-.04em;color:var(--green-950);font-weight:600}
.app-intro>p{margin:0;color:#4f5e56;font-size:16px;line-height:1.65;max-width:400px}
.app-trust-row{display:flex;flex-wrap:wrap;gap:9px;margin-top:28px}
.app-trust-row span{display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #dfe6e1;border-radius:999px;background:rgba(255,255,255,.76);font-size:11px;font-weight:700;color:#435149}
.app-trust-row svg{width:16px;height:16px;color:var(--green-800)}

.flow-card{position:relative;width:100%;background:rgba(255,255,255,.97);border:1px solid #e0e5e1;border-radius:22px;box-shadow:var(--shadow-md);padding:26px}
.flow-card__top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:20px}
.step-label{display:block;margin-bottom:7px;font-size:10px;font-weight:850;letter-spacing:.13em;color:var(--green-800)}
.flow-card h2{margin:0;font-size:27px;line-height:1.15;letter-spacing:-.025em;color:var(--ink)}
.flow-card__top p{margin:6px 0 0;color:var(--muted);font-size:13px}
.step-count{display:none;min-width:38px;height:26px;align-items:center;justify-content:center;border-radius:999px;background:var(--green-50);color:var(--green-800);font-size:11px;font-weight:800}
.plant-search{position:relative}
.plant-search label{display:block;margin-bottom:7px;font-size:12px;font-weight:750;color:#34433b}
.search-control{display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:8px;border:1px solid #d9dfdb;border-radius:14px;background:#fff;padding:5px 5px 5px 14px;transition:.16s}
.search-control:focus-within{border-color:#8fa89a;box-shadow:0 0 0 4px rgba(24,82,61,.08)}
.search-control__icon{width:19px;height:19px;color:#7a8680}
.search-control input{min-width:0;height:44px;border:0;outline:0;background:transparent;color:var(--ink);font-size:14px}
.search-control input::placeholder{color:#9aa39e}
.search-control button{height:42px;padding:0 17px;border:0;border-radius:10px;background:var(--green-900);color:#fff;font-size:12px;font-weight:800}
.search-control button:hover{background:var(--green-800)}
.plant-suggestions{position:absolute;left:0;right:0;top:76px;z-index:15;padding:6px;border:1px solid #dfe4e0;border-radius:14px;background:#fff;box-shadow:0 14px 35px rgba(24,48,39,.12)}
.plant-suggestions button{width:100%;display:flex;flex-direction:column;gap:1px;padding:10px 11px;border:0;border-radius:9px;background:transparent;text-align:left;color:var(--ink)}
.plant-suggestions button:hover{background:var(--green-50)}
.plant-suggestions span{font-size:13px;font-weight:750}
.plant-suggestions small{font-size:11px;color:var(--muted);font-style:italic}
.plant-result{display:grid;grid-template-columns:84px 1fr;gap:16px;margin-top:18px;padding:15px;border:1px solid #e1e6e2;border-radius:16px;background:#fbfcfb}
.plant-result__visual{grid-row:1/3;width:84px;height:104px;border-radius:12px;overflow:hidden;background:#edf3ef;display:grid;place-items:center}
.plant-result__visual img{width:100%;height:100%;object-fit:cover}
.plant-result__visual img.is-generic{width:38px;height:auto;object-fit:contain}
.plant-result__body{min-width:0}
.plant-result__title-row{display:flex;justify-content:space-between;gap:10px}
.plant-result h3{margin:0;font-size:18px;line-height:1.2;color:var(--green-950)}
.plant-result__scientific{margin:3px 0 0;font-family:Georgia,serif;font-size:13px;font-style:italic;color:#52635a}
.verified-badge{flex:0 0 auto;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#e6f2e9;color:#267044}
.verified-badge svg{width:17px;height:17px;stroke-width:2.5}
.plant-result__aka{margin:8px 0 0;font-size:11px;color:#778079}
.plant-result__status{display:flex;align-items:center;gap:6px;margin-top:10px;font-size:11px;font-weight:750;color:#326648}
.plant-result__status span{width:7px;height:7px;border-radius:50%;background:#3e8a5b}
.button{min-height:46px;border-radius:12px;border:1px solid transparent;padding:0 16px;font-weight:800;font-size:13px;transition:.16s}
.button--primary{background:var(--green-900);color:#fff}
.button--primary:hover{background:var(--green-800)}
.button--primary.is-confirmed{background:#2f734b}
.button--quiet{background:transparent;border-color:#dfe4e0;color:#536159}
.button--quiet:hover{background:#f3f6f4}
.button--full{grid-column:1/-1;width:100%}
.plant-result .button--primary{margin-top:2px}
.plant-result .button--quiet{min-height:40px;margin-top:-7px;font-size:12px}
.plant-search-message{min-height:19px;margin-top:10px;font-size:11px;color:#6b756f}
.flow-card__note{display:flex;align-items:center;gap:8px;margin-top:15px;padding-top:15px;border-top:1px solid #edf0ee;color:#7a827d;font-size:11px}
.flow-card__note svg{width:15px;height:15px;color:var(--green-800)}

.app-section{padding:56px 0;background:#fff}
.app-section--books{border-bottom:1px solid var(--line)}
.section-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}
.section-title-row .app-kicker{margin-bottom:7px}
.section-title-row h2{margin:0;font-size:29px;letter-spacing:-.03em;color:var(--green-950)}
.text-link{font-size:12px;font-weight:800;color:var(--green-800)}
.book-option-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.book-option-card{position:relative;display:grid;grid-template-columns:94px 1fr;gap:15px;min-height:178px;padding:16px;border:1px solid #e2e6e3;border-radius:18px;background:#fff;box-shadow:var(--shadow-sm);overflow:hidden}
.book-option-card--best{border-color:#c6a65c}
.best-value{position:absolute;right:12px;top:12px;padding:5px 8px;border-radius:999px;background:#fff5d9;color:#83651f;font-size:8px;font-weight:900;letter-spacing:.08em}
.book-option-card__thumb{height:146px;border-radius:12px;background:#f2f1eb;overflow:hidden;display:flex;align-items:flex-end;justify-content:center}
.book-option-card__thumb--green{background:#e9f1ec}
.book-option-card__thumb img{height:138px;width:auto;object-fit:contain}
.book-option-card__content{padding:5px 0;min-width:0}
.book-type{font-size:8px;font-weight:900;letter-spacing:.1em;color:#6a766f}
.book-option-card h3{margin:4px 0 7px;font-size:18px;color:var(--green-950);line-height:1.15}
.book-option-card p{margin:0;color:#68746d;font-size:11px;line-height:1.5}
.book-meta{display:block;margin-top:15px;font-size:10px;font-weight:800;color:#3f5047}
.app-section--simple{padding:22px 0;background:#f7f8f6}
.simple-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.simple-step{display:flex;align-items:center;gap:12px;padding:13px 15px;border-radius:14px;background:#fff;border:1px solid #e6e9e7}
.simple-step>span{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:var(--green-50);color:var(--green-800);font-size:12px;font-weight:900}
.simple-step strong,.simple-step small{display:block}
.simple-step strong{font-size:12px;color:#2a3931}
.simple-step small{margin-top:1px;color:#7a837e;font-size:10px}

.botanical-soft{position:relative;min-height:72vh;padding:76px 0;background:linear-gradient(180deg,#fbfaf7,#f4f7f3);overflow:hidden}
.botanical-soft:before,.botanical-soft:after{content:"";position:absolute;pointer-events:none;background-repeat:no-repeat;background-size:contain;opacity:.12}
.botanical-soft:before{left:-80px;bottom:-190px;width:310px;height:700px;background-image:url('../images/botanical/section-left.webp');background-position:left bottom}
.botanical-soft:after{right:-60px;top:-80px;width:270px;height:620px;background-image:url('../images/botanical/section-right.webp');background-position:right top}
.section-heading{position:relative;z-index:1;max-width:700px;margin:auto;text-align:center;padding:42px 24px;border:1px solid #e2e7e3;border-radius:22px;background:rgba(255,255,255,.92);box-shadow:var(--shadow-sm)}
.section-heading>span{font-size:10px;font-weight:850;letter-spacing:.12em;color:var(--green-800)}
.section-heading h1,.section-heading h2{margin:7px 0 9px!important;font-family:Georgia,serif!important;font-size:clamp(34px,5vw,54px)!important;color:var(--green-950)!important;letter-spacing:-.035em}
.section-heading p{margin:0 auto;color:var(--muted);font-size:14px;max-width:520px}
.desktop-footer{min-height:94px;padding:22px max(20px,calc((100% - 1160px)/2));display:flex;justify-content:space-between;align-items:center;gap:25px;background:#fff;border-top:1px solid var(--line);color:#4d5a53}
.desktop-footer strong{display:block;color:var(--green-950);font-family:Georgia,serif;font-size:16px}
.desktop-footer span{display:block;margin-top:3px;font-size:10px;color:#7d8781}
.desktop-footer nav{display:flex;gap:18px;font-size:10px;font-weight:650}
.mobile-bottom-nav,.mobile-menu{display:none}

@media(max-width:1000px){
  .desktop-nav{gap:17px}.desktop-nav__link{font-size:12px}.app-home__layout{grid-template-columns:360px minmax(470px,1fr);gap:42px}.book-option-card{grid-template-columns:80px 1fr}.book-option-card__thumb{height:135px}.book-option-card__thumb img{height:128px}
}

@media(max-width:820px){
  :root{--page:calc(100% - 28px)}
  body{padding-top:58px;padding-bottom:calc(72px + env(safe-area-inset-bottom));background:#f7f8f6}
  .site-header{position:fixed;top:0;left:0;right:0;width:100%;z-index:80}
  .site-header__inner{height:58px;justify-content:flex-start;position:relative}
  .mobile-menu-toggle{display:block;position:absolute;left:auto;right:-6px}
  .desktop-nav,.header-cta{display:none}
  .brand__mark{width:22px;height:30px}.brand__name{font-size:18px}

  .brand{margin-right:auto}

  .app-home{background:#f7f8f6;border-bottom:0}
  .app-home__botanical{opacity:.08}
  .app-home__botanical--left{width:160px;height:350px;left:-70px;bottom:auto;top:50px}
  .app-home__botanical--right{width:140px;height:330px;right:-70px;top:30px}
  .app-home__layout{display:flex;flex-direction:column;gap:20px;padding:26px 0 28px}
  .app-intro{max-width:560px;width:100%;text-align:left}
  .app-kicker{font-size:9px;margin-bottom:7px}
  .app-intro h1{font-family:inherit;font-size:30px;line-height:1.08;letter-spacing:-.035em;margin-bottom:9px;font-weight:800}
  .app-intro>p{font-size:13px;line-height:1.52;max-width:520px}
  .app-trust-row{margin-top:14px;gap:6px}
  .app-trust-row span{padding:6px 8px;background:#fff;font-size:9px}
  .app-trust-row svg{width:14px;height:14px}

  .flow-card{max-width:560px;border-radius:18px;padding:18px;box-shadow:0 8px 28px rgba(19,48,38,.07)}
  .flow-card__top{padding-bottom:15px}
  .step-label{font-size:9px;margin-bottom:5px}
  .flow-card h2{font-size:22px}
  .flow-card__top p{font-size:11px;margin-top:4px}
  .step-count{display:flex}
  .plant-search label{font-size:11px}
  .search-control{grid-template-columns:21px 1fr auto;border-radius:12px;padding-left:11px}
  .search-control input{height:42px;font-size:13px}
  .search-control button{height:40px;border-radius:9px;padding:0 14px;font-size:11px}
  .plant-suggestions{top:73px}
  .plant-result{grid-template-columns:70px 1fr;gap:12px;padding:12px;border-radius:14px}
  .plant-result__visual{width:70px;height:86px;border-radius:10px}
  .plant-result h3{font-size:16px}.plant-result__scientific{font-size:12px}.verified-badge{width:25px;height:25px}.plant-result__status{font-size:10px;margin-top:7px}.plant-result__aka{font-size:10px;margin-top:5px}
  .button{min-height:45px;border-radius:11px}.plant-result .button--quiet{min-height:39px}
  .flow-card__note{font-size:10px}

  .app-section{padding:30px 0}
  .section-title-row{align-items:center;margin-bottom:15px}
  .section-title-row h2{font-size:21px}
  .text-link{font-size:10px}
  .book-option-grid{display:grid;grid-template-columns:1fr;gap:12px;overflow:visible;padding:0;margin-right:0}
  .book-option-grid::-webkit-scrollbar{display:none}
  .book-option-card{width:100%;min-width:0;grid-template-columns:78px 1fr;min-height:154px;padding:13px;border-radius:16px}
  .book-option-card__thumb{height:125px;border-radius:10px}.book-option-card__thumb img{height:119px}.book-option-card h3{font-size:16px}.book-option-card p{font-size:10px}.book-meta{margin-top:11px;font-size:9px}.best-value{font-size:7px;right:9px;top:9px}
  .app-section--simple{padding:15px 0}
  .simple-steps{grid-template-columns:1fr;gap:7px}.simple-step{padding:10px 12px}.simple-step>span{width:29px;height:29px}

  .desktop-footer{display:none}
  .botanical-soft{padding:38px 0;min-height:calc(100vh - 130px)}
  .botanical-soft:before,.botanical-soft:after{opacity:.07;width:160px;height:380px}
  .section-heading{padding:30px 20px;border-radius:18px;text-align:left}
  .section-heading h1,.section-heading h2{font-family:inherit!important;font-size:30px!important;font-weight:800!important}.section-heading p{font-size:12px;margin:0}

  .mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:70;display:grid;grid-template-columns:repeat(5,1fr);min-height:64px;padding:5px 5px calc(5px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid #e4e8e5;box-shadow:0 -6px 22px rgba(17,43,33,.06);backdrop-filter:blur(14px)}
  .mobile-bottom-nav__item{border:0;background:transparent;color:#737d77;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:8px;font-weight:650;min-width:0}
  .mobile-bottom-nav__item.is-active{color:var(--green-900)}
  .mobile-bottom-nav__icon{width:29px;height:29px;display:grid;place-items:center;border-radius:10px}
  .mobile-bottom-nav__icon svg{width:20px;height:20px;stroke-width:1.8}
  .mobile-bottom-nav__item:nth-child(2) .mobile-bottom-nav__icon{background:var(--green-900);color:white}.mobile-bottom-nav__item:nth-child(2) .mobile-bottom-nav__icon svg{width:19px;height:19px}

  .mobile-menu{display:block;position:fixed;inset:0;z-index:90;pointer-events:none;opacity:0;transition:opacity .18s}
  .mobile-menu.is-open{pointer-events:auto;opacity:1}
  .mobile-menu__backdrop{position:absolute;inset:0;border:0;width:100%;background:rgba(12,32,24,.42);backdrop-filter:blur(2px)}
  .mobile-menu__panel{position:absolute;left:auto;right:0;top:0;bottom:0;width:min(86vw,350px);padding:calc(15px + env(safe-area-inset-top)) 17px 22px;background:#fff;transform:translateX(103%);transition:transform .2s;box-shadow:-20px 0 50px rgba(9,31,22,.16)}
  .mobile-menu.is-open .mobile-menu__panel{transform:none}
  .mobile-menu__top{display:flex;align-items:center;justify-content:space-between;padding-bottom:14px;border-bottom:1px solid var(--line)}
  .mobile-menu__brand{display:flex;align-items:center;gap:8px;font-family:Georgia,serif;font-weight:700;color:var(--green-950)}
  .mobile-menu__brand img{width:24px;height:32px;object-fit:contain}
  .mobile-menu__close{width:36px;height:36px;border:0;border-radius:10px;background:#f3f5f3;color:#46534c;font-size:25px;line-height:1}
  .mobile-menu__nav{display:grid;padding-top:7px}
  .mobile-menu__nav a{display:flex;justify-content:space-between;align-items:center;padding:13px 4px;border-bottom:1px solid #eef0ef;font-size:13px;font-weight:700;color:#34443b}
  .mobile-menu__nav a span{color:#99a19d;font-size:20px;font-weight:400}
  .mobile-menu__legal{display:flex;flex-wrap:wrap;gap:9px 14px;margin-top:18px;font-size:10px;color:#7b847f}
}

@media(max-width:480px){
  .order-review-actions{grid-template-columns:1fr 1.08fr;gap:8px}
  .order-review-actions .button{padding-inline:9px;font-size:12px}
  :root{--page:calc(100% - 22px)}
  .app-home__layout{padding-top:20px;gap:16px}
  .app-intro h1{font-size:28px}.app-intro>p{font-size:12.5px}
  .app-trust-row span:nth-child(3){display:none}
  .flow-card{padding:15px}
  .flow-card__top{gap:12px}.flow-card h2{font-size:20px}
  .search-control button{padding:0 12px}
  .plant-result{grid-template-columns:62px 1fr}.plant-result__visual{width:62px;height:77px}.plant-result h3{font-size:15px}
  .section-title-row h2{font-size:19px}.book-option-card{width:100%}
}

/* ===== Full site phase ===== */
.app-home{
  background:
    radial-gradient(circle at 20% 18%, rgba(255,255,255,.62), transparent 26%),
    linear-gradient(180deg,#f6f1e6 0%,#f7f6f2 100%);
}
.app-home__botanical--left{background-image:url('../images/botanical/hero-left.webp');opacity:.26;left:0;top:0;bottom:auto;width:230px;height:520px}
.app-home__botanical--right{background-image:url('../images/botanical/hero-right.webp');opacity:.28;right:0;top:0;width:300px;height:520px}
.app-home__layout{padding-top:54px;padding-bottom:52px}
.app-intro{padding:22px 0 12px}
.app-trust-row span{background:rgba(255,255,255,.88)}
.flow-card{backdrop-filter:blur(6px)}

.page-hero{position:relative;overflow:hidden;padding:50px 0 32px;background:linear-gradient(180deg,#f6f1e6 0%, #fbfaf7 100%);border-bottom:1px solid var(--line)}
.page-hero--compact{padding:34px 0 26px}
.page-hero__leaf{position:absolute;pointer-events:none;background-repeat:no-repeat;background-size:contain;opacity:.18}
.page-hero__leaf--left{left:0;top:0;width:220px;height:420px;background-image:url('../images/botanical/hero-left.webp')}
.page-hero__leaf--right{right:0;top:0;width:260px;height:420px;background-image:url('../images/botanical/hero-right.webp')}
.page-hero__layout{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:22px;align-items:center}
.page-hero__content{max-width:720px}
.page-hero__eyebrow{display:inline-block;margin-bottom:10px;font-size:11px;font-weight:850;letter-spacing:.12em;color:var(--green-800)}
.page-hero__content h1{margin:0 0 12px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(34px,5vw,58px);line-height:1.03;letter-spacing:-.04em;color:var(--green-950)}
.page-hero__content p{margin:0;color:#526059;font-size:15px;line-height:1.62;max-width:620px}
.page-hero__aside{padding:20px;border:1px solid #e0e5e1;border-radius:22px;background:rgba(255,255,255,.9);box-shadow:var(--shadow-sm)}
.page-hero__aside h3{margin:0 0 8px;color:var(--green-950);font-size:18px}
.page-hero__aside p{margin:0 0 12px;color:var(--muted);font-size:13px;line-height:1.55}
.page-hero__badge-list{display:flex;flex-wrap:wrap;gap:8px}
.page-hero__badge-list span{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border-radius:999px;background:#f5f8f5;border:1px solid #dde6df;font-size:11px;font-weight:750;color:#415048}
.page-hero__badge-list svg{width:14px;height:14px;color:var(--green-800)}

.content-section{padding:42px 0;background:#fff}
.content-section--soft{background:#f7f8f6}
.section-intro{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}
.section-intro h2{margin:0;font-size:30px;letter-spacing:-.03em;color:var(--green-950)}
.section-intro p{margin:6px 0 0;color:var(--muted);font-size:14px;max-width:680px}
.eyebrow{display:block;font-size:10px;font-weight:850;letter-spacing:.12em;color:var(--green-800);margin-bottom:7px}
.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.info-card,.surface-card{border:1px solid #e1e6e2;border-radius:20px;background:#fff;box-shadow:var(--shadow-sm)}
.info-card{padding:20px}
.info-card__icon{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:#edf4ef;color:var(--green-800);margin-bottom:14px}
.info-card__icon svg{width:22px;height:22px}
.info-card h3{margin:0 0 8px;font-size:18px;color:var(--green-950)}
.info-card p{margin:0;color:#68746d;font-size:13px;line-height:1.6}

.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.pricing-card{position:relative;display:flex;flex-direction:column;padding:22px;border:1px solid #e1e6e2;border-radius:22px;background:#fff;box-shadow:var(--shadow-sm)}
.pricing-card--featured{border-color:#c8ab63;box-shadow:0 14px 34px rgba(181,138,56,.12)}
.pricing-chip{display:inline-block;align-self:flex-start;margin-bottom:12px;padding:6px 10px;border-radius:999px;background:#eef5f0;color:var(--green-800);font-size:10px;font-weight:850;letter-spacing:.1em}
.pricing-card--featured .pricing-chip{background:#fff5dd;color:#83651f}
.pricing-card h3{margin:0;color:var(--green-950);font-size:22px}
.pricing-price{margin:14px 0 6px;font-size:40px;font-weight:800;color:var(--green-950);letter-spacing:-.04em}
.pricing-price small{font-size:14px;color:var(--muted);font-weight:600}
.pricing-card p{margin:0 0 18px;color:var(--muted);font-size:14px;line-height:1.58}
.pricing-list{display:grid;gap:10px;margin:0 0 20px;padding:0;list-style:none}
.pricing-list li{display:flex;gap:8px;align-items:flex-start;font-size:13px;color:#46544c}
.pricing-list li svg{flex:0 0 auto;width:18px;height:18px;color:#2f734b;margin-top:1px}
.pricing-card .button{margin-top:auto}

.catalog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.catalog-card{display:flex;flex-direction:column;padding:18px;border:1px solid #e1e6e2;border-radius:20px;background:#fff;box-shadow:var(--shadow-sm)}
.catalog-card__book{display:grid;grid-template-columns:100px 1fr;gap:16px;align-items:start}
.catalog-card__book img{width:100px;height:138px;object-fit:cover;border-radius:13px;background:#eff3ee}
.catalog-card h3{margin:0 0 6px;font-size:21px;color:var(--green-950);line-height:1.12}
.catalog-card em{display:block;margin-bottom:10px;font-family:Georgia,serif;color:#66746c;font-size:13px}
.catalog-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.58}
.catalog-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}
.catalog-tags span{padding:7px 9px;border-radius:999px;background:#f4f8f5;border:1px solid #dfe8e1;font-size:10px;font-weight:800;color:#4c5a53}
.catalog-card .button{margin-top:18px}

.steps-row{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.step-card{padding:18px;border:1px solid #e1e6e2;border-radius:20px;background:#fff;box-shadow:var(--shadow-sm)}
.step-card__number{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#edf4ef;color:var(--green-800);font-size:15px;font-weight:850;margin-bottom:14px}
.step-card h3{margin:0 0 6px;color:var(--green-950);font-size:18px}
.step-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}

.faq-list{display:grid;gap:14px}
.faq-item{border:1px solid #e1e6e2;border-radius:18px;background:#fff;box-shadow:var(--shadow-sm);overflow:hidden}
.faq-item summary{list-style:none;padding:18px 20px;font-size:16px;font-weight:750;color:var(--green-950);cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:'+';font-size:24px;line-height:1;color:#7f8b84}
.faq-item[open] summary::after{content:'–'}
.faq-item__body{padding:0 20px 18px;color:var(--muted);font-size:14px;line-height:1.7}
.faq-item__body p{margin:0}

.support-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}
.form-card,.helper-card,.legal-card,.account-card{padding:22px;border:1px solid #e1e6e2;border-radius:20px;background:#fff;box-shadow:var(--shadow-sm)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.form-field{display:grid;gap:7px}
.form-field--full{grid-column:1/-1}
.form-field label{font-size:12px;font-weight:750;color:#405048}
.form-field input,.form-field select,.form-field textarea{width:100%;min-height:46px;padding:12px 14px;border:1px solid #d9dfdb;border-radius:13px;background:#fff;color:var(--ink);outline:0}
.form-field textarea{min-height:150px;resize:vertical}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#8fa89a;box-shadow:0 0 0 4px rgba(24,82,61,.08)}
.helper-list{display:grid;gap:12px;margin-top:4px}
.helper-item{padding:14px 15px;border-radius:16px;background:#f7f9f7;border:1px solid #e7ece8}
.helper-item strong{display:block;margin-bottom:4px;color:var(--green-950);font-size:14px}
.helper-item span{display:block;color:var(--muted);font-size:12px;line-height:1.55}

.account-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:18px}
.account-card h3,.form-card h3,.helper-card h3,.legal-card h3{margin:0 0 12px;color:var(--green-950);font-size:21px}
.account-card p,.helper-card p,.legal-card p,.form-card p{margin:0;color:var(--muted);font-size:14px;line-height:1.62}
.book-status-list{display:grid;gap:14px}
.book-status{display:grid;grid-template-columns:74px 1fr auto;gap:14px;align-items:center;padding:14px;border-radius:18px;background:#f8faf8;border:1px solid #e5ebe6}
.book-status img{width:74px;height:100px;object-fit:cover;border-radius:12px}
.book-status h4{margin:0 0 4px;font-size:18px;color:var(--green-950)}
.book-status em{display:block;font-family:Georgia,serif;font-size:12px;color:#69766e;margin-bottom:6px}
.book-status span{display:block;font-size:12px;color:#6c7771}
.status-pill{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border-radius:999px;background:#eef5f0;color:#2f734b;font-size:11px;font-weight:850}
.status-pill--working{background:#fff6df;color:#8b6720}
.button-stack{display:grid;gap:8px;min-width:145px}

.legal-layout{display:grid;gap:18px}
.legal-card h2{margin:0 0 12px;color:var(--green-950);font-size:26px;letter-spacing:-.03em}
.legal-card h3{margin:20px 0 8px;color:var(--green-950);font-size:18px}
.legal-card ul{margin:10px 0 0 20px;color:var(--muted);padding:0}
.legal-card li{margin:7px 0;line-height:1.65}
.legal-card p + p{margin-top:10px}
.notice-box{padding:16px 18px;border:1px solid #e7d7aa;border-radius:16px;background:#fffaf0;color:#6a5730;font-size:13px;line-height:1.65}
.dual-column{display:grid;grid-template-columns:1fr 1fr;gap:18px}

.cta-banner{padding:24px;border-radius:22px;background:linear-gradient(135deg,var(--green-950),var(--green-800));color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;box-shadow:var(--shadow-md)}
.cta-banner h3{margin:0 0 6px;font-size:26px;letter-spacing:-.03em}
.cta-banner p{margin:0;color:rgba(255,255,255,.82);font-size:14px;line-height:1.6;max-width:620px}
.cta-banner .button{background:#fff;color:var(--green-950)}
.cta-banner .button:hover{background:#f2f5f2}

@media(max-width:1000px){
  .page-hero__layout,.support-grid,.account-grid{grid-template-columns:1fr}
  .info-grid,.pricing-grid,.catalog-grid,.dual-column{grid-template-columns:repeat(2,1fr)}
  .steps-row{grid-template-columns:repeat(3,1fr)}
}

@media(max-width:820px){
  .app-home__botanical--left{width:130px;height:290px;opacity:.22}
  .app-home__botanical--right{width:170px;height:300px;opacity:.24}
  .app-home__layout{padding-top:18px;padding-bottom:24px}
  .page-hero{padding:24px 0 18px}
  .page-hero__leaf--left{width:110px;height:220px;opacity:.15}
  .page-hero__leaf--right{width:130px;height:220px;opacity:.18}
  .page-hero__content h1{font-family:inherit;font-size:30px;line-height:1.08;font-weight:800}
  .page-hero__content p{font-size:13px;line-height:1.55}
  .page-hero__aside{padding:16px;border-radius:18px}
  .content-section{padding:28px 0}
  .section-intro{display:block;margin-bottom:16px}
  .section-intro h2{font-size:22px}
  .section-intro p{font-size:12px;max-width:none}
  .info-grid,.pricing-grid,.catalog-grid,.steps-row,.support-grid,.account-grid,.dual-column{grid-template-columns:1fr}
  .catalog-card__book{grid-template-columns:84px 1fr;gap:12px}
  .catalog-card__book img{width:84px;height:116px}
  .pricing-price{font-size:34px}
  .faq-item summary{font-size:15px;padding:15px 16px}
  .faq-item__body{padding:0 16px 16px;font-size:13px}
  .form-grid{grid-template-columns:1fr}
  .book-status{grid-template-columns:62px 1fr;gap:12px}
  .book-status img{width:62px;height:84px}
  .button-stack{grid-column:1/-1;min-width:0}
  .legal-card{padding:18px}
  .legal-card h2{font-size:24px}
  .cta-banner{padding:20px;display:block}
  .cta-banner h3{font-size:23px}
  .cta-banner .button{margin-top:14px;width:100%}
}


/* Hero dark botanical version with white text */
.app-home{background:#0b2119;border-bottom:1px solid rgba(255,255,255,.08)}
.app-home::before{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:url('../images/backgrounds/hero-full-width-botanical.jpg') center center/cover no-repeat;opacity:1}
.app-home::after{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(90deg, rgba(6,18,14,.72) 0%, rgba(7,20,15,.58) 26%, rgba(9,24,18,.34) 48%, rgba(8,21,16,.36) 56%, rgba(6,18,14,.56) 76%, rgba(6,18,14,.68) 100%)}
.app-home__botanical,.app-home__botanical--left,.app-home__botanical--right{display:none !important}
.app-intro .app-kicker{color:#e6edd9}
.app-intro h1{color:#fff;text-shadow:0 4px 18px rgba(0,0,0,.28)}
.app-intro>p{color:rgba(255,255,255,.92);text-shadow:0 1px 8px rgba(0,0,0,.22)}
.app-trust-row span{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.22);color:#fff;backdrop-filter:blur(6px)}
.app-trust-row svg{color:#d9eccc}
@media(max-width:820px){
  .app-home::after{background:linear-gradient(180deg, rgba(6,18,14,.64) 0%, rgba(8,22,16,.46) 24%, rgba(9,25,18,.36) 52%, rgba(6,18,14,.58) 100%)}
  .app-intro h1{color:#fff}
  .app-intro>p{color:rgba(255,255,255,.92)}
}
@media(max-width:480px){
  .app-home::after{background:linear-gradient(180deg, rgba(6,18,14,.62) 0%, rgba(8,22,16,.44) 22%, rgba(9,24,18,.34) 50%, rgba(6,18,14,.56) 100%)}
}


/* Mobile hero: centered app-style intro */
@media(max-width:820px){
  .app-intro{
    width:100%;
    max-width:560px;
    margin-inline:auto;
    padding:18px 12px 8px;
    text-align:center;
    display:flex;
    flex-direction:column;
    align-items:center;
  }
  .app-intro .app-kicker{
    width:100%;
    text-align:center;
  }
  .app-intro h1{
    width:100%;
    max-width:360px;
    margin-left:auto;
    margin-right:auto;
    text-align:center;
  }
  .app-intro>p{
    width:100%;
    max-width:390px;
    margin-left:auto;
    margin-right:auto;
    text-align:center;
  }
  .app-trust-row{
    width:100%;
    justify-content:center;
    align-items:center;
    margin-top:16px;
  }
}

@media(max-width:480px){
  .app-intro{
    padding-left:8px;
    padding-right:8px;
  }
  .app-intro h1{
    max-width:320px;
  }
  .app-intro>p{
    max-width:330px;
  }
  .app-trust-row{
    gap:8px;
  }
  .app-trust-row span{
    justify-content:center;
  }
  .app-trust-row span:nth-child(3){
    display:none;
  }
}


/* ===== Sitewide botanical backgrounds update ===== */
body{background:#f7f3ea}

/* Home hero */
.app-home{position:relative;overflow:hidden;background:#0b2119 !important;border-bottom:1px solid rgba(255,255,255,.08)!important}
.app-home::before{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:url('../images/backgrounds/hero-dark-02.jpg') center center/cover no-repeat;opacity:1}
.app-home::after{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(90deg, rgba(7,20,15,.76) 0%, rgba(9,24,18,.56) 22%, rgba(10,28,20,.28) 48%, rgba(10,28,20,.34) 58%, rgba(7,20,15,.60) 78%, rgba(7,20,15,.76) 100%)}
.app-home__botanical,.app-home__botanical--left,.app-home__botanical--right{display:none !important}
.app-home__layout{position:relative;z-index:1}
.app-intro .app-kicker{color:#e7eed8}
.app-intro h1{color:#ffffff;text-shadow:0 4px 18px rgba(0,0,0,.26)}
.app-intro>p{color:rgba(255,255,255,.92);text-shadow:0 1px 10px rgba(0,0,0,.22)}
.app-trust-row span{background:rgba(255,255,255,.10) !important;border:1px solid rgba(255,255,255,.22);color:#fff;backdrop-filter:blur(8px)}
.app-trust-row svg{color:#deedce}
.flow-card{background:rgba(255,255,255,.94);border-color:rgba(255,255,255,.28);box-shadow:0 12px 34px rgba(5,18,13,.20)}

/* Shared internal heroes */
.page-hero{position:relative;overflow:hidden;background:#0b2119 !important;border-bottom:1px solid rgba(255,255,255,.08)!important}
.page-hero::before{content:'';position:absolute;inset:0;pointer-events:none;background:url('../images/backgrounds/hero-dark-01.jpg') center center/cover no-repeat;opacity:1}
.page-hero::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg, rgba(7,20,15,.74) 0%, rgba(9,24,18,.54) 28%, rgba(9,24,18,.28) 52%, rgba(7,20,15,.52) 74%, rgba(7,20,15,.72) 100%)}
.page-hero__leaf,.page-hero__leaf--left,.page-hero__leaf--right{display:none !important}
.page-hero__layout,.page-hero__content,.page-hero__aside{position:relative;z-index:1}
.page-hero__eyebrow{color:#dbe8cf !important}
.page-hero__content h1{color:#fff !important;text-shadow:0 4px 18px rgba(0,0,0,.26)}
.page-hero__content p{color:rgba(255,255,255,.90) !important}
.page-hero__aside{background:rgba(255,255,255,.10) !important;border:1px solid rgba(255,255,255,.18) !important;backdrop-filter:blur(10px);box-shadow:0 12px 30px rgba(6,18,14,.18)}
.page-hero__aside h3{color:#fff !important}
.page-hero__aside p{color:rgba(255,255,255,.86) !important}
.page-hero__badge-list span{background:rgba(255,255,255,.12) !important;border-color:rgba(255,255,255,.18) !important;color:#fff !important}
.page-hero__badge-list svg{color:#deedce !important}

/* Light patterned page sections */
.app-section,.app-section--simple,.content-section,.content-section--soft,.botanical-soft{position:relative;overflow:hidden;background:#f8f5ed !important}
.app-section::before,.content-section::before,.botanical-soft::before{content:'';position:absolute;inset:0;pointer-events:none;background:url('../images/backgrounds/pattern-light-01.jpg') center center/cover no-repeat;opacity:.15}
.app-section::after,.content-section::after,.botanical-soft::after{content:'';position:absolute;inset:0;pointer-events:none;background:url('../images/backgrounds/pattern-light-02.jpg') center center/cover no-repeat;opacity:.11}
.app-section>* ,.content-section>* ,.botanical-soft>* {position:relative;z-index:1}
.content-section--soft{background:#f5f0e6 !important}
.content-section--soft::before{opacity:.16}
.content-section--soft::after{opacity:.12}
.section-heading,.info-card,.surface-card,.pricing-card,.catalog-card,.faq-item,.form-card,.helper-card,.legal-card,.account-card,.book-option-card,.simple-step,.info-card{background:rgba(255,255,255,.92)}

/* Desktop footer dark */
.desktop-footer{position:relative;overflow:hidden;background:#091d16 !important;border-top:1px solid rgba(255,255,255,.08) !important;color:rgba(255,255,255,.82) !important}
.desktop-footer::before{content:'';position:absolute;inset:0;pointer-events:none;background:url('../images/backgrounds/hero-dark-03.jpg') center center/cover no-repeat;opacity:.38}
.desktop-footer::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg, rgba(6,18,14,.88), rgba(8,21,16,.72), rgba(6,18,14,.88))}
.desktop-footer>*{position:relative;z-index:1}
.desktop-footer strong,.desktop-footer nav a{color:#fff !important}
.desktop-footer span{color:rgba(255,255,255,.72) !important}
.desktop-footer nav a:hover{color:#dceacf !important}

/* Keep mobile hero centered as requested */
@media(max-width:820px){
  .app-home::after{background:linear-gradient(180deg, rgba(6,18,14,.64) 0%, rgba(8,22,16,.46) 22%, rgba(9,24,18,.34) 52%, rgba(6,18,14,.60) 100%)}
  .page-hero::after{background:linear-gradient(180deg, rgba(6,18,14,.68) 0%, rgba(9,24,18,.46) 28%, rgba(7,20,15,.60) 100%)}
  .app-intro{width:100%;max-width:560px;margin-inline:auto;padding:18px 12px 8px;text-align:center;display:flex;flex-direction:column;align-items:center}
  .app-intro .app-kicker,.app-intro h1,.app-intro>p{width:100%;text-align:center}
  .app-intro h1{max-width:360px;margin-left:auto;margin-right:auto}
  .app-intro>p{max-width:390px;margin-left:auto;margin-right:auto}
  .app-trust-row{width:100%;justify-content:center;align-items:center;margin-top:16px}
  .app-section::before,.content-section::before,.botanical-soft::before{opacity:.11;background-position:center top}
  .app-section::after,.content-section::after,.botanical-soft::after{opacity:.08;background-position:center bottom}
}
@media(max-width:480px){
  .app-home::after{background:linear-gradient(180deg, rgba(6,18,14,.66) 0%, rgba(8,22,16,.46) 24%, rgba(9,24,18,.34) 54%, rgba(6,18,14,.60) 100%)}
  .app-intro{padding-left:8px;padding-right:8px}
  .app-intro h1{max-width:320px}
  .app-intro>p{max-width:330px}
  .app-trust-row{gap:8px}
  .app-trust-row span{justify-content:center}
  .app-trust-row span:nth-child(3){display:none}
  .app-section::before,.content-section::before,.botanical-soft::before{opacity:.09}
  .app-section::after,.content-section::after,.botanical-soft::after{opacity:.07}
}

/* ===== English / Spanish language switcher ===== */
.language-switcher{display:inline-flex;align-items:center;gap:7px;color:#758078;font-size:11px;font-weight:800;white-space:nowrap}
.language-switcher__option{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 5px;border-radius:8px;color:#657168;transition:.16s}
.language-switcher__option:hover{color:var(--green-950);background:#f2f6f3}
.language-switcher__option.is-active{color:var(--green-950);background:#edf4ef}
.language-switcher--desktop{margin-left:auto}
.mobile-language-switcher{display:none}

@media(max-width:1120px) and (min-width:821px){
  .desktop-nav{gap:14px}
  .desktop-nav__link{font-size:11.5px}
  .language-switcher--desktop{gap:4px}
  .header-cta{padding-inline:13px}
}

@media(max-width:820px){
  .language-switcher--desktop{display:none}
  .mobile-language-switcher{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0 3px;padding:12px 4px;border-bottom:1px solid #eef0ef}
  .mobile-language-switcher>span{font-size:11px;font-weight:800;color:#66726b;text-transform:uppercase;letter-spacing:.08em}
  .mobile-language-switcher .language-switcher{gap:6px}
  .mobile-language-switcher .language-switcher__option{min-height:34px;padding:0 10px;border:1px solid #e2e7e3;background:#fff;font-size:11px}
  .mobile-language-switcher .language-switcher__option.is-active{border-color:#adc1b4;background:#edf4ef;color:var(--green-950)}
}


/* ===== Readability update: enlarge the smallest interface text ===== */
/* Desktop / shared */
.desktop-nav__link{font-size:14px}
.header-cta{font-size:14px}
.app-kicker{font-size:12px}
.app-trust-row span{font-size:13px}
.step-label{font-size:12px}
.flow-card__top p{font-size:14px}
.step-count{font-size:12px}
.plant-search label{font-size:13px}
.search-control button{font-size:13px}
.plant-suggestions span{font-size:14px}
.plant-suggestions small{font-size:12px}
.plant-result__scientific{font-size:14px}
.plant-result__aka{font-size:12px}
.plant-result__status{font-size:12px}
.button{font-size:14px}
.plant-result .button--quiet{font-size:13px}
.plant-search-message{font-size:12px}
.flow-card__note{font-size:12px}
.text-link{font-size:13px}
.best-value{font-size:10px}
.book-type{font-size:11px}
.book-option-card p{font-size:13px}
.book-meta{font-size:12px}
.simple-step strong{font-size:14px}
.simple-step small{font-size:12px}
.section-heading>span{font-size:12px}
.desktop-footer span{font-size:12px}
.desktop-footer nav{font-size:12px}

.page-hero__eyebrow{font-size:12px}
.page-hero__aside p{font-size:14px}
.page-hero__badge-list span{font-size:12px}
.eyebrow{font-size:12px}
.info-card p{font-size:14px}
.pricing-chip{font-size:12px}
.pricing-list li{font-size:14px}
.catalog-card em{font-size:14px}
.catalog-card p{font-size:14px}
.catalog-tags span{font-size:12px}
.step-card p{font-size:14px}
.form-field label{font-size:13px}
.helper-item span{font-size:13px}
.book-status em{font-size:13px}
.book-status span{font-size:13px}
.status-pill{font-size:12px}
.notice-box{font-size:14px}
.language-switcher{font-size:13px}
.language-switcher__option{min-height:34px;padding-inline:7px}

/* Tablet and mobile: keep every utility label comfortably readable */
@media(max-width:820px){
  .app-kicker{font-size:11px}
  .app-intro>p{font-size:14px}
  .app-trust-row span{font-size:11px}
  .step-label{font-size:11px}
  .flow-card__top p{font-size:13px}
  .plant-search label{font-size:13px}
  .search-control input{font-size:14px}
  .search-control button{font-size:13px}
  .plant-result__scientific{font-size:13px}
  .plant-result__status{font-size:12px}
  .plant-result__aka{font-size:12px}
  .flow-card__note{font-size:12px}

  .text-link{font-size:12px}
  .book-option-card p{font-size:13px}
  .book-meta{font-size:11px}
  .book-type{font-size:11px}
  .best-value{font-size:10px}

  .section-heading p{font-size:14px}
  .page-hero__content p{font-size:14px}
  .section-intro p{font-size:14px}
  .faq-item__body{font-size:14px}

  .mobile-bottom-nav__item{font-size:10px}
  .mobile-menu__nav a{font-size:15px}
  .mobile-menu__legal{font-size:12px}

  .mobile-language-switcher>span{font-size:12px}
  .mobile-language-switcher .language-switcher{font-size:13px}
  .mobile-language-switcher .language-switcher__option{font-size:13px;min-height:38px}
}

@media(max-width:480px){
  .app-intro>p{font-size:14px}
  .app-trust-row span{font-size:11px}
  .book-option-card p{font-size:13px}
  .book-meta{font-size:11px}
  .mobile-bottom-nav__item{font-size:10px}
}


/* ===== Readability V2: slightly larger small text ===== */
/* Desktop / shared */
.desktop-nav__link{font-size:15px}
.header-cta{font-size:15px}

.app-kicker{font-size:13px}
.app-trust-row span{font-size:14px}

.step-label{font-size:13px}
.flow-card__top p{font-size:15px}
.step-count{font-size:13px}
.plant-search label{font-size:14px}
.search-control input{font-size:15px}
.search-control button{font-size:14px}
.plant-suggestions span{font-size:15px}
.plant-suggestions small{font-size:13px}
.plant-result__scientific{font-size:15px}
.plant-result__aka{font-size:13px}
.plant-result__status{font-size:13px}
.button{font-size:15px}
.plant-result .button--quiet{font-size:14px}
.plant-search-message{font-size:13px}
.flow-card__note{font-size:13px}

.text-link{font-size:14px}
.best-value{font-size:11px}
.book-type{font-size:12px}
.book-option-card p{font-size:14px;line-height:1.55}
.book-meta{font-size:13px}

.simple-step strong{font-size:15px}
.simple-step small{font-size:13px}

.section-heading>span{font-size:13px}
.section-heading p{font-size:15px}
.desktop-footer span{font-size:13px}
.desktop-footer nav{font-size:13px}

.page-hero__eyebrow{font-size:13px}
.page-hero__content p{font-size:16px}
.page-hero__aside p{font-size:15px}
.page-hero__badge-list span{font-size:13px}

.eyebrow{font-size:13px}
.section-intro p{font-size:15px}
.info-card p{font-size:15px}

.pricing-chip{font-size:13px}
.pricing-card p{font-size:15px}
.pricing-list li{font-size:15px}

.catalog-card em{font-size:15px}
.catalog-card p{font-size:15px}
.catalog-tags span{font-size:13px}

.step-card p{font-size:15px}
.faq-item__body{font-size:15px}

.form-field label{font-size:14px}
.form-field input,
.form-field select,
.form-field textarea{font-size:15px}

.helper-item strong{font-size:15px}
.helper-item span{font-size:14px}

.account-card p,
.helper-card p,
.legal-card p,
.form-card p{font-size:15px}

.book-status em{font-size:14px}
.book-status span{font-size:14px}
.status-pill{font-size:13px}

.notice-box{font-size:15px}
.language-switcher{font-size:14px}
.language-switcher__option{min-height:36px;padding-inline:8px}

/* Tablet / mobile */
@media(max-width:820px){
  .app-kicker{font-size:12px}
  .app-intro>p{font-size:15px;line-height:1.58}
  .app-trust-row span{font-size:12px}

  .step-label{font-size:12px}
  .flow-card__top p{font-size:14px}
  .plant-search label{font-size:14px}
  .search-control input{font-size:15px}
  .search-control button{font-size:14px}
  .plant-result__scientific{font-size:14px}
  .plant-result__status{font-size:13px}
  .plant-result__aka{font-size:13px}
  .flow-card__note{font-size:13px}

  .text-link{font-size:13px}
  .book-type{font-size:12px}
  .best-value{font-size:11px}
  .book-option-card p{font-size:14px}
  .book-meta{font-size:12px}

  .section-heading p{font-size:15px}
  .page-hero__content p{font-size:15px}
  .section-intro p{font-size:15px}
  .faq-item__body{font-size:15px}

  .mobile-bottom-nav__item{font-size:11px}
  .mobile-menu__nav a{font-size:16px}
  .mobile-menu__legal{font-size:13px}

  .mobile-language-switcher>span{font-size:13px}
  .mobile-language-switcher .language-switcher{font-size:14px}
  .mobile-language-switcher .language-switcher__option{
    font-size:14px;
    min-height:40px;
    padding-inline:12px;
  }
}

@media(max-width:480px){
  .app-intro>p{font-size:15px}
  .app-trust-row span{font-size:12px}
  .book-option-card p{font-size:14px}
  .book-meta{font-size:12px}
  .mobile-bottom-nav__item{font-size:11px}
}


/* ===== Desktop top menu: smaller + single line ===== */
@media(min-width:821px){
  .site-header__inner{
    gap:20px;
  }

  .desktop-nav{
    gap:16px;
  }

  .desktop-nav__link{
    font-size:12px;
    white-space:nowrap;
    flex:0 0 auto;
  }

  .language-switcher{
    font-size:12px;
  }

  .header-cta{
    font-size:13px;
    padding-inline:14px;
    white-space:nowrap;
  }
}


/* ===== Desktop top menu: 14px, single line, compact spacing ===== */
@media(min-width:821px){
  .site-header__inner{
    gap:16px;
  }

  .desktop-nav{
    gap:16px;
  }

  .desktop-nav__link{
    font-size:14px;
    white-space:nowrap;
    flex:0 0 auto;
  }

  .language-switcher{
    font-size:12px;
  }

  .language-switcher--desktop{
    margin-left:0;
  }

  .header-cta{
    font-size:13px;
    padding-inline:13px;
    white-space:nowrap;
  }
}

/* ===== STEP 1: live plant search / botanical confirmation ===== */
.search-control button:disabled{opacity:.72;cursor:wait}
.plant-search.is-searching .search-control__icon{animation:pbs-search-pulse .9s ease-in-out infinite alternate}
@keyframes pbs-search-pulse{from{opacity:.35;transform:scale(.92)}to{opacity:1;transform:scale(1.05)}}

.plant-suggestions{max-height:min(440px,56vh);overflow:auto;padding:7px}
.plant-suggestion{width:100%;display:grid!important;grid-template-columns:48px minmax(0,1fr) auto!important;align-items:center;gap:11px!important;padding:9px 10px!important;border:0!important;border-radius:11px!important;background:transparent!important;text-align:left!important;color:var(--ink)!important}
.plant-suggestion:hover,.plant-suggestion:focus-visible{background:var(--green-50)!important;outline:none}
.plant-suggestion__visual{width:48px;height:48px;border-radius:10px;overflow:hidden;background:#edf3ef;display:grid;place-items:center}
.plant-suggestion__visual img{width:100%;height:100%;object-fit:cover}
.plant-suggestion__visual img.is-generic{width:22px;height:auto;object-fit:contain}
.plant-suggestion__copy{min-width:0;display:block}
.plant-suggestion__copy strong{display:block;font-size:14px;line-height:1.2;color:var(--green-950);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.plant-suggestion__copy em{display:block;margin-top:3px;font-family:Georgia,serif;font-size:13px;line-height:1.2;font-weight:400;font-style:italic;color:#65736b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.plant-suggestion__rank{display:inline-flex;align-items:center;justify-content:center;min-height:25px;padding:0 8px;border-radius:999px;background:#eef5f0;color:#496256;font-size:11px;font-weight:800;white-space:nowrap}
.plant-result__rank{margin:5px 0 0;font-size:12px;font-weight:800;color:#6d7871;text-transform:uppercase;letter-spacing:.06em}
.plant-result.is-confirmed{border-color:#b8d4c1;background:#f7fbf8;box-shadow:0 0 0 3px rgba(47,115,75,.06)}

@media(max-width:820px){
  .plant-suggestions{max-height:min(390px,52vh)}
  .plant-suggestion{grid-template-columns:44px minmax(0,1fr) auto!important;gap:9px!important;padding:8px!important}
  .plant-suggestion__visual{width:44px;height:44px}
  .plant-suggestion__copy strong{font-size:14px}
  .plant-suggestion__copy em{font-size:13px}
  .plant-suggestion__rank{font-size:10px;min-height:23px;padding-inline:7px}
  .plant-result__rank{font-size:11px}
}

@media(max-width:480px){
  .plant-suggestion{grid-template-columns:42px minmax(0,1fr)!important}
  .plant-suggestion__visual{width:42px;height:42px}
  .plant-suggestion__rank{grid-column:2;justify-self:start;margin-top:-3px}
}


/* ===== Plant search dropdown: always overlay the following section ===== */
.app-home{
  overflow:visible !important;
  z-index:10;
}

.flow-card{
  z-index:20;
}

.plant-search{
  z-index:30;
}

.plant-suggestions{
  z-index:999;
}

.app-section--books{
  z-index:1;
}


/* ===== Mobile rule: compact fields without viewport zoom / horizontal expansion ===== */
@media(max-width:820px){
  html,
  body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }

  .page-width,
  .flow-card,
  .plant-search,
  .search-control,
  .form-grid,
  .form-field{
    min-width:0;
    max-width:100%;
  }

  /* Search field: visually more compact, but 16px text prevents mobile browser auto-zoom. */
  .search-control{
    width:100%;
    grid-template-columns:18px minmax(0,1fr) auto;
    gap:6px;
    padding:4px 4px 4px 10px;
    border-radius:11px;
  }

  .search-control__icon{
    width:17px;
    height:17px;
  }

  .search-control input{
    width:100%;
    min-width:0;
    max-width:100%;
    height:40px;
    font-size:16px;
    line-height:1.2;
  }

  .search-control button{
    flex:0 0 auto;
    height:38px;
    padding:0 10px;
    border-radius:9px;
    font-size:12px;
    white-space:nowrap;
  }

  /* Apply the same mobile safety rule to the remaining forms on Support / My Books / future steps. */
  .form-field input,
  .form-field select,
  .form-field textarea{
    width:100%;
    min-width:0;
    max-width:100%;
    font-size:16px;
  }
}

@media(max-width:480px){
  .search-control{
    grid-template-columns:17px minmax(0,1fr) auto;
    gap:5px;
    padding-left:9px;
  }

  .search-control button{
    padding-inline:9px;
    font-size:11.5px;
  }
}


/* ===== Plant identity confirmation: richer botanical facts ===== */
.plant-result__identity{
  display:grid;
  gap:10px;
  margin-top:12px;
}
.plant-result__facts{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.plant-result__fact{
  min-width:0;
  padding:8px 10px;
  border:1px solid #e2e8e4;
  border-radius:10px;
  background:#f6f9f7;
}
.plant-result__fact span,
.plant-result__recognition>span{
  display:block;
  margin-bottom:2px;
  font-size:12px;
  line-height:1.25;
  font-weight:850;
  letter-spacing:.07em;
  text-transform:uppercase;
  color:#718078;
}
.plant-result__fact strong{
  display:block;
  font-size:11px;
  line-height:1.35;
  font-weight:750;
  color:#29443a;
  overflow-wrap:anywhere;
}
.plant-result__recognition{
  padding:10px 11px;
  border-left:3px solid #8cad98;
  border-radius:0 10px 10px 0;
  background:#f2f7f3;
}
.plant-result__recognition p{
  margin:0;
  font-size:11px;
  line-height:1.5;
  color:#4c5c54;
}
.plant-result__aka[hidden]{display:none!important}

@media(max-width:820px){
  .plant-result__facts{
    grid-template-columns:minmax(0,1fr);
  }
  .plant-result__fact{
    padding:8px 9px;
  }
}

@media(max-width:480px){
  .plant-result__identity{
    margin-top:10px;
    gap:8px;
  }
  .plant-result__recognition{
    padding:9px 10px;
  }
}


/* Remove the previous botanical verification warning panel. */
.plant-result__identity-warning{display:none!important}


/* ===== Book Translation Studio ===== */
.app-home--translation{
  overflow:visible!important;
  background:
    radial-gradient(circle at 15% 20%,rgba(181,138,56,.14),transparent 24%),
    radial-gradient(circle at 85% 80%,rgba(255,255,255,.06),transparent 26%),
    linear-gradient(135deg,#0b2f25 0%,#123f30 55%,#0c3428 100%)!important;
  color:#fff;
}
.app-home--translation .app-intro h1,
.app-home--translation .app-intro>p,
.app-home--translation .app-kicker{color:#fff!important}
.app-home--translation .app-kicker{color:#f5dda5!important}
.app-home--translation .app-trust-row span{color:#fff;border-color:rgba(255,255,255,.25);background:rgba(255,255,255,.08)}
.app-home--translation .app-trust-row svg{color:#fff}

.book-search{position:relative;z-index:30}
.book-search label{display:block;margin-bottom:7px;font-size:12px;font-weight:750;color:#34433b}
.book-suggestions{
  position:absolute;left:0;right:0;top:76px;z-index:999;padding:7px;border:1px solid #dfe4e0;
  border-radius:14px;background:#fff;box-shadow:0 16px 38px rgba(12,40,29,.18);max-height:430px;overflow:auto
}
.book-suggestion{
  width:100%;display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:11px;
  padding:9px;border:0;border-radius:10px;background:transparent;text-align:left;color:var(--ink)
}
.book-suggestion:hover{background:var(--green-50)}
.book-suggestion__visual{width:46px;height:62px;border-radius:7px;overflow:hidden;background:#edf3ef;display:grid;place-items:center}
.book-suggestion__visual img{width:100%;height:100%;object-fit:cover}
.book-suggestion__visual img.is-generic{width:28px;height:auto;object-fit:contain}
.book-suggestion__copy{min-width:0;display:block}
.book-suggestion__copy strong{display:block;font-size:12px;line-height:1.3;color:var(--green-950)}
.book-suggestion__copy em{display:block;margin-top:2px;font-size:10px;line-height:1.35;color:#748079;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.book-suggestion__meta{font-size:9px;font-weight:750;color:#6a766f;white-space:nowrap}

.book-result{
  display:grid;grid-template-columns:105px minmax(0,1fr);gap:16px;margin-top:18px;padding:15px;
  border:1px solid #e1e6e2;border-radius:16px;background:#fbfcfb
}
.book-result__cover{grid-row:1/3;width:105px;height:145px;border-radius:11px;overflow:hidden;background:#edf3ef;display:grid;place-items:center}
.book-result__cover img{width:100%;height:100%;object-fit:cover}
.book-result__cover img.is-generic{width:46px;height:auto;object-fit:contain}
.book-result__body{min-width:0}
.book-result__title-row{display:flex;justify-content:space-between;gap:10px}
.book-result h3{margin:0;font-size:17px;line-height:1.22;color:var(--green-950)}
.book-result__subtitle{margin:5px 0 0;font-family:Georgia,serif;font-size:11px;line-height:1.4;font-style:italic;color:#5c6a62}
.book-result__facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:12px}
.book-result__fact{padding:7px 8px;border:1px solid #e2e8e4;border-radius:9px;background:#f5f8f6;min-width:0}
.book-result__fact span{display:block;font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.07em;color:#78837d}
.book-result__fact strong{display:block;margin-top:2px;font-size:10px;line-height:1.25;color:#29443a;overflow-wrap:anywhere}
.book-result__filename{margin-top:9px;font-size:9px;color:#88918c;overflow-wrap:anywhere}
.book-result__status{display:flex;align-items:center;gap:6px;margin-top:9px;font-size:10px;font-weight:750;color:#326648}
.book-result__status span{width:7px;height:7px;border-radius:50%;background:#3e8a5b}
.book-result .button--primary{margin-top:2px}.book-result .button--quiet{min-height:40px;margin-top:-7px;font-size:12px}
.book-search-message{min-height:19px;margin-top:10px;font-size:11px;color:#6b756f}

.translation-next-card{display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:16px;padding:20px;border:1px solid #dfe5e1;border-radius:18px;background:#f8faf8;opacity:.68}
.translation-next-card__icon{width:56px;height:56px;border-radius:14px;background:#edf3ef;color:var(--green-800);display:grid;place-items:center}
.translation-next-card__icon svg{width:30px;height:30px}
.translation-next-card strong{display:block;font-size:16px;color:var(--green-950)}
.translation-next-card p{margin:4px 0 0;font-size:11px;color:#69766f}
.translation-next-card__lock{padding:7px 9px;border-radius:999px;background:#eef1ef;color:#707a74;font-size:12px;font-weight:800;white-space:nowrap}
.translation-next-card.is-ready{opacity:1;border-color:#a9c0b1;background:#f6faf7}
.translation-next-card.is-ready .translation-next-card__lock{background:#e4f0e7;color:#2f734b}

@media(max-width:820px){
  .app-home--translation .app-intro{text-align:center}
  .app-home--translation .app-trust-row{justify-content:center}
  .book-search label{font-size:11px}
  .book-result{grid-template-columns:82px minmax(0,1fr);gap:12px;padding:12px}
  .book-result__cover{width:82px;height:113px}
  .book-result__facts{grid-template-columns:1fr 1fr}
  .book-suggestion{grid-template-columns:42px minmax(0,1fr)}
  .book-suggestion__visual{width:42px;height:56px}
  .book-suggestion__meta{display:none}
  .translation-next-card{grid-template-columns:46px minmax(0,1fr);gap:12px;padding:15px}
  .translation-next-card__icon{width:46px;height:46px}
  .translation-next-card__lock{grid-column:2;justify-self:start}
}
@media(max-width:480px){
  .book-result{grid-template-columns:72px minmax(0,1fr);gap:10px}
  .book-result__cover{width:72px;height:99px}
  .book-result h3{font-size:15px}
  .book-result__facts{grid-template-columns:1fr}
  .book-result__fact{padding:6px 7px}
}

/* Neutralize the inherited botanical imagery on internal pages. */
.page-hero{background:linear-gradient(135deg,#0b2f25,#123f30)!important}
.page-hero::before{display:none!important;background:none!important}
.page-hero::after{background:linear-gradient(90deg,rgba(7,20,15,.10),rgba(7,20,15,.02))!important}


/* ===== Book finder: full bibliographic card ===== */
.book-result{
  grid-template-columns:128px minmax(0,1fr);
  gap:18px;
  padding:16px;
}
.book-result__cover{
  width:128px;
  height:176px;
  border-radius:10px;
  background:#eef2ef;
  box-shadow:0 5px 14px rgba(13,53,40,.10);
}
.book-result__cover img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.book-result__body{
  align-self:start;
}
.book-result h3{
  font-size:19px;
  line-height:1.22;
}
.book-result__subtitle{
  margin-top:6px;
  max-width:440px;
  font-size:12px;
  line-height:1.45;
}
.book-result__facts{
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin-top:13px;
}
.book-result__fact{
  padding:8px 9px;
}
.book-result__fact span{
  font-size:8px;
}
.book-result__fact strong{
  font-size:10.5px;
}
.book-result__filename{
  margin-top:10px;
  padding-top:8px;
  border-top:1px solid #edf0ee;
}

@media(max-width:820px){
  .book-result{
    grid-template-columns:96px minmax(0,1fr);
    gap:13px;
  }
  .book-result__cover{
    width:96px;
    height:132px;
  }
  .book-result__facts{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:480px){
  .book-result{
    grid-template-columns:82px minmax(0,1fr);
    gap:10px;
  }
  .book-result__cover{
    width:82px;
    height:113px;
  }
  .book-result h3{
    font-size:15px;
  }
  .book-result__facts{
    grid-template-columns:1fr;
  }
}


/* ===== Book Translation Studio · Step 2 language selection ===== */
.app-section--translation-language{
  position:relative;
  padding:58px 0 62px;
  background:
    radial-gradient(circle at 14% 12%,rgba(181,138,56,.09),transparent 25%),
    linear-gradient(180deg,#f7f9f6 0%,#fbfaf7 100%);
  border-bottom:1px solid var(--line);
}
.translation-step-card{
  width:min(900px,100%);
  margin-inline:auto;
  padding:28px;
  border:1px solid #dde5df;
  border-radius:22px;
  background:rgba(255,255,255,.97);
  box-shadow:0 18px 48px rgba(15,43,32,.08);
}
.translation-step-card__top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
  padding-bottom:20px;
}
.translation-step-card__top h2{
  margin:0;
  color:var(--ink);
  font-size:29px;
  line-height:1.15;
  letter-spacing:-.03em;
}
.translation-step-card__top p{
  max-width:620px;
  margin:6px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}
.translation-step-card__count{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  height:30px;
  padding:0 10px;
  border-radius:999px;
  background:var(--green-50);
  color:var(--green-800);
  font-size:10px;
  font-weight:850;
}
.translation-source-book{
  display:grid;
  grid-template-columns:58px minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  padding:12px 14px;
  border:1px solid #e0e7e2;
  border-radius:15px;
  background:#f8faf8;
}
.translation-source-book__cover{
  width:58px;
  height:80px;
  overflow:hidden;
  border-radius:7px;
  background:#edf3ef;
  box-shadow:0 4px 12px rgba(13,53,40,.09);
}
.translation-source-book__cover img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.translation-source-book__cover img.is-generic{
  object-fit:contain;
  padding:12px;
}
.translation-source-book__copy{min-width:0}
.translation-source-book__copy>span{
  display:block;
  margin-bottom:3px;
  color:#7b8780;
  font-size:8px;
  font-weight:900;
  letter-spacing:.09em;
}
.translation-source-book__copy>strong{
  display:block;
  color:var(--green-950);
  font-size:14px;
  line-height:1.3;
}
.translation-source-book__meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px 14px;
  margin-top:7px;
  color:#68756e;
  font-size:9.5px;
}
.translation-source-book__meta b{color:#43534b}
.translation-source-book__confirmed{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:6px 9px;
  border-radius:999px;
  background:#e6f2e9;
  color:#2f734b;
  font-size:9px;
  font-weight:800;
  white-space:nowrap;
}
.translation-source-book__confirmed svg{width:13px;height:13px;stroke-width:2.5}
.translation-language-heading{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:18px;
  margin:24px 0 12px;
}
.translation-language-heading span{
  display:block;
  color:var(--green-800);
  font-size:8px;
  font-weight:900;
  letter-spacing:.1em;
}
.translation-language-heading strong{
  display:block;
  margin-top:3px;
  color:var(--green-950);
  font-size:16px;
}
.translation-language-heading small{
  color:#7a857f;
  font-size:10px;
}
.target-language-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:9px;
}
.target-language{
  position:relative;
  min-width:0;
  min-height:78px;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  align-items:center;
  gap:9px;
  padding:10px;
  border:1px solid #dfe6e1;
  border-radius:13px;
  background:#fff;
  color:var(--ink);
  text-align:left;
  transition:border-color .16s,box-shadow .16s,transform .16s,background .16s;
}
.target-language:hover:not(:disabled){
  transform:translateY(-1px);
  border-color:#9db5a6;
  box-shadow:0 8px 20px rgba(15,43,32,.07);
  background:#fbfdfb;
}
.target-language__code{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:#edf4ef;
  color:var(--green-800);
  font-size:9px;
  font-weight:900;
  letter-spacing:.05em;
}
.target-language__copy{min-width:0}
.target-language__copy strong{
  display:block;
  color:#263c32;
  font-size:11px;
  line-height:1.2;
  overflow-wrap:anywhere;
}
.target-language__copy small{
  display:block;
  margin-top:2px;
  color:#7c8781;
  font-size:8.5px;
  line-height:1.2;
}
.target-language__state{
  position:absolute;
  right:7px;
  top:6px;
  color:#2f734b;
  font-size:7px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.target-language.is-selected{
  border-color:#44815d;
  background:#f1f8f3;
  box-shadow:0 0 0 2px rgba(47,115,75,.09);
}
.target-language.is-selected .target-language__code{
  background:var(--green-900);
  color:#fff;
}
.target-language.is-source,
.target-language:disabled{
  cursor:not-allowed;
  opacity:.58;
  background:#f4f5f4;
  border-color:#e1e4e2;
  box-shadow:none;
  transform:none;
}
.target-language.is-source .target-language__code{
  background:#e6e9e7;
  color:#6f7973;
}
.target-language.is-source .target-language__state{color:#7c847f}
.translation-selection{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:14px;
  padding:11px 13px;
  border:1px solid #cfe0d4;
  border-radius:12px;
  background:#f2f8f4;
}
.translation-selection__check{
  flex:0 0 auto;
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#dff0e4;
  color:#2f734b;
}
.translation-selection__check svg{width:17px;height:17px;stroke-width:2.5}
.translation-selection small{
  display:block;
  color:#708078;
  font-size:8px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.07em;
}
.translation-selection strong{
  display:block;
  margin-top:1px;
  color:var(--green-950);
  font-size:12px;
}
.translation-continue{
  margin-top:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.translation-continue svg{width:16px;height:16px}
.translation-continue:disabled{
  cursor:not-allowed;
  background:#d9dfdb;
  color:#87918b;
}
.translation-continue.is-confirmed{background:#2f734b}
.translation-step-message{
  min-height:17px;
  margin:8px 0 0;
  text-align:center;
  color:#7b8580;
  font-size:9.5px;
}
.translation-step-message.is-ready{color:#397452;font-weight:700}
.translation-step-card.is-complete{border-color:#bad0c0}

@media(max-width:1000px){
  .target-language-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:820px){
  .app-section--translation-language{padding:28px 0 34px}
  .translation-step-card{padding:18px;border-radius:18px}
  .translation-step-card__top{padding-bottom:15px}
  .translation-step-card__top h2{font-size:22px}
  .translation-step-card__top p{font-size:11px}
  .translation-source-book{grid-template-columns:50px minmax(0,1fr);gap:11px;padding:10px}
  .translation-source-book__cover{width:50px;height:69px}
  .translation-source-book__confirmed{grid-column:2;justify-self:start;margin-top:-2px}
  .translation-language-heading{align-items:flex-start;flex-direction:column;gap:4px;margin-top:20px}
  .target-language-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .target-language{min-height:72px;padding:9px}
}

@media(max-width:480px){
  .translation-step-card{padding:15px}
  .translation-step-card__count{display:none}
  .translation-source-book__copy>strong{font-size:12px}
  .translation-source-book__meta{font-size:9px}
  .target-language__code{width:32px;height:32px}
  .target-language{grid-template-columns:32px minmax(0,1fr);gap:7px;min-height:68px}
  .target-language__copy strong{font-size:10px}
  .target-language__copy small{font-size:8px}
}


/* ===== GLOBAL READABILITY STANDARD — no tiny text =====
   Desktop small UI text: 12px minimum.
   Mobile small UI text: 13px minimum.
   Mobile form controls: 16px minimum to prevent browser zoom.
*/
:root{
  --bts-small-readable:12px;
  --bts-mobile-readable:13px;
}

/* Shared tiny labels / metadata */
.app-kicker,
.step-label,
.app-trust-row span,
.step-count,
.plant-suggestions small,
.plant-result__aka,
.plant-result__status,
.plant-search-message,
.flow-card__note,
.best-value,
.book-type,
.book-meta,
.simple-step small,
.section-heading>span,
.desktop-footer span,
.desktop-footer nav,
.page-hero__eyebrow,
.page-hero__badge-list span,
.eyebrow,
.pricing-chip,
.catalog-tags span,
.helper-item span,
.book-status em,
.book-status span,
.status-pill,
.language-switcher,
.book-suggestion__copy em,
.book-suggestion__meta,
.book-result__subtitle,
.book-result__fact span,
.book-result__fact strong,
.book-result__filename,
.book-result__status,
.translation-step-card__top>div>span,
.translation-source-book__copy>span,
.translation-source-book__meta,
.translation-source-book__confirmed,
.translation-language-heading span,
.translation-language-heading small,
.target-language__code,
.target-language__copy strong,
.target-language__copy small,
.target-language__state,
.translation-selection small,
.translation-selection strong,
.translation-step-message{
  font-size:var(--bts-small-readable);
}

/* Regular supporting copy should never feel microscopic */
.flow-card__top p,
.book-option-card p,
.simple-step strong,
.page-hero__aside p,
.info-card p,
.catalog-card em,
.catalog-card p,
.step-card p,
.form-field label,
.book-result__subtitle,
.translation-step-card__top p{
  font-size:max(13px, 1em);
}

/* STEP 2 readability */
.translation-source-book__copy>strong{
  font-size:14px;
  line-height:1.3;
}
.translation-language-heading strong{
  font-size:17px;
}
.target-language__copy strong{
  line-height:1.3;
}
.target-language__copy small{
  margin-top:3px;
  line-height:1.3;
}
.target-language__state{
  line-height:1.2;
}
.translation-selection strong{
  font-size:13px;
}

/* Book-search card readability */
.book-suggestion__copy strong{
  font-size:14px;
}
.book-result__fact strong{
  font-size:12px;
  line-height:1.35;
}

/* Mobile / tablet: one consistent readable minimum */
@media(max-width:820px){
  .app-kicker,
  .step-label,
  .app-trust-row span,
  .step-count,
  .plant-suggestions small,
  .plant-result__aka,
  .plant-result__status,
  .plant-search-message,
  .flow-card__note,
  .best-value,
  .book-type,
  .book-meta,
  .simple-step small,
  .section-heading>span,
  .page-hero__eyebrow,
  .page-hero__badge-list span,
  .eyebrow,
  .pricing-chip,
  .catalog-tags span,
  .helper-item span,
  .book-status em,
  .book-status span,
  .status-pill,
  .language-switcher,
  .mobile-language-switcher>span,
  .mobile-language-switcher .language-switcher,
  .mobile-language-switcher .language-switcher__option,
  .mobile-menu__legal,
  .mobile-bottom-nav__item,
  .book-suggestion__copy em,
  .book-suggestion__meta,
  .book-result__subtitle,
  .book-result__fact span,
  .book-result__fact strong,
  .book-result__filename,
  .book-result__status,
  .translation-step-card__top>div>span,
  .translation-source-book__copy>span,
  .translation-source-book__meta,
  .translation-source-book__confirmed,
  .translation-language-heading span,
  .translation-language-heading small,
  .target-language__code,
  .target-language__copy strong,
  .target-language__copy small,
  .target-language__state,
  .translation-selection small,
  .translation-selection strong,
  .translation-step-message{
    font-size:var(--bts-mobile-readable);
  }

  .flow-card__top p,
  .book-option-card p,
  .simple-step strong,
  .page-hero__content p,
  .page-hero__aside p,
  .section-intro p,
  .info-card p,
  .catalog-card em,
  .catalog-card p,
  .step-card p,
  .faq-item__body,
  .form-field label,
  .translation-step-card__top p{
    font-size:14px;
  }

  .book-suggestion__copy strong,
  .translation-source-book__copy>strong{
    font-size:14px;
  }

  .translation-language-heading strong{
    font-size:18px;
  }

  .target-language{
    min-height:82px;
    padding:11px;
  }

  .target-language__code{
    width:36px;
    height:36px;
  }

  .translation-selection{
    padding:12px 13px;
  }

  /* Prevent iPhone/Android browser text zoom on fields */
  input,
  select,
  textarea,
  .search-control input{
    font-size:16px !important;
  }
}

@media(max-width:480px){
  .target-language{
    grid-template-columns:36px minmax(0,1fr);
    gap:9px;
    min-height:84px;
  }

  .target-language__code{
    width:36px;
    height:36px;
  }

  .translation-source-book__meta{
    line-height:1.45;
  }

  .mobile-bottom-nav__item{
    font-size:12px;
  }
}


/* ===== STEP 2 — Selected label smaller ===== */
.target-language.is-selected .target-language__state{
  font-size:10px !important;
  line-height:1.1;
  letter-spacing:.055em;
}

@media(max-width:820px){
  .target-language.is-selected .target-language__state{
    font-size:12px !important;
  }
}


/* =====================================================================
   BOOK CARD LABEL FIX
   Keep AUTOR / IDIOMA / PÁGINAS on one line and slightly smaller.
   ===================================================================== */
.book-result__fact span{
  white-space:nowrap !important;
  overflow-wrap:normal !important;
  word-break:normal !important;
  font-size:10px !important;
  letter-spacing:.045em !important;
}
.translation-source-book__meta b{
  white-space:nowrap;
}

@media(max-width:820px){
  .book-result__fact span{
    font-size:11px !important;
  }
}

/* =====================================================================
   BOOK TRANSLATION STUDIO · STEP 3 — REVIEW + DEDICATION
   ===================================================================== */
.app-section--order-review{
  position:relative;
  padding:58px 0 64px;
  background:
    radial-gradient(circle at 85% 12%,rgba(181,138,56,.08),transparent 28%),
    linear-gradient(180deg,#fbfaf7 0%,#f5f7f3 100%);
  border-bottom:1px solid var(--line);
}
.order-review-card{
  width:min(960px,100%);
  margin-inline:auto;
  padding:28px;
  border:1px solid #dde5df;
  border-radius:22px;
  background:rgba(255,255,255,.97);
  box-shadow:0 18px 48px rgba(15,43,32,.08);
}
.order-review-card__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  padding-bottom:20px;
}
.order-review-card__top h2{
  margin:0;
  color:var(--ink);
  font-size:29px;
  line-height:1.15;
  letter-spacing:-.03em;
}
.order-review-card__top p{
  max-width:650px;
  margin:6px 0 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}
.order-review-card__count{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  height:30px;
  padding:0 10px;
  border-radius:999px;
  background:var(--green-50);
  color:var(--green-800);
  font-size:11px;
  font-weight:850;
}
.order-review-grid{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:16px;
  align-items:start;
}
.order-summary-card,
.dedication-card{
  min-width:0;
  border:1px solid #e0e6e2;
  border-radius:18px;
  background:#fbfcfb;
}
.order-summary-card{padding:18px}
.dedication-card{padding:18px}
.order-review-eyebrow{
  display:block;
  margin-bottom:10px;
  color:#6d7d74;
  font-size:11px;
  font-weight:900;
  letter-spacing:.085em;
}
.order-summary-book{
  display:grid;
  grid-template-columns:76px minmax(0,1fr);
  gap:13px;
  align-items:start;
}
.order-summary-book__cover{
  width:76px;
  height:105px;
  overflow:hidden;
  border-radius:9px;
  background:#edf3ef;
  box-shadow:0 5px 14px rgba(13,53,40,.10);
}
.order-summary-book__cover img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.order-summary-book__cover img.is-generic{
  object-fit:contain;
  padding:14px;
}
.order-summary-book__copy{
  min-width:0;
  padding-top:2px;
}
.order-summary-book__copy small{
  display:block;
  margin-bottom:4px;
  color:#79857e;
  font-size:11px;
  font-weight:800;
}
.order-summary-book__copy strong{
  display:block;
  color:var(--green-950);
  font-size:16px;
  line-height:1.28;
}
.order-summary-book__copy>span{
  display:block;
  margin-top:5px;
  color:#69766e;
  font-family:Georgia,"Times New Roman",serif;
  font-size:12px;
  font-style:italic;
  line-height:1.4;
}
.order-route{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:8px;
  margin-top:16px;
}
.order-route__language{
  min-width:0;
  padding:10px 11px;
  border:1px solid #e0e6e2;
  border-radius:12px;
  background:#fff;
}
.order-route__language--target{
  border-color:#b7d0bf;
  background:#f1f8f3;
}
.order-route__language small{
  display:block;
  margin-bottom:2px;
  color:#7b8780;
  font-size:11px;
  font-weight:800;
}
.order-route__language strong{
  display:block;
  color:#29443a;
  font-size:14px;
  overflow-wrap:anywhere;
}
.order-route__arrow{
  color:#638170;
  font-size:20px;
  font-weight:700;
}
.order-summary-facts{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
  margin-top:10px;
}
.order-summary-fact{
  min-width:0;
  padding:9px;
  border:1px solid #e3e8e5;
  border-radius:11px;
  background:#f6f8f6;
}
.order-summary-fact span{
  display:block;
  color:#7a867f;
  font-size:10px;
  font-weight:850;
  letter-spacing:.045em;
  text-transform:uppercase;
}
.order-summary-fact strong{
  display:block;
  margin-top:3px;
  color:#31463c;
  font-size:12px;
  line-height:1.35;
}
.order-price-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:12px;
  padding:12px 13px;
  border:1px solid #eadcb8;
  border-radius:13px;
  background:#fffaf0;
}
.order-price-row span{
  display:block;
  color:#846b35;
  font-size:11px;
  font-weight:800;
}
.order-price-row strong{
  display:block;
  margin-top:2px;
  color:#5f4d27;
  font-size:13px;
}
.order-price-row svg{
  flex:0 0 auto;
  width:23px;
  height:23px;
  color:#a77d2f;
}

.dedication-card__heading{
  display:grid;
  gap:13px;
}
.dedication-card__heading h3{
  margin:0;
  color:var(--green-950);
  font-size:21px;
  line-height:1.2;
}
.dedication-card__heading p{
  margin:5px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}
.dedication-switch{
  display:flex;
  align-items:center;
  gap:10px;
  width:max-content;
  max-width:100%;
  cursor:pointer;
  user-select:none;
}
.dedication-switch input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.dedication-switch__track{
  position:relative;
  flex:0 0 auto;
  width:44px;
  height:25px;
  border-radius:999px;
  background:#d9dfdb;
  transition:.18s;
}
.dedication-switch__track span{
  position:absolute;
  left:3px;
  top:3px;
  width:19px;
  height:19px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 2px 6px rgba(0,0,0,.12);
  transition:.18s;
}
.dedication-switch input:checked + .dedication-switch__track{
  background:var(--green-800);
}
.dedication-switch input:checked + .dedication-switch__track span{
  transform:translateX(19px);
}
.dedication-switch input:focus-visible + .dedication-switch__track{
  outline:3px solid rgba(24,82,61,.16);
  outline-offset:2px;
}
.dedication-switch__label{
  color:#34483e;
  font-size:13px;
  font-weight:800;
}
.dedication-fields{
  display:grid;
  gap:13px;
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid #e8ece9;
}
.review-field{
  display:grid;
  gap:6px;
}
.review-field>span{
  color:#405048;
  font-size:12px;
  font-weight:800;
}
.review-field select,
.review-field input,
.review-field textarea{
  width:100%;
  min-width:0;
  border:1px solid #d9dfdb;
  border-radius:12px;
  background:#fff;
  color:var(--ink);
  outline:0;
}
.review-field select,
.review-field input{
  min-height:44px;
  padding:10px 12px;
}
.review-field textarea{
  min-height:118px;
  padding:11px 12px 28px;
  resize:vertical;
  line-height:1.5;
}
.review-field select:focus,
.review-field input:focus,
.review-field textarea:focus{
  border-color:#8fa89a;
  box-shadow:0 0 0 4px rgba(24,82,61,.08);
}
.review-field--message{position:relative}
.dedication-counter{
  position:absolute;
  right:10px;
  bottom:8px;
  padding:2px 5px;
  border-radius:6px;
  background:rgba(255,255,255,.92);
  color:#87918b;
  font-size:11px;
}
.dedication-preview-wrap{
  margin-top:2px;
}
.dedication-preview{
  position:relative;
  overflow:hidden;
  min-height:180px;
  padding:27px 28px 24px;
  border:1px solid #d7c28d;
  border-radius:15px;
  background-color:#fffdf7;
  background-image:url('../images/botanical/dedication-background.jpg');
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
  text-align:center;
  box-shadow:inset 0 0 0 5px rgba(255,255,255,.36);
}
.dedication-preview::before,
.dedication-preview::after{
  display:none;
}
.dedication-preview__ornament{
  display:block;
  margin-bottom:8px;
  color:#b58a38;
  font-size:16px;
}
.dedication-preview strong{
  display:block;
  color:#5e4c2d;
  font-family:Georgia,"Times New Roman",serif;
  font-size:12px;
  letter-spacing:.12em;
}
.dedication-preview p{
  position:relative;
  z-index:1;
  margin:15px auto 0;
  max-width:340px;
  color:#29443a;
  font-family:"Dancing Script","Snell Roundhand","Segoe Script","Brush Script MT","Palatino Linotype",Georgia,cursive;
  font-size:24px;
  line-height:1.45;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.dedication-preview em{
  display:block;
  margin:16px clamp(48px,16%,76px) 0 auto;
  max-width:60%;
  color:#5e6e65;
  font-family:"Dancing Script","Snell Roundhand","Segoe Script","Brush Script MT","Palatino Linotype",Georgia,cursive;
  font-size:20px;
  font-style:italic;
  line-height:1.35;
  text-align:right;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.dedication-page-note{
  display:flex;
  align-items:flex-start;
  gap:7px;
  margin:9px 2px 0;
  color:#718078;
  font-size:11px;
  line-height:1.45;
}
.dedication-page-note svg{
  flex:0 0 auto;
  width:15px;
  height:15px;
  margin-top:1px;
  color:var(--green-800);
}
.order-review-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid #e8ece9;
}
.order-review-status{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.order-review-status__check{
  flex:0 0 auto;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#e6f2e9;
  color:#2f734b;
}
.order-review-status__check svg{
  width:18px;
  height:18px;
  stroke-width:2.5;
}
.order-review-status small{
  display:block;
  color:#79857e;
  font-size:11px;
  font-weight:800;
}
.order-review-status strong{
  display:block;
  margin-top:1px;
  color:var(--green-950);
  font-size:13px;
}

.order-review-actions{
  flex:0 1 520px;
  display:grid;
  grid-template-columns:minmax(180px,.95fr) minmax(220px,1.15fr);
  gap:10px;
}
.order-review-actions .button,
.translation-cart-actions .button,
.bts-confirm-panel__actions .button{
  white-space:nowrap;
}
.order-review-add{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-color:#6f8b7d;
  background:rgba(255,255,255,.68);
  color:var(--green-900);
}
.order-review-add:hover{
  border-color:var(--green-800);
  background:#fff;
}
.order-review-add svg{
  width:18px;
  height:18px;
  stroke-width:2;
}
.order-review-add:disabled{
  cursor:not-allowed;
  opacity:.58;
}
.order-review-continue{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:220px;
}
.order-review-continue svg{
  width:16px;
  height:16px;
}
.order-review-continue:disabled{
  cursor:not-allowed;
  background:#d9dfdb;
  color:#87918b;
}
.order-review-continue.is-confirmed{
  background:#2f734b;
}
.order-review-message{
  min-height:19px;
  margin:9px 0 0;
  color:#647169;
  font-size:12px;
  text-align:right;
}
.order-review-message.is-error{color:#9c503f}
.order-review-message.is-saved{color:#2f734b;font-weight:750}
.order-review-card.is-complete{
  border-color:#aec5b5;
}

@media(max-width:820px){
  .app-section--order-review{
    padding:34px 0 38px;
  }
  .order-review-card{
    padding:18px;
    border-radius:18px;
  }
  .order-review-card__top{
    gap:14px;
    padding-bottom:16px;
  }
  .order-review-card__top h2{
    font-size:24px;
  }
  .order-review-card__top p{
    font-size:14px;
  }
  .order-review-card__count{
    display:none;
  }
  .order-review-grid{
    grid-template-columns:1fr;
    gap:13px;
  }
  .order-summary-card,
  .dedication-card{
    padding:15px;
  }
  .order-review-eyebrow,
  .order-summary-book__copy small,
  .order-route__language small,
  .order-summary-fact span,
  .order-price-row span,
  .review-field>span,
  .dedication-page-note,
  .order-review-status small,
  .order-review-message{
    font-size:12px;
  }
  .order-summary-book__copy strong{
    font-size:16px;
  }
  .order-summary-book__copy>span{
    font-size:13px;
  }
  .order-summary-fact strong,
  .order-price-row strong,
  .order-review-status strong,
  .dedication-switch__label{
    font-size:13px;
  }
  .dedication-card__heading p{
    font-size:14px;
  }
  .review-field select,
  .review-field input,
  .review-field textarea{
    font-size:16px;
  }
  .dedication-preview p{
    font-size:25px;
  }
  .dedication-preview em{
    font-size:21px;
  }
  .order-review-footer{
    align-items:stretch;
    flex-direction:column;
  }
  .order-review-actions{
    width:100%;
    flex:none;
    grid-template-columns:1fr;
    gap:10px;
  }
  .order-review-actions .button{
    width:100%;
    min-height:54px;
    padding-inline:16px;
    font-size:13px;
    white-space:nowrap;
  }
  .order-review-continue{
    width:100%;
    min-width:0;
  }
  .order-review-message{
    text-align:center;
  }
}

@media(max-width:480px){
  .order-review-card{
    padding:15px;
  }
  .order-summary-book{
    grid-template-columns:68px minmax(0,1fr);
    gap:11px;
  }
  .order-summary-book__cover{
    width:68px;
    height:94px;
  }
  .order-route{
    grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);
    gap:5px;
  }
  .order-route__language{
    padding:9px;
  }
  .order-route__arrow{
    font-size:17px;
    text-align:center;
  }
  .order-summary-facts{
    grid-template-columns:1fr;
  }
  .dedication-preview{
    min-height:170px;
    padding:25px 18px 22px;
  }
  .dedication-preview p{
    font-size:23px;
  }
}


/* ===== Translation measurement + server-side quote ===== */
.order-summary-facts{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.order-price-row small{
  display:block;
  margin-top:4px;
  color:#8a7650;
  font-size:11px;
  line-height:1.4;
}
.order-price-row.is-loading{
  opacity:.78;
}
.order-price-row.is-loading svg{
  animation:bts-price-pulse 1.15s ease-in-out infinite;
}
.order-price-row.is-ready{
  border-color:#b8d0bf;
  background:#f2f8f3;
}
.order-price-row.is-ready span,
.order-price-row.is-ready strong{
  color:#24553a;
}
.order-price-row.is-ready strong{
  font-size:22px;
  line-height:1.15;
}
.order-price-row.is-error{
  border-color:#e1b9ae;
  background:#fff7f5;
}
.order-price-row.is-error span,
.order-price-row.is-error strong,
.order-price-row.is-error small{
  color:#8c493b;
}
@keyframes bts-price-pulse{
  0%,100%{opacity:.35;transform:scale(.94)}
  50%{opacity:1;transform:scale(1)}
}

@media(max-width:820px){
  .order-price-row small{
    font-size:12px;
  }
  .order-price-row.is-ready strong{
    font-size:23px;
  }
}

@media(max-width:480px){
  .order-summary-facts{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}


/* =====================================================================
   BOOK TRANSLATION STUDIO · STEP 4 — ACCOUNT + STRIPE CHECKOUT
   ===================================================================== */
.app-section--checkout{
  padding:58px 0 66px;
  background:linear-gradient(180deg,#f5f7f3 0%,#fbfaf7 100%);
  border-bottom:1px solid var(--line);
}
.checkout-step-card{
  width:min(960px,100%);
  margin-inline:auto;
  padding:28px;
  border:1px solid #dce5df;
  border-radius:22px;
  background:#fff;
  box-shadow:0 18px 48px rgba(15,43,32,.08);
}
.checkout-step-card__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:22px;
  padding-bottom:20px;
}
.checkout-step-card__top h2{
  margin:0;
  color:var(--ink);
  font-size:29px;
  line-height:1.15;
  letter-spacing:-.03em;
}
.checkout-step-card__top p{
  max-width:640px;
  margin:6px 0 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}
.checkout-step-card__badges{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
}
.checkout-step-card__count,
.stripe-test-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:0 10px;
  border-radius:999px;
  font-size:10px;
  font-weight:900;
  letter-spacing:.04em;
  white-space:nowrap;
}
.checkout-step-card__count{background:var(--green-50);color:var(--green-800)}
.stripe-test-badge{background:#fff3d6;color:#795b18;border:1px solid #ecd699}
.checkout-layout{
  display:grid;
  grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);
  gap:16px;
  align-items:start;
}
.checkout-order-card,
.checkout-account-card{
  min-width:0;
  padding:18px;
  border:1px solid #e0e6e2;
  border-radius:18px;
  background:#fbfcfb;
}
.checkout-book-mini{
  display:grid;
  grid-template-columns:64px minmax(0,1fr);
  gap:12px;
  align-items:center;
}
.checkout-book-mini img{
  width:64px;
  height:88px;
  object-fit:cover;
  border-radius:8px;
  background:#eef3ef;
  box-shadow:0 4px 12px rgba(15,43,32,.10);
}
.checkout-book-mini img.is-generic{
  object-fit:contain;
  padding:12px;
}
.checkout-book-mini strong{
  display:block;
  color:var(--green-950);
  font-size:15px;
  line-height:1.3;
}
.checkout-book-mini span{
  display:block;
  margin-top:5px;
  color:#65736b;
  font-size:12px;
  line-height:1.4;
}
.checkout-total{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:15px;
  padding:13px 14px;
  border:1px solid #b8d0bf;
  border-radius:13px;
  background:#f1f8f3;
}
.checkout-total span{
  color:#4e6858;
  font-size:12px;
  font-weight:800;
}
.checkout-total strong{
  color:#24553a;
  font-size:23px;
  line-height:1;
}
.checkout-secure-note{
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin-top:12px;
  color:#6f7b74;
  font-size:11px;
  line-height:1.5;
}
.checkout-secure-note svg{
  flex:0 0 auto;
  width:16px;
  height:16px;
  margin-top:1px;
  color:var(--green-800);
}
.checkout-auth-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:5px;
  padding:4px;
  margin-bottom:15px;
  border-radius:12px;
  background:#edf1ee;
}
.checkout-auth-tabs button{
  min-height:38px;
  padding:7px 9px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#5d6a63;
  font-size:12px;
  font-weight:800;
}
.checkout-auth-tabs button.is-active{
  background:#fff;
  color:var(--green-950);
  box-shadow:0 2px 8px rgba(15,43,32,.08);
}
.checkout-auth-panel{
  display:grid;
  gap:12px;
}
.checkout-field-help{
  color:#7c8781;
  font-size:11px;
  line-height:1.35;
}
.checkout-signed-in{
  display:flex;
  align-items:center;
  gap:11px;
  padding:12px;
  border:1px solid #dbe7df;
  border-radius:13px;
  background:#f4f9f5;
}
.checkout-signed-in__icon{
  flex:0 0 auto;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#e3f0e7;
  color:#2f734b;
}
.checkout-signed-in__icon svg{width:20px;height:20px}
.checkout-signed-in small{
  display:block;
  color:#748078;
  font-size:11px;
  font-weight:800;
}
.checkout-signed-in strong{
  display:block;
  margin-top:2px;
  color:#2f463a;
  font-size:13px;
  overflow-wrap:anywhere;
}
.checkout-terms{
  display:flex;
  align-items:flex-start;
  gap:9px;
  margin-top:15px;
  color:#66736c;
  font-size:12px;
  line-height:1.5;
  cursor:pointer;
}
.checkout-terms input{
  flex:0 0 auto;
  width:17px;
  height:17px;
  margin:1px 0 0;
  accent-color:var(--green-800);
}
.checkout-terms a{
  color:var(--green-800);
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:2px;
}
.checkout-setup-notice{
  margin-top:13px;
  padding:11px 12px;
  border:1px solid #ead7a4;
  border-radius:11px;
  background:#fff8e7;
  color:#725a24;
  font-size:12px;
  line-height:1.45;
}
.checkout-pay-button{
  width:100%;
  min-height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:14px;
}
.checkout-pay-button svg{width:17px;height:17px}
.checkout-pay-button strong{
  padding-left:8px;
  margin-left:3px;
  border-left:1px solid rgba(255,255,255,.28);
}
.checkout-pay-button:disabled{
  cursor:not-allowed;
  background:#cfd7d2;
  color:#7a8780;
}
.checkout-message{
  min-height:18px;
  margin:9px 0 0;
  color:#68756e;
  font-size:12px;
  line-height:1.45;
  text-align:center;
}
.checkout-message.is-error{color:#9a493a}
.checkout-message.is-success{color:#2f734b;font-weight:750}

/* My Books — real account/order view */
.account-session-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
  padding:14px 16px;
  border:1px solid #dfe6e1;
  border-radius:14px;
  background:#fff;
}
.account-session-bar small{display:block;color:#77827b;font-size:11px}
.account-session-bar strong{display:block;margin-top:2px;color:var(--green-950);font-size:14px}
.order-list{
  display:grid;
  gap:12px;
}
.customer-order-card{
  padding:16px;
  border:1px solid #dfe5e1;
  border-radius:16px;
  background:#fff;
  box-shadow:var(--shadow-sm);
}
.customer-order-card__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.customer-order-card h3{
  margin:0;
  color:var(--green-950);
  font-size:17px;
  line-height:1.3;
}
.customer-order-card__id{
  display:block;
  margin-top:3px;
  color:#7b8680;
  font-size:11px;
}
.customer-order-status{
  flex:0 0 auto;
  padding:6px 9px;
  border-radius:999px;
  background:#eef5f0;
  color:#356247;
  font-size:10px;
  font-weight:900;
}
.customer-order-meta{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-top:13px;
}
.customer-order-meta div{
  padding:9px 10px;
  border-radius:10px;
  background:#f7f9f7;
}
.customer-order-meta span{
  display:block;
  color:#7d8781;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.customer-order-meta strong{
  display:block;
  margin-top:3px;
  color:#35483e;
  font-size:12px;
  line-height:1.35;
}
.account-form-message{
  margin:8px 0 0;
  color:#9a493a;
  font-size:12px;
}
.payment-result-card{
  position:relative;
  z-index:1;
  max-width:650px;
  margin:auto;
  padding:30px;
  border:1px solid #dfe6e1;
  border-radius:20px;
  background:#fff;
  box-shadow:var(--shadow-md);
  text-align:center;
}
.payment-result-card__icon{
  width:52px;height:52px;margin:0 auto 13px;display:grid;place-items:center;
  border-radius:50%;background:#e7f2ea;color:#2f734b;
}
.payment-result-card__icon svg{width:27px;height:27px;stroke-width:2.3}
.payment-result-card h1{margin:0;color:var(--green-950);font-size:30px}
.payment-result-card p{margin:8px auto 0;max-width:500px;color:var(--muted);font-size:14px;line-height:1.6}
.payment-result-card__order{display:block;margin-top:12px;color:#526159;font-size:12px;font-weight:800}
.payment-result-card .button{margin-top:18px}

@media(max-width:820px){
  .app-section--checkout{padding:34px 0 40px}
  .checkout-step-card{padding:18px;border-radius:18px}
  .checkout-step-card__top h2{font-size:24px}
  .checkout-step-card__top p{font-size:14px}
  .checkout-step-card__count{display:none}
  .checkout-layout{grid-template-columns:1fr;gap:13px}
  .checkout-order-card,.checkout-account-card{padding:15px}
  .checkout-book-mini strong{font-size:15px}
  .checkout-book-mini span,
  .checkout-total span,
  .checkout-secure-note,
  .checkout-field-help,
  .checkout-signed-in small,
  .checkout-terms,
  .checkout-setup-notice,
  .checkout-message{font-size:13px}
  .checkout-signed-in strong{font-size:14px}
  .checkout-auth-tabs button{font-size:13px}
  .checkout-account-card .review-field input{font-size:16px}
  .account-session-bar{align-items:flex-start;flex-direction:column}
  .customer-order-meta{grid-template-columns:1fr}
  .customer-order-card__top{gap:10px}
  .customer-order-meta span{font-size:11px}
  .customer-order-meta strong{font-size:13px}
}

/* ===== FAQ contact button: match header CTA height/presence ===== */
.faq-contact-card .button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 17px;
  border-radius:11px;
  line-height:1;
}

/* ===== My Books: translate CTA spacing and width ===== */
.my-books-translate-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:190px;
  max-width:100%;
  margin-top:20px;
  padding-left:26px;
  padding-right:26px;
}

/* ===== Home simple-step subtitle size ===== */
.simple-step small{
  font-size:13px;
}

@media(max-width:820px){
  .simple-step small{
    font-size:14px;
  }
}



/* ===== My Books: customer production progress + book details ===== */
.customer-order-card__heading{min-width:0;max-width:760px}
.customer-order-subtitle{
  margin:5px 0 0;
  color:#65736b;
  font-size:12px;
  line-height:1.45;
}
.customer-order-progress{
  margin-top:16px;
  padding:14px;
  border:1px solid #e3e8e4;
  border-radius:13px;
  background:#fbfcfb;
}
.customer-order-progress__header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}
.customer-order-progress__header>div:first-child{min-width:0}
.customer-order-progress__header strong{
  display:block;
  color:var(--green-950);
  font-size:13px;
  line-height:1.35;
}
.customer-order-progress__header p{
  margin:3px 0 0;
  color:#718078;
  font-size:11px;
  line-height:1.45;
}
.customer-order-progress__value{
  flex:0 0 auto;
  text-align:right;
}
.customer-order-progress__value strong{
  font-size:20px;
  line-height:1;
}
.customer-order-progress__value small{
  display:block;
  margin-top:4px;
  color:#849087;
  font-size:9px;
  white-space:nowrap;
}
.customer-order-progress__bar{
  position:relative;
  height:8px;
  margin-top:12px;
  overflow:hidden;
  border-radius:999px;
  background:#e6ece8;
}
.customer-order-progress__bar>span{
  display:block;
  width:0;
  height:100%;
  border-radius:inherit;
  background:var(--green-800);
  transition:width .45s ease;
}
.customer-order-progress__steps{
  position:relative;
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:4px;
  margin-top:13px;
}
.customer-order-progress__steps:before{
  content:"";
  position:absolute;
  top:5px;
  left:6%;
  right:6%;
  height:1px;
  background:#dce4df;
}
.customer-progress-step{
  position:relative;
  z-index:1;
  min-width:0;
  text-align:center;
}
.customer-progress-step>span{
  display:block;
  width:11px;
  height:11px;
  margin:0 auto 5px;
  border:2px solid #cbd6cf;
  border-radius:50%;
  background:#fff;
}
.customer-progress-step small{
  display:block;
  overflow:hidden;
  color:#8a948e;
  font-size:8px;
  font-weight:750;
  line-height:1.2;
  text-overflow:ellipsis;
}
.customer-progress-step.is-complete>span{
  border-color:var(--green-800);
  background:var(--green-800);
}
.customer-progress-step.is-complete small{color:#456253}
.customer-progress-step.is-current>span{
  box-shadow:0 0 0 4px rgba(24,82,61,.10);
}
.customer-order-meta--details{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.customer-order-actions{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:14px;
}
.customer-order-actions .button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 18px;
  line-height:1;
}
.customer-order-expired{
  color:#8b5b4e;
  font-size:12px;
  font-weight:700;
}
@media(max-width:820px){
  .customer-order-card{padding:14px}
  .customer-order-card__top{flex-direction:column}
  .customer-order-status{align-self:flex-start}
  .customer-order-subtitle{font-size:13px}
  .customer-order-progress{padding:12px}
  .customer-order-progress__header{gap:10px}
  .customer-order-progress__header p{font-size:12px}
  .customer-order-progress__value strong{font-size:18px}
  .customer-order-progress__steps{gap:2px}
  .customer-progress-step small{font-size:7px}
  .customer-order-meta--details{grid-template-columns:repeat(2,minmax(0,1fr))}
  .customer-order-actions{align-items:stretch;flex-direction:column}
  .customer-order-actions .button{width:100%}
}
@media(max-width:520px){
  .customer-order-progress__header{flex-direction:column}
  .customer-order-progress__value{text-align:left}
  .customer-order-progress__value small{display:none}
  .customer-order-progress__steps{grid-template-columns:repeat(7,1fr)}
  .customer-progress-step small{font-size:0}
  .customer-progress-step small:after{content:""}
  .customer-order-meta--details{grid-template-columns:1fr}
}

/* ===== My Books: finished-book cover thumbnail ===== */
.customer-order-card__identity{
  display:flex;
  align-items:flex-start;
  gap:15px;
  min-width:0;
  flex:1 1 auto;
}
.customer-order-cover{
  flex:0 0 82px;
  width:82px;
  aspect-ratio:2/3;
  overflow:hidden;
  border:1px solid #dce4df;
  border-radius:10px;
  background:#f2f5f2;
  box-shadow:0 5px 14px rgba(15,43,32,.10);
}
.customer-order-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.customer-order-card__identity .customer-order-card__heading{
  padding-top:2px;
}
@media(max-width:820px){
  .customer-order-card__top{flex-direction:row;align-items:flex-start}
  .customer-order-card__identity{gap:12px}
  .customer-order-cover{
    flex-basis:68px;
    width:68px;
    border-radius:9px;
  }
  .customer-order-status{align-self:flex-start}
}
@media(max-width:520px){
  .customer-order-card__top{gap:8px}
  .customer-order-card__identity{gap:10px}
  .customer-order-cover{
    flex-basis:58px;
    width:58px;
    border-radius:8px;
  }
}

/* ===== My Books: order accordion ===== */
.customer-order-card{
  overflow:hidden;
}
.customer-order-card>summary{
  list-style:none;
  cursor:pointer;
  user-select:none;
}
.customer-order-card>summary::-webkit-details-marker{
  display:none;
}
.customer-order-card__chevron{
  position:relative;
  flex:0 0 28px;
  width:28px;
  height:28px;
  border:1px solid #dfe6e1;
  border-radius:50%;
  background:#f7f9f7;
}
.customer-order-card__chevron:before,
.customer-order-card__chevron:after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:10px;
  height:1.5px;
  border-radius:999px;
  background:#627168;
  transform:translate(-50%,-50%);
  transition:transform .18s ease, opacity .18s ease;
}
.customer-order-card__chevron:after{
  transform:translate(-50%,-50%) rotate(90deg);
}
.customer-order-card[open] .customer-order-card__chevron:after{
  opacity:0;
}
.customer-order-card__body{
  padding-top:2px;
}
.customer-order-card:not([open]) .customer-order-card__top{
  align-items:center;
}
.customer-order-card:not([open]) .customer-order-status{
  margin-left:auto;
}
@media(max-width:520px){
  .customer-order-card__chevron{
    flex-basis:26px;
    width:26px;
    height:26px;
  }
}

/* ===== My Books: collapsed ready-order quick actions ===== */
.customer-order-card__summary-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex:0 0 auto;
  margin-left:auto;
}
.customer-order-card__summary-actions .customer-order-status{
  margin-left:0;
}
.customer-order-card__summary-expiry{
  display:none;
  align-items:baseline;
  gap:5px;
  margin-top:5px;
  color:#627168;
  line-height:1.2;
}
.customer-order-card__summary-expiry small{
  color:#78847d;
  font-size:9px;
  font-weight:800;
  letter-spacing:.025em;
  text-transform:uppercase;
}
.customer-order-card__summary-expiry strong{
  color:#34483e;
  font-size:10px;
  font-weight:800;
  white-space:nowrap;
}
.customer-order-card__summary-download{
  display:none;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 20px;
  border-radius:11px;
  background:var(--green-900);
  color:#fff;
  font-size:12px;
  font-weight:850;
  line-height:1;
  white-space:nowrap;
  box-shadow:var(--shadow-sm);
}
.customer-order-card__summary-download:hover{
  background:var(--green-800);
}
.customer-order-card:not([open]) .customer-order-card__summary-expiry:not([hidden]),
.customer-order-card:not([open]) .customer-order-card__summary-download:not([hidden]){
  display:flex;
}
.customer-order-card[open] .customer-order-card__summary-expiry,
.customer-order-card[open] .customer-order-card__summary-download{
  display:none!important;
}
/* A completed order is identified by its download action and expiry date; the ready-status pill is intentionally hidden. */
.customer-order-card[data-order-ready="1"] .customer-order-status{
  display:none!important;
}
@media(max-width:760px){
  .customer-order-card__summary-actions{gap:7px}
  .customer-order-card__summary-download{
    min-height:40px;
    padding:0 14px;
    font-size:11px;
  }
}
@media(max-width:520px){
  .customer-order-card__summary-actions{
    gap:6px;
  }
  .customer-order-card__summary-expiry{
    align-items:flex-start;
    flex-direction:column;
    gap:1px;
    margin-top:4px;
  }
  .customer-order-card__summary-expiry small{font-size:8px}
  .customer-order-card__summary-expiry strong{font-size:9px}
  .customer-order-card__summary-download{
    min-height:38px;
    padding:0 12px;
    font-size:10px;
  }
}

/* ===== My Books: mobile collapsed card — 2 / 1 / 2 row layout ===== */
.customer-order-card__summary-meta{
  min-width:0;
}
@media(max-width:600px){
  .customer-order-card:not([open]).has-summary-download > .customer-order-card__top{
    position:relative;
    display:grid;
    grid-template-columns:minmax(76px,30%) minmax(0,1fr);
    grid-template-areas:
      "cover title"
      "subtitle subtitle"
      "meta action";
    column-gap:14px;
    row-gap:12px;
    align-items:start;
    width:100%;
    padding-right:0;
  }
  .customer-order-card:not([open]).has-summary-download .customer-order-card__identity,
  .customer-order-card:not([open]).has-summary-download .customer-order-card__heading,
  .customer-order-card:not([open]).has-summary-download .customer-order-card__summary-actions{
    display:contents;
  }
  .customer-order-card:not([open]).has-summary-download .customer-order-cover{
    grid-area:cover;
    justify-self:center;
    align-self:start;
    width:72px;
    max-width:100%;
    flex-basis:auto;
    border-radius:9px;
  }
  .customer-order-card:not([open]).has-summary-download .customer-order-card__heading h3{
    grid-area:title;
    align-self:center;
    margin:0;
    padding:2px 34px 0 0;
    font-size:18px;
    line-height:1.28;
  }
  .customer-order-card:not([open]).has-summary-download .customer-order-subtitle{
    grid-area:subtitle;
    width:100%;
    margin:0;
    font-size:13px;
    line-height:1.5;
  }
  .customer-order-card:not([open]).has-summary-download .customer-order-card__summary-meta{
    grid-area:meta;
    align-self:center;
    min-width:0;
  }
  .customer-order-card:not([open]).has-summary-download .customer-order-card__id{
    margin-top:0;
    font-size:10px;
    line-height:1.35;
    overflow-wrap:anywhere;
  }
  .customer-order-card:not([open]).has-summary-download .customer-order-card__summary-expiry:not([hidden]){
    display:flex;
    align-items:flex-start;
    flex-direction:column;
    gap:2px;
    margin-top:7px;
  }
  .customer-order-card:not([open]).has-summary-download .customer-order-card__summary-expiry small{
    font-size:8px;
  }
  .customer-order-card:not([open]).has-summary-download .customer-order-card__summary-expiry strong{
    font-size:10px;
  }
  .customer-order-card:not([open]).has-summary-download .customer-order-card__summary-download:not([hidden]){
    grid-area:action;
    display:inline-flex;
    align-self:center;
    justify-self:center;
    min-width:138px;
    min-height:46px;
    padding:0 18px;
    border-radius:12px;
    font-size:12px;
  }
  .customer-order-card:not([open]).has-summary-download .customer-order-card__chevron{
    position:absolute;
    top:0;
    right:0;
    width:28px;
    height:28px;
    z-index:2;
  }
}
@media(max-width:390px){
  .customer-order-card:not([open]).has-summary-download > .customer-order-card__top{
    grid-template-columns:minmax(68px,29%) minmax(0,1fr);
    column-gap:11px;
  }
  .customer-order-card:not([open]).has-summary-download .customer-order-cover{
    width:66px;
  }
  .customer-order-card:not([open]).has-summary-download .customer-order-card__heading h3{
    font-size:17px;
  }
  .customer-order-card:not([open]).has-summary-download .customer-order-card__summary-download:not([hidden]){
    min-width:126px;
    min-height:44px;
    padding:0 14px;
    font-size:11px;
  }
}

/* ===== Mobile menu: signed-in logout action ===== */
@media(max-width:820px){
  .mobile-menu__logout-form{
    margin:0;
  }

  .mobile-menu__logout{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:13px 4px;
    border:0;
    border-bottom:1px solid #eef0ef;
    background:transparent;
    color:#34443b;
    font-size:16px;
    font-weight:700;
    text-align:left;
  }

  .mobile-menu__logout span{
    color:#99a19d;
    font-size:20px;
    font-weight:400;
  }
}

/* ===== Desktop hero: hide 30-day access badge ===== */
@media(min-width:821px){
  .app-home .app-trust-row span:nth-child(3){
    display:none;
  }
}



/* ===== My Books: closed accordion buttons match open-card actions ===== */
.customer-order-card:not([open]).has-summary-download .customer-order-card__summary-quick-actions{
  gap:12px !important;
}
.customer-order-card:not([open]).has-summary-download .customer-order-card__summary-download:not([hidden]){
  min-height:42px;
  padding:0 18px !important;
  border-radius:12px;
  font-size:14px;
  font-weight:800;
  line-height:1;
  box-shadow:none;
}
.customer-order-card:not([open]).has-summary-download [data-summary-download]{
  border:1px solid transparent !important;
  background:var(--green-900);
  color:#fff;
}
.customer-order-card:not([open]).has-summary-download [data-summary-download]:hover{
  background:var(--green-800);
}
.customer-order-card:not([open]).has-summary-download [data-summary-share-book]{
  border:1px solid #dfe4e0 !important;
  background:transparent;
  color:#536159;
}
.customer-order-card:not([open]).has-summary-download [data-summary-share-book]:hover{
  background:#f3f6f4;
}
@media(max-width:600px){
  .customer-order-card:not([open]).has-summary-download .customer-order-card__summary-quick-actions{
    gap:8px !important;
  }
  .customer-order-card:not([open]).has-summary-download .customer-order-card__summary-download:not([hidden]){
    min-height:42px;
    padding:0 14px !important;
    font-size:13px;
  }
}

/* ===== My Books: collapsed mobile card — metadata row + action row ===== */
@media(max-width:600px){
  .customer-order-card:not([open]).has-summary-download > .customer-order-card__top{
    grid-template-areas:
      "cover title"
      "subtitle subtitle"
      "meta meta"
      "action action";
    row-gap:12px;
  }

  .customer-order-card:not([open]).has-summary-download .customer-order-card__summary-meta{
    grid-area:meta;
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    width:100%;
    align-items:start;
  }

  .customer-order-card:not([open]).has-summary-download .customer-order-card__id{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:2px;
    min-width:0;
    margin:0;
    color:#34483e;
    font-size:10px;
    font-weight:800;
    line-height:1.25;
    overflow-wrap:anywhere;
  }

  .customer-order-card:not([open]).has-summary-download .customer-order-card__id::before{
    color:#78847d;
    font-size:8px;
    font-weight:800;
    letter-spacing:.025em;
    line-height:1.2;
    text-transform:uppercase;
  }

  html[lang^="es"] .customer-order-card:not([open]).has-summary-download .customer-order-card__id::before{
    content:"PEDIDO";
  }

  html:not([lang^="es"]) .customer-order-card:not([open]).has-summary-download .customer-order-card__id::before{
    content:"ORDER";
  }

  .customer-order-card:not([open]).has-summary-download .customer-order-card__summary-expiry:not([hidden]){
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:2px;
    min-width:0;
    margin:0;
  }

  .customer-order-card:not([open]).has-summary-download .customer-order-card__summary-quick-actions{
    grid-area:action !important;
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px !important;
    width:100% !important;
    align-items:stretch !important;
    justify-content:stretch !important;
  }

  .customer-order-card:not([open]).has-summary-download .customer-order-card__summary-quick-actions .customer-order-card__summary-download:not([hidden]){
    width:100% !important;
    min-width:0 !important;
    min-height:44px;
    margin:0;
    padding:0 12px !important;
    justify-self:stretch;
    align-self:stretch;
    font-size:13px;
  }
}

@media(max-width:390px){
  .customer-order-card:not([open]).has-summary-download .customer-order-card__summary-meta{
    gap:9px;
  }

  .customer-order-card:not([open]).has-summary-download .customer-order-card__summary-quick-actions{
    gap:8px !important;
  }

  .customer-order-card:not([open]).has-summary-download .customer-order-card__summary-quick-actions .customer-order-card__summary-download:not([hidden]){
    min-height:42px;
    padding:0 8px !important;
    font-size:12px;
  }
}

/* ===== Mobile menu: compact account state switcher ===== */
@media(max-width:820px){
  .mobile-menu__account-actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    margin-top:14px;
    padding-top:14px;
    border-top:1px solid #eef0ef;
  }

  .mobile-menu__account-form{
    min-width:0;
    margin:0;
  }

  .mobile-menu__account-button{
    width:100%;
    min-width:0;
    min-height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 10px;
    border:1px solid #e2e7e3;
    border-radius:10px;
    background:#fff;
    color:#657168;
    font-size:13px;
    font-weight:800;
    line-height:1;
    text-align:center;
    box-shadow:none;
    transition:.16s;
  }

  .mobile-menu__account-button.is-active{
    border-color:#adc1b4;
    background:#edf4ef;
    color:var(--green-950);
  }

  .mobile-menu__account-button:not(.is-active):not(.is-disabled):hover{
    background:#f2f6f3;
    color:var(--green-950);
  }

  .mobile-menu__account-button.is-disabled{
    cursor:default;
    opacity:.48;
  }
}

/* ===== My Books: collapsed mobile card — definitive 2-column metadata/actions fix ===== */
@media(max-width:600px){
  .customer-order-card:not([open]).has-summary-download .customer-order-card__summary-meta{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    width:100% !important;
    column-gap:14px !important;
  }

  .customer-order-card:not([open]).has-summary-download .customer-order-card__id{
    grid-column:1 !important;
    justify-self:start !important;
    text-align:left !important;
  }

  .customer-order-card:not([open]).has-summary-download .customer-order-card__summary-expiry:not([hidden]){
    grid-column:2 !important;
    justify-self:end !important;
    align-items:flex-end !important;
    text-align:right !important;
    margin:0 !important;
  }

  .customer-order-card:not([open]).has-summary-download .customer-order-card__summary-expiry small,
  .customer-order-card:not([open]).has-summary-download .customer-order-card__summary-expiry strong{
    text-align:right !important;
  }

  .customer-order-card:not([open]).has-summary-download .customer-order-card__summary-quick-actions{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    column-gap:10px !important;
    width:100% !important;
  }

  .customer-order-card:not([open]).has-summary-download .customer-order-card__summary-quick-actions > .customer-order-card__summary-download:not([hidden]){
    grid-area:auto !important;
    min-width:0 !important;
    width:100% !important;
    max-width:none !important;
    justify-self:stretch !important;
    align-self:stretch !important;
    margin:0 !important;
  }

  .customer-order-card:not([open]).has-summary-download .customer-order-card__summary-quick-actions > [data-summary-download]:not([hidden]){
    grid-column:1 !important;
  }

  .customer-order-card:not([open]).has-summary-download .customer-order-card__summary-quick-actions > [data-summary-share-book]:not([hidden]){
    grid-column:2 !important;
  }
}

@media(max-width:390px){
  .customer-order-card:not([open]).has-summary-download .customer-order-card__summary-meta{
    column-gap:10px !important;
  }

  .customer-order-card:not([open]).has-summary-download .customer-order-card__summary-quick-actions{
    column-gap:8px !important;
  }
}

/* ===== Password recovery: full-size primary actions ===== */
.password-recovery-action{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:48px;
}

/* ===== My Books: wider Download PDF button on desktop ===== */
@media(min-width:601px){
  .customer-order-card:not([open]).has-summary-download [data-summary-download]:not([hidden]){
    padding-left:28px !important;
    padding-right:28px !important;
  }
}

/* ===== STEP 6L.2 · Public Book Store catalog ===== */
.store-hero__price{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin-top:14px;
  padding:14px 16px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:16px;
  background:rgba(255,255,255,.10);
}
.store-hero__price small{font-size:11px;font-weight:850;letter-spacing:.08em;color:rgba(255,255,255,.74)}
.store-hero__price strong{font-size:30px;line-height:1;color:#fff;letter-spacing:-.035em}
.store-hero__price span{font-size:12px;color:rgba(255,255,255,.78)}
.store-search-wrap{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:24px}
.store-search-form{display:grid;grid-template-columns:minmax(240px,520px) auto auto;gap:9px;align-items:end;width:100%;max-width:760px}
.store-search-field{display:grid;gap:7px}
.store-search-field span{font-size:13px;font-weight:800;color:#405048}
.store-search-field input{width:100%;min-height:46px;padding:11px 14px;border:1px solid #d9dfdb;border-radius:13px;background:#fff;color:var(--ink);outline:0}
.store-search-field input:focus{border-color:#8fa89a;box-shadow:0 0 0 4px rgba(24,82,61,.08)}
.store-search-clear{min-height:46px;display:inline-flex;align-items:center;justify-content:center;padding:0 14px;border:1px solid #d9dfdb;border-radius:12px;background:#fff;color:#526059;font-size:13px;font-weight:800}
.store-search-clear:hover{background:#f3f6f4}
.store-result-count{white-space:nowrap;font-size:13px;font-weight:750;color:#68736d}
.store-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.store-book-card{display:flex;flex-direction:column;min-width:0;border:1px solid #e1e6e2;border-radius:20px;background:rgba(255,255,255,.94);box-shadow:var(--shadow-sm);overflow:hidden}
.store-book-card__cover-link{display:block;padding:16px 16px 0}
.store-book-card__cover{width:100%;aspect-ratio:3/4.18;object-fit:cover;border-radius:13px;background:#eef2ee;box-shadow:0 8px 20px rgba(18,48,36,.09)}
.store-book-card__body{display:flex;flex:1;flex-direction:column;padding:16px}
.store-book-card__status{align-self:flex-start;margin-bottom:8px;padding:5px 8px;border-radius:999px;background:#eef5f0;color:#2f734b;font-size:10px;font-weight:850;letter-spacing:.05em}
.store-book-card h2{margin:0;font-size:19px;line-height:1.18;color:var(--green-950);letter-spacing:-.02em}
.store-book-card__subtitle{margin:7px 0 0;color:#66736c;font-family:Georgia,"Times New Roman",serif;font-size:13px;line-height:1.45}
.store-book-card__meta{display:flex;flex-wrap:wrap;gap:6px;margin:13px 0 0}
.store-book-card__meta span{padding:6px 8px;border:1px solid #e0e7e2;border-radius:999px;background:#f6f8f6;color:#59675f;font-size:10px;font-weight:750}
.store-book-card__footer{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-top:auto;padding-top:16px}
.store-book-card__price{display:flex;flex-direction:column;min-width:0}
.store-book-card__price small{font-size:10px;color:#7b857f;font-weight:750}
.store-book-card__price strong{font-size:21px;color:var(--green-950);letter-spacing:-.025em}
.store-book-card__sale-row{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.store-book-card__price del{margin-top:1px;color:#8b958f;font-size:12px;font-weight:700}
.store-book-card__discount-badge{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:3px 7px;border-radius:999px;background:#f2ead7;color:#74591d;font-size:10px;font-weight:900;line-height:1;white-space:nowrap}
.store-book-card__button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 13px;line-height:1;text-align:center;white-space:nowrap}
.store-empty{padding:34px;border:1px solid #e1e6e2;border-radius:20px;background:rgba(255,255,255,.92);text-align:center;box-shadow:var(--shadow-sm)}
.store-empty strong{display:block;color:var(--green-950);font-size:20px}
.store-empty p{margin:7px 0 0;color:var(--muted);font-size:14px}
.store-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;margin-top:28px}
.store-pagination a,.store-pagination span{min-width:38px;min-height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0 10px;border:1px solid #dfe5e1;border-radius:10px;background:#fff;color:#536159;font-size:12px;font-weight:800}
.store-pagination a:hover,.store-pagination a.is-current{border-color:#abc0b2;background:#edf4ef;color:var(--green-950)}
.store-pagination span.is-current{border-color:var(--green-900);background:var(--green-900);color:#fff}
.store-pagination__text{min-width:auto!important;border:0!important;background:transparent!important;color:#758078!important}
.store-detail{display:grid;grid-template-columns:minmax(250px,360px) minmax(0,1fr);gap:34px;align-items:start}
.store-detail__cover-card{padding:18px;border:1px solid #e1e6e2;border-radius:22px;background:rgba(255,255,255,.94);box-shadow:var(--shadow-sm)}
.store-detail__cover{width:100%;aspect-ratio:3/4.18;object-fit:cover;border-radius:15px;background:#eef2ee}
.store-detail__copy{padding:8px 0}
.store-detail__copy h1{margin:6px 0 10px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(34px,4.6vw,54px);line-height:1.05;letter-spacing:-.04em;color:var(--green-950)}
.store-detail__subtitle{margin:0;color:#66736c;font-family:Georgia,"Times New Roman",serif;font-size:18px;line-height:1.5}
.store-detail__author{margin:12px 0 0;color:#536159;font-size:13px;font-weight:700}
.store-detail__about{margin:22px 0;padding:18px 20px;border:1px solid #e1e6e2;border-radius:16px;background:rgba(255,255,255,.84)}
.store-detail__about h2{margin:0 0 8px;font-family:Georgia,"Times New Roman",serif;font-size:20px;line-height:1.2;color:var(--green-950)}
.store-detail__about p{margin:0;color:#56645c;font-size:14px;line-height:1.7}
.store-detail__facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:22px 0}
.store-detail__fact{padding:13px 14px;border:1px solid #e1e6e2;border-radius:14px;background:rgba(255,255,255,.84)}
.store-detail__fact small,.store-detail__fact strong{display:block}
.store-detail__fact small{font-size:10px;font-weight:800;color:#7a857f;text-transform:uppercase;letter-spacing:.06em}
.store-detail__fact strong{margin-top:4px;color:var(--green-950);font-size:14px}
.store-detail__buybox{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:20px;padding:18px;border:1px solid #dfe7e1;border-radius:18px;background:#fff;box-shadow:var(--shadow-sm)}
.store-detail__buybox small,.store-detail__buybox strong,.store-detail__buybox span{display:block}
.store-detail__buybox small{font-size:11px;font-weight:800;color:#7a857f}
.store-detail__buybox strong{margin-top:2px;font-size:30px;color:var(--green-950);letter-spacing:-.035em}
.store-detail__buybox span{max-width:390px;color:#66736c;font-size:12px;line-height:1.55}
.store-back-link{display:inline-flex;align-items:center;gap:6px;margin-bottom:16px;color:var(--green-800);font-size:13px;font-weight:800}

@media(max-width:1000px){
  .store-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:820px){
  .store-search-wrap{display:block;margin-bottom:18px}
  .store-search-form{grid-template-columns:1fr auto;max-width:none}
  .store-search-field{grid-column:1/-1}
  .store-result-count{display:block;margin-top:12px}
  .store-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .store-book-card__cover-link{padding:12px 12px 0}
  .store-book-card__body{padding:13px}
  .store-book-card h2{font-size:17px}
  .store-book-card__subtitle{font-size:12.5px}
  .store-book-card__footer{display:block}
  .store-book-card__button{width:100%;margin-top:10px}
  .store-detail{grid-template-columns:1fr;gap:20px}
  .store-detail__cover-card{max-width:390px;margin-inline:auto;width:100%;padding:12px}
  .store-detail__copy{padding:0}
  .store-detail__copy h1{font-family:inherit;font-size:31px;font-weight:800}
  .store-detail__facts{grid-template-columns:1fr 1fr}
  .store-detail__buybox{display:block}
  .store-detail__buybox span{margin-top:8px}
}
@media(max-width:520px){
  .store-grid{grid-template-columns:1fr}
  .store-book-card{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:start;padding:13px;gap:13px}
  .store-book-card__cover-link{display:block;align-self:start;padding:0;border-radius:11px;overflow:hidden;background:#eef2ee}
  .store-book-card__cover{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;border-radius:11px;box-shadow:none}
  .store-book-card__body{display:flex;min-width:0;padding:0}
  .store-book-card__status{margin-bottom:6px;font-size:9px}
  .store-book-card h2{font-size:16px;line-height:1.2}
  .store-book-card__subtitle{margin-top:6px;font-size:12px;line-height:1.38}
  .store-book-card__meta{gap:5px;margin-top:9px}
  .store-book-card__meta span{font-size:9px;padding:5px 7px}
  .store-book-card__footer{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-top:11px;padding-top:0}
  .store-book-card__price strong{font-size:19px}
  .store-book-card__button{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:96px;min-height:40px;margin-top:0;padding-inline:18px;font-size:12px;line-height:1}
  .store-detail__facts{grid-template-columns:1fr}
  .store-search-form{grid-template-columns:1fr 1fr}
  .store-search-form .button,.store-search-clear{width:100%}
}

/* ===== STEP 6L.3 · Store cart + automatic discounts ===== */
.store-result-actions{display:flex;align-items:center;gap:12px}
.store-cart-link,.store-hero__cart-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
  padding:0 13px;
  border:1px solid #dce4df;
  border-radius:11px;
  background:#fff;
  color:var(--green-900);
  font-size:12px;
  font-weight:850;
  white-space:nowrap;
}
.store-cart-link:hover{background:#f2f6f3}
.store-cart-link span,.store-hero__cart-link span{
  display:inline-grid;
  place-items:center;
  min-width:23px;
  height:23px;
  padding:0 6px;
  border-radius:999px;
  background:var(--green-900);
  color:#fff;
  font-size:10px;
  font-weight:900;
}
.store-hero__cart-link{
  width:100%;
  margin-top:10px;
  border-color:rgba(255,255,255,.24);
  background:rgba(255,255,255,.12);
  color:#fff;
}
.store-hero__cart-link:hover{background:rgba(255,255,255,.18)}
.store-hero__cart-link span{background:#fff;color:var(--green-950)}
.store-detail-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.store-detail-nav .store-back-link{margin-bottom:0}
.store-detail__buybox-actions{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:7px;
  min-width:230px;
}
.store-detail__buybox-actions form{margin:0}
.store-detail__buybox-actions .button{min-width:150px}
.store-detail__buybox-actions .button:disabled{cursor:not-allowed;opacity:.55}
.store-detail__cart-link{color:var(--green-800);font-size:12px;font-weight:850}
.store-detail__buybox-actions span{max-width:330px;text-align:right}
.store-cart-notice{
  margin:0 0 18px;
  padding:12px 14px;
  border:1px solid #cfe1d4;
  border-radius:13px;
  background:#f1f8f3;
  color:#2f6745;
  font-size:13px;
  font-weight:750;
}
.store-cart-notice--error{border-color:#ead4ce;background:#fff5f2;color:#8c4036}
.store-cart-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:24px;
}
.store-cart-heading h1{
  margin:4px 0 7px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(34px,4.8vw,52px);
  line-height:1.05;
  letter-spacing:-.04em;
  color:var(--green-950);
}
.store-cart-heading p{margin:0;max-width:650px;color:var(--muted);font-size:14px;line-height:1.6}
.store-cart-count{
  min-width:138px;
  padding:14px 16px;
  border:1px solid #dfe6e1;
  border-radius:16px;
  background:rgba(255,255,255,.94);
  text-align:center;
  box-shadow:var(--shadow-sm);
}
.store-cart-count small,.store-cart-count strong{display:block}
.store-cart-count small{font-size:10px;font-weight:850;letter-spacing:.06em;text-transform:uppercase;color:#7b857f}
.store-cart-count strong{margin-top:2px;font-size:28px;color:var(--green-950)}
.store-cart-empty-button{margin-top:12px}
.store-cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;align-items:start}
.store-cart-items{display:grid;gap:12px}
.store-cart-item{
  display:grid;
  grid-template-columns:86px minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
  padding:14px;
  border:1px solid #e1e6e2;
  border-radius:18px;
  background:rgba(255,255,255,.94);
  box-shadow:var(--shadow-sm);
}
.store-cart-item__cover-link{display:block;width:86px}
.store-cart-item__cover{
  width:86px;
  height:auto;
  aspect-ratio:3/4.18;
  object-fit:cover;
  border-radius:10px;
  background:#eef2ee;
}
.store-cart-item__copy{min-width:0}
.store-cart-item__copy h2{margin:0;color:var(--green-950);font-size:18px;line-height:1.2}
.store-cart-item__copy p{
  margin:5px 0 0;
  color:#69766f;
  font-family:Georgia,"Times New Roman",serif;
  font-size:12px;
  line-height:1.45;
}
.store-cart-item__meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.store-cart-item__meta span{
  padding:5px 7px;
  border:1px solid #e0e7e2;
  border-radius:999px;
  background:#f6f8f6;
  color:#5f6b64;
  font-size:9px;
  font-weight:750;
}
.store-cart-item__actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:90px}
.store-cart-item__actions>strong{font-size:18px;color:var(--green-950)}
.store-cart-item__actions form{margin:0}
.store-cart-remove,.store-cart-clear{
  border:0;
  background:transparent;
  color:#8b4c43;
  font-size:11px;
  font-weight:800;
  padding:4px 0;
}
.store-cart-remove:hover,.store-cart-clear:hover{text-decoration:underline}
.store-cart-summary{
  position:sticky;
  top:92px;
  padding:20px;
  border:1px solid #dfe6e1;
  border-radius:20px;
  background:#fff;
  box-shadow:var(--shadow-md);
}
.store-cart-summary h2{margin:0 0 14px;color:var(--green-950);font-size:21px}
.store-cart-summary__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid #edf0ee;
  color:#5f6c65;
  font-size:13px;
}
.store-cart-summary__row strong{color:var(--green-950)}
.store-cart-summary__row--discount span,.store-cart-summary__row--discount strong{color:#2e754b}
.store-cart-saving-note{
  margin-top:10px;
  padding:9px 10px;
  border-radius:11px;
  background:#f1f7f3;
  color:#47705a;
  font-size:11px;
  font-weight:750;
  line-height:1.4;
}
.store-cart-summary__total{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  padding:17px 0 4px;
}
.store-cart-summary__total span{font-size:13px;font-weight:850;color:#536159}
.store-cart-summary__total strong{font-size:30px;line-height:1;color:var(--green-950);letter-spacing:-.035em}
.store-cart-savings{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-top:10px;
  padding:10px 11px;
  border-radius:12px;
  background:#edf7f0;
  color:#2f734b;
  font-size:12px;
  font-weight:850;
}
.store-cart-checkout-note{
  margin-top:14px;
  padding:11px 12px;
  border:1px solid #e5e9e6;
  border-radius:12px;
  background:#f8faf8;
  color:#69756e;
  font-size:11px;
  line-height:1.45;
}
.store-cart-summary__actions{display:grid;gap:9px;margin-top:14px}
.store-cart-summary__actions .button{display:flex;width:100%;align-items:center;justify-content:center}
.store-cart-summary__actions form{text-align:center;margin:0}

@media(max-width:900px){
  .store-cart-layout{grid-template-columns:1fr}
  .store-cart-summary{position:static}
}
@media(max-width:820px){
  .store-result-actions{justify-content:space-between;margin-top:12px}
  .store-cart-heading{align-items:flex-start}
  .store-detail__buybox-actions{align-items:stretch;min-width:0;margin-top:12px}
  .store-detail__buybox-actions .button{width:100%}
  .store-detail__buybox-actions span{text-align:left}
}
@media(max-width:600px){
  .store-cart-heading{display:block}
  .store-cart-count{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;margin-top:14px;text-align:left}
  .store-cart-count strong{margin-top:0;font-size:24px}
  .store-cart-item{grid-template-columns:72px minmax(0,1fr);gap:12px;align-items:start}
  .store-cart-item__cover-link,.store-cart-item__cover{width:72px}
  .store-cart-item__copy h2{font-size:16px}
  .store-cart-item__actions{grid-column:2;flex-direction:row;align-items:center;justify-content:space-between;width:100%;min-width:0;margin-top:-2px}
  .store-detail-nav{align-items:center}
}

/* ===== STEP 6L.4 · Book Store secure checkout ===== */
.store-cart-checkout-panel{
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid #e7ece8;
}
.store-cart-checkout-panel__heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:5px;
}
.store-cart-checkout-panel__heading small{
  display:block;
  margin-bottom:3px;
  color:var(--green-800);
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
}
.store-cart-checkout-panel__heading h3{
  margin:0;
  color:var(--green-950);
  font-size:17px;
  line-height:1.2;
}
.store-cart-checkout-panel__desc{
  margin:0 0 13px;
  color:#69756e;
  font-size:11px;
  line-height:1.5;
}
.store-cart-checkout-panel .checkout-auth-tabs{margin-top:2px}
.store-cart-checkout-panel .review-field input{background:#fff}
.store-cart-checkout-panel .checkout-signed-in{margin-top:2px}
.store-cart-checkout-panel .checkout-pay-button{margin-top:13px}
.store-cart-checkout-panel .checkout-message{margin-bottom:0}

/* ===== Purchased Book Store titles in My Books ===== */
.my-store-library{margin-bottom:18px}
.my-store-library__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}
.my-store-library__head>div>span{
  display:block;
  margin-bottom:4px;
  color:var(--green-800);
  font-size:10px;
  font-weight:900;
  letter-spacing:.1em;
}
.my-store-library__head h3{margin-bottom:5px}
.my-store-library__count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  height:30px;
  padding:0 10px;
  border-radius:999px;
  background:var(--green-50);
  color:var(--green-800);
  font-size:12px;
  font-weight:900;
}
.my-store-library__empty{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:15px;
  border:1px solid #e4e9e5;
  border-radius:14px;
  background:#f8faf8;
}
.my-store-library__empty .button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  min-height:46px;
  padding:0 26px;
  line-height:1.15;
  text-align:center;
  white-space:nowrap;
}
.my-store-book-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

/* Purchased cards intentionally reuse customer-order-card exactly. */
.my-store-order-card__pdf-fallback{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  color:var(--green-800);
  font-size:12px;
  font-weight:900;
}
.my-store-order-card__price del{
  margin-left:7px;
  color:#8c9690;
  font-size:10px;
  font-weight:700;
}

/* Keep Store summary buttons governed by the same open/closed rules. */
.my-store-order-card[open] .customer-order-card__summary-quick-actions{
  display:none!important;
}
.my-store-order-card:not([open]) .customer-order-card__summary-quick-actions{
  display:flex;
}

@media(max-width:600px){
  .my-store-order-card:not([open]) .customer-order-card__summary-quick-actions{
    display:grid!important;
  }
}

@media(max-width:560px){
  .my-store-library__head{gap:10px}
  .my-store-library__empty{align-items:stretch;flex-direction:column}
  .my-store-library__empty .button{width:100%}
}


/* ===== Translation Order 4/6 — app-styled compact cart ===== */
.app-section--translation-cart{
  padding:34px 0 46px;
}
.translation-cart-shell{
  max-width:820px;
}
.translation-cart-heading{
  margin-bottom:20px;
}
.translation-cart-heading .step-label{
  margin-bottom:10px;
  color:var(--green-800);
  font-size:13px;
  font-weight:900;
  letter-spacing:.02em;
}
.translation-cart-heading h2{
  margin:0;
  color:var(--green-950);
  font-size:clamp(30px,4vw,42px);
  line-height:1.08;
  letter-spacing:-.035em;
}
.translation-cart-heading p{
  max-width:650px;
  margin:12px 0 0;
  color:#45544c;
  font-size:16px;
  line-height:1.55;
}
.translation-cart-card{
  overflow:hidden;
  padding:20px 22px 18px;
  border:1px solid rgba(19,63,48,.13);
  border-radius:24px;
  background:rgba(255,255,255,.97);
  box-shadow:0 12px 34px rgba(15,43,32,.08);
}
.translation-cart-card__toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:17px;
}
.translation-cart-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:0 16px;
  border-radius:13px;
  background:#f0f6ee;
  color:var(--green-950);
  font-size:14px;
  font-weight:900;
  line-height:1;
}
.translation-cart-icon{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border-radius:15px;
  background:#f1f7ef;
  color:var(--green-900);
}
.translation-cart-icon svg{
  width:27px;
  height:27px;
  stroke-width:1.9;
}
.translation-cart-list{
  display:grid;
  gap:14px;
}
.translation-cart-item{
  display:grid;
  grid-template-columns:74px minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
  min-width:0;
  padding:0 0 17px;
}
.translation-cart-item + .translation-cart-item{
  padding-top:3px;
  border-top:1px solid #edf0ed;
}
.translation-cart-item__cover{
  width:74px;
  height:102px;
  overflow:hidden;
  border-radius:9px;
  background:#eef3ef;
  box-shadow:0 2px 8px rgba(15,43,32,.10);
}
.translation-cart-item__cover img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.translation-cart-item__copy{
  min-width:0;
}
.translation-cart-item__copy strong{
  display:block;
  overflow:hidden;
  color:var(--green-950);
  font-size:18px;
  font-weight:850;
  line-height:1.25;
  text-overflow:ellipsis;
}
.translation-cart-item__copy span{
  display:block;
  margin-top:5px;
  color:#47554e;
  font-size:14px;
  line-height:1.35;
}
.translation-cart-item__copy small{
  display:block;
  margin-top:7px;
  color:#728078;
  font-size:11px;
  line-height:1.35;
}
.translation-cart-item__price{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
  min-width:112px;
  text-align:right;
}
.translation-cart-item__price strong{
  color:var(--green-950);
  font-size:18px;
  font-weight:900;
  line-height:1;
  white-space:nowrap;
}
.translation-cart-remove{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:40px;
  padding:0 13px 0 15px;
  border:1px solid #d8ddda;
  border-radius:13px;
  background:#fff;
  color:#5e6762;
  font:inherit;
  font-size:12px;
  font-weight:750;
  line-height:1;
  cursor:pointer;
  transition:.16s ease;
}
.translation-cart-remove::after{
  content:"×";
  display:inline-block;
  color:#6b746f;
  font-size:20px;
  font-weight:400;
  line-height:.8;
}
.translation-cart-remove:hover{
  border-color:#c7cfca;
  background:#f7f9f7;
  color:var(--green-950);
}
.translation-cart-footer{
  display:grid;
  grid-template-columns:48px minmax(120px,1fr);
  gap:14px;
  align-items:center;
  padding-top:17px;
  border-top:1px solid #e8ece9;
}
.translation-cart-total-icon{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  border-radius:50%;
  background:#eef6e8;
  color:var(--green-800);
}
.translation-cart-total-icon svg{
  width:25px;
  height:25px;
  stroke-width:1.8;
}
.translation-cart-total{
  min-width:0;
}
.translation-cart-total span{
  display:block;
  color:#435149;
  font-size:12px;
  line-height:1.2;
}
.translation-cart-total strong{
  display:block;
  margin-top:3px;
  color:var(--green-950);
  font-size:28px;
  font-weight:900;
  line-height:1;
  letter-spacing:-.03em;
}
.translation-cart-parallel-note{
  display:block;
  margin:0;
  color:#66726b;
  font-size:12px;
  line-height:1.45;
}
.translation-cart-actions{
  display:grid;
  grid-template-columns:.95fr 1.15fr;
  gap:14px;
  margin-top:16px;
}
.translation-cart-actions--single{
  grid-template-columns:minmax(260px,430px);
  justify-content:end;
}
.translation-cart-actions .button{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-width:0;
  min-height:58px;
  padding:0 18px;
  border-radius:16px;
  font-size:15px;
  font-weight:850;
  line-height:1.15;
}
.translation-cart-actions .button svg{
  flex:0 0 auto;
  width:22px;
  height:22px;
  stroke-width:2;
}
.translation-cart-add{
  border-color:#6f8b7d;
  background:rgba(255,255,255,.68);
  color:var(--green-900);
}
.translation-cart-add:hover{
  border-color:var(--green-800);
  background:#fff;
}
.translation-cart-continue{
  position:relative;
  box-shadow:0 7px 18px rgba(18,63,48,.12);
}
.translation-cart-continue span{
  width:100%;
  text-align:center;
}
.translation-cart-continue svg{
  position:absolute;
  right:18px;
  margin-left:0;
}
.translation-cart-message{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:24px;
  margin:14px 0 0;
  color:#66726b;
  font-size:12px;
  text-align:center;
}
.translation-cart-message:not(:empty)::before{
  content:"✓";
  display:grid;
  flex:0 0 25px;
  place-items:center;
  width:25px;
  height:25px;
  border-radius:50%;
  background:#e8f3df;
  color:var(--green-800);
  font-size:14px;
  font-weight:900;
}


/* ===== Translation cart remove confirmation modal ===== */
body.bts-modal-open{overflow:hidden}
.bts-confirm-overlay[hidden]{display:none!important}
.bts-confirm-overlay{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(12,31,24,.54);
  -webkit-backdrop-filter:blur(3px);
  backdrop-filter:blur(3px);
}
.bts-confirm-panel{
  width:min(100%,460px);
  max-height:calc(100vh - 40px);
  overflow:auto;
  padding:24px;
  border:1px solid #dfe6e1;
  border-radius:18px;
  background:#fff;
  box-shadow:0 24px 70px rgba(0,0,0,.22);
  outline:none;
}
.bts-confirm-panel__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:14px;
}
.bts-confirm-panel__icon{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  border-radius:14px;
  background:#f1f7ef;
  color:var(--green-900);
}
.bts-confirm-panel__icon svg{width:25px;height:25px;stroke-width:1.8}
.bts-confirm-panel__close{
  border:0;
  background:transparent;
  color:#5f6c65;
  font:inherit;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  padding:2px 4px;
}
.bts-confirm-panel h3{
  margin:0;
  color:var(--green-950);
  font-size:22px;
  line-height:1.25;
  letter-spacing:-.02em;
}
.bts-confirm-panel p{
  margin:9px 0 0;
  color:#607067;
  font-size:14px;
  line-height:1.6;
}
.bts-confirm-panel__actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:22px;
}
.bts-confirm-panel__actions .button{width:100%;min-height:48px}
.bts-confirm-panel__remove{
  border-color:var(--danger);
  background:var(--danger);
  color:#fff;
}
.bts-confirm-panel__remove:hover{filter:brightness(.94)}

@media(max-width:700px){
  .bts-confirm-overlay{align-items:flex-end;padding:12px}
  .bts-confirm-panel{width:100%;padding:20px;border-radius:18px 18px 12px 12px}
  .bts-confirm-panel__actions{margin-top:20px}
  .app-section--translation-cart{padding:30px 0 36px}
  .translation-cart-heading{margin-bottom:16px}
  .translation-cart-heading .step-label{margin-bottom:9px;font-size:12px}
  .translation-cart-heading h2{font-size:31px;line-height:1.1}
  .translation-cart-heading p{margin-top:10px;font-size:15px;line-height:1.5}
  .translation-cart-card{padding:15px 16px 16px;border-radius:20px}
  .translation-cart-card__toolbar{margin-bottom:14px}
  .translation-cart-count{min-height:34px;padding:0 13px;border-radius:11px;font-size:13px}
  .translation-cart-icon{width:43px;height:43px;border-radius:13px}
  .translation-cart-icon svg{width:24px;height:24px}
  .translation-cart-list{gap:12px}
  .translation-cart-item{grid-template-columns:70px minmax(0,1fr);gap:13px;padding-bottom:15px;align-items:start}
  .translation-cart-item__cover{width:70px;height:96px;border-radius:8px}
  .translation-cart-item__copy{grid-column:2;grid-row:1;padding-top:2px;padding-bottom:46px}
  .translation-cart-item__copy strong{font-size:16px;line-height:1.22}
  .translation-cart-item__copy span{margin-top:4px;font-size:13px}
  .translation-cart-item__copy small{margin-top:5px;font-size:10px}
  .translation-cart-item__price{grid-column:2;grid-row:1;align-self:end;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;width:100%;min-width:0;margin:0;padding:0;text-align:left}
  .translation-cart-item__price strong{font-size:17px}
  .translation-cart-remove{min-height:38px;padding:0 11px 0 13px;border-radius:12px;font-size:12px}
  .translation-cart-footer{grid-template-columns:42px minmax(82px,1fr);gap:10px;padding-top:14px}
  .translation-cart-total-icon{width:42px;height:42px}
  .translation-cart-total-icon svg{width:23px;height:23px}
  .translation-cart-total span{font-size:11px}
  .translation-cart-total strong{font-size:24px}
  .translation-cart-actions{gap:10px;margin-top:14px}
  .translation-cart-actions .button{min-height:54px;padding:0 10px;border-radius:14px;font-size:12px;gap:7px;white-space:nowrap}
  .translation-cart-actions .button svg{width:19px;height:19px}
  .translation-cart-continue svg{right:14px}
  .translation-cart-message{margin-top:12px;font-size:11.5px}
}

@media(max-width:340px){
  .translation-cart-footer{grid-template-columns:40px 1fr}
  .translation-cart-actions{grid-template-columns:1fr}
  .translation-cart-actions .button{font-size:13px}
}

@media(max-width:720px){
  .translation-cart-actions--single{grid-template-columns:1fr}
}

/* =====================================================================
   BOOK TRANSLATION STUDIO · STEP 5 — COMPACT APP CHECKOUT
   Visual-only reinforcement for dynamically rendered multi-book items.
   ===================================================================== */
.app-section--checkout{
  padding:42px 0 50px;
  background:
    linear-gradient(180deg,rgba(248,247,240,.96),rgba(250,249,245,.98));
}
.checkout-step-card{
  width:min(920px,100%);
  padding:24px;
  border:1px solid #dce5df;
  border-radius:22px;
  background:rgba(255,255,255,.96);
  box-shadow:0 14px 38px rgba(15,43,32,.07);
}
.checkout-step-card__top{
  padding-bottom:18px;
}
.checkout-step-card__top .step-label{
  color:var(--green-800);
  font-weight:900;
  letter-spacing:.12em;
}
.checkout-layout{
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:14px;
}
.checkout-order-card,
.checkout-account-card{
  padding:16px;
  border:1px solid #dfe6e1;
  border-radius:17px;
  background:#fff;
  box-shadow:0 5px 18px rgba(15,43,32,.04);
}
.checkout-order-card>.order-review-eyebrow,
.checkout-account-card>.order-review-eyebrow{
  display:block;
  margin-bottom:10px;
  color:#66766d;
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
}
.checkout-translation-items{
  display:grid!important;
  gap:8px!important;
  margin:0 0 12px!important;
}
.checkout-translation-item{
  display:grid!important;
  grid-template-columns:56px minmax(0,1fr) auto!important;
  gap:11px!important;
  align-items:center!important;
  min-width:0;
  padding:9px!important;
  border:1px solid #e2e8e4!important;
  border-radius:12px!important;
  background:#fafcfb!important;
}
.checkout-translation-item img{
  display:block!important;
  width:56px!important;
  min-width:56px!important;
  max-width:56px!important;
  height:76px!important;
  max-height:76px!important;
  margin:0!important;
  border-radius:7px!important;
  object-fit:cover!important;
  background:#eef3ef!important;
  box-shadow:0 3px 9px rgba(15,43,32,.10);
}
.checkout-translation-item>div:nth-child(2){
  min-width:0;
}
.checkout-translation-item strong{
  display:block!important;
  margin:0!important;
  color:var(--green-950)!important;
  font-size:13px!important;
  font-weight:850!important;
  line-height:1.25!important;
  overflow-wrap:anywhere;
}
.checkout-translation-item span{
  display:block!important;
  margin-top:4px!important;
  color:#68766e!important;
  font-size:11px!important;
  line-height:1.3!important;
}
.checkout-translation-item__price{
  align-self:center;
  color:var(--green-900)!important;
  font-size:13px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
.checkout-total{
  margin-top:10px;
  padding:11px 12px;
  border-color:#c8dccc;
  border-radius:12px;
  background:#f1f8f3;
}
.checkout-total span{
  font-size:11px;
}
.checkout-total strong{
  font-size:22px;
}
.checkout-secure-note{
  align-items:center;
  margin-top:10px;
  padding:9px 10px;
  border-radius:10px;
  background:#f7f9f7;
  font-size:10.5px;
  line-height:1.4;
}
.checkout-secure-note svg{
  margin-top:0;
}
.checkout-auth-tabs{
  margin-bottom:12px;
}
.checkout-auth-panel{
  gap:10px;
}
.checkout-account-card .review-field{
  gap:5px;
}
.checkout-account-card .review-field>span{
  font-size:11px;
}
.checkout-account-card .review-field input{
  min-height:44px;
}
.checkout-terms{
  margin-top:13px;
}
.checkout-pay-button{
  min-height:50px;
  margin-top:13px;
  border-radius:13px;
}

@media(max-width:820px){
  .app-section--checkout{
    padding:24px 0 34px;
  }
  .checkout-step-card{
    padding:15px;
    border-radius:20px;
  }
  .checkout-step-card__top{
    padding:0 2px 15px;
  }
  .checkout-step-card__top h2{
    font-size:25px;
    line-height:1.12;
  }
  .checkout-step-card__top p{
    margin-top:7px;
    font-size:13px;
    line-height:1.48;
  }
  .checkout-layout{
    grid-template-columns:1fr;
    gap:11px;
  }
  .checkout-order-card,
  .checkout-account-card{
    padding:13px;
    border-radius:15px;
  }
  .checkout-order-card>.order-review-eyebrow,
  .checkout-account-card>.order-review-eyebrow{
    margin-bottom:8px;
    font-size:10.5px;
  }
  .checkout-translation-items{
    gap:7px!important;
    margin-bottom:10px!important;
  }
  .checkout-translation-item{
    grid-template-columns:50px minmax(0,1fr) auto!important;
    gap:9px!important;
    padding:8px!important;
    border-radius:11px!important;
  }
  .checkout-translation-item img{
    width:50px!important;
    min-width:50px!important;
    max-width:50px!important;
    height:68px!important;
    max-height:68px!important;
    border-radius:6px!important;
  }
  .checkout-translation-item strong{
    font-size:12px!important;
    line-height:1.22!important;
  }
  .checkout-translation-item span{
    margin-top:3px!important;
    font-size:10.5px!important;
  }
  .checkout-translation-item__price{
    font-size:12px!important;
  }
  .checkout-total{
    margin-top:8px;
    padding:10px 11px;
  }
  .checkout-total strong{
    font-size:20px;
  }
  .checkout-secure-note{
    margin-top:8px;
    padding:8px 9px;
    font-size:10px;
  }
  .checkout-auth-tabs button{
    min-height:40px;
  }
  .checkout-pay-button{
    min-height:50px;
  }
}

@media(max-width:380px){
  .checkout-translation-item{
    grid-template-columns:46px minmax(0,1fr)!important;
  }
  .checkout-translation-item img{
    width:46px!important;
    min-width:46px!important;
    max-width:46px!important;
    height:63px!important;
    max-height:63px!important;
  }
  .checkout-translation-item__price{
    grid-column:2;
    justify-self:start;
    margin-top:-2px;
  }
}

/* ===== My Books: compact mobile translation-order summary (in progress) ===== */
@media(max-width:600px){
  .customer-order-card:not([open]):not(.has-summary-download) > .customer-order-card__top{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:12px;
    width:100%;
    align-items:start;
  }

  .customer-order-card:not([open]):not(.has-summary-download) .customer-order-card__identity{
    width:100%;
    min-width:0;
    gap:11px;
    align-items:flex-start;
  }

  .customer-order-card:not([open]):not(.has-summary-download) .customer-order-card__heading{
    min-width:0;
    width:100%;
    max-width:none;
    padding-top:0;
  }

  .customer-order-card:not([open]):not(.has-summary-download) .customer-order-card__heading h3{
    display:-webkit-box;
    overflow:hidden;
    margin:0;
    font-size:17px;
    line-height:1.28;
    overflow-wrap:break-word;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
  }

  .customer-order-card:not([open]):not(.has-summary-download) .customer-order-subtitle{
    display:-webkit-box;
    overflow:hidden;
    margin:5px 0 0;
    font-size:12.5px;
    line-height:1.42;
    overflow-wrap:break-word;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
  }

  .customer-order-card:not([open]):not(.has-summary-download) .customer-order-card__summary-meta{
    margin-top:7px;
    min-width:0;
  }

  .customer-order-card:not([open]):not(.has-summary-download) .customer-order-card__id{
    margin:0;
    font-size:9.5px;
    line-height:1.35;
    overflow-wrap:anywhere;
  }

  .customer-order-card:not([open]):not(.has-summary-download) .customer-order-card__summary-actions{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto auto;
    align-items:center;
    gap:10px;
    width:100%;
    min-width:0;
    margin:0;
    padding-top:11px;
    border-top:1px solid #edf1ee;
  }

  .customer-order-card:not([open]):not(.has-summary-download) .customer-order-status{
    justify-self:start;
    max-width:100%;
    margin:0;
    padding:6px 10px;
    font-size:10px;
    line-height:1.2;
    white-space:normal;
  }

  .customer-order-card:not([open]):not(.has-summary-download) .customer-order-card__summary-progress{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:42px;
  }

  .customer-order-card:not([open]):not(.has-summary-download) .customer-order-card__summary-progress strong{
    color:var(--green-950);
    font-size:17px;
    line-height:1;
  }

  .customer-order-card:not([open]):not(.has-summary-download) .customer-order-card__summary-buttons{
    display:none;
  }

  .customer-order-card:not([open]):not(.has-summary-download) .customer-order-card__chevron{
    position:relative;
    top:auto;
    right:auto;
    justify-self:end;
    flex:none;
    width:30px;
    height:30px;
    border:1px solid #dde4df;
    border-radius:50%;
    background:#fff;
  }
}

@media(max-width:390px){
  .customer-order-card:not([open]):not(.has-summary-download) .customer-order-card__summary-actions{
    gap:8px;
  }

  .customer-order-card:not([open]):not(.has-summary-download) .customer-order-status{
    padding-inline:8px;
    font-size:9.5px;
  }

  .customer-order-card:not([open]):not(.has-summary-download) .customer-order-card__summary-progress strong{
    font-size:16px;
  }
}


/* ===== My Books: compact mobile expanded translation-order accordion ===== */
@media(max-width:600px){
  .order-list > .customer-order-card[data-translation-item-id][open]{
    padding:13px;
    border-radius:16px;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] > .customer-order-card__top{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:10px;
    width:100%;
    align-items:start;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-card__identity{
    width:100%;
    min-width:0;
    gap:10px;
    align-items:flex-start;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-card__heading{
    width:100%;
    min-width:0;
    max-width:none;
    padding-top:0;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-card__heading h3{
    display:-webkit-box;
    overflow:hidden;
    margin:0;
    font-size:17px;
    line-height:1.28;
    overflow-wrap:break-word;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-subtitle{
    display:-webkit-box;
    overflow:hidden;
    margin:4px 0 0;
    font-size:12.5px;
    line-height:1.4;
    overflow-wrap:break-word;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-card__summary-meta{
    margin-top:6px;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-card__id{
    margin:0;
    font-size:9.5px;
    line-height:1.35;
    overflow-wrap:anywhere;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-card__summary-actions{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto auto;
    align-items:center;
    gap:9px;
    width:100%;
    min-width:0;
    margin:0;
    padding-top:10px;
    border-top:1px solid #edf1ee;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-status{
    justify-self:start;
    max-width:100%;
    margin:0;
    padding:6px 10px;
    font-size:10px;
    line-height:1.2;
    white-space:normal;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-card__summary-progress{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:40px;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-card__summary-progress strong{
    color:var(--green-950);
    font-size:17px;
    line-height:1;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-card__summary-buttons{
    display:none;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-card__chevron{
    position:relative;
    top:auto;
    right:auto;
    justify-self:end;
    flex:none;
    width:30px;
    height:30px;
    border:1px solid #dde4df;
    border-radius:50%;
    background:#fff;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-card__body{
    padding-top:0;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-progress{
    margin-top:12px;
    padding:12px;
    border-radius:14px;
    background:#fbfcfb;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-progress__header{
    display:flex;
    flex-direction:row;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-progress__header>div:first-child{
    min-width:0;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-progress__header strong{
    font-size:13px;
    line-height:1.3;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-progress__header p{
    margin-top:3px;
    font-size:11.5px;
    line-height:1.4;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-progress__value{
    flex:0 0 auto;
    text-align:right;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-progress__value strong{
    font-size:18px;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-progress__value small{
    display:none;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-progress__bar{
    height:7px;
    margin-top:10px;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-progress__steps{
    gap:3px;
    margin-top:11px;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-progress-step>span{
    width:10px;
    height:10px;
    margin-bottom:0;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-progress-step small{
    display:none;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-meta--details{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    margin-top:10px;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-meta--details > div{
    min-width:0;
    padding:8px 9px;
    border-radius:10px;
    background:#f7f9f7;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-meta--details span{
    font-size:9px;
    line-height:1.2;
    letter-spacing:.045em;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-meta--details strong{
    margin-top:3px;
    font-size:12px;
    line-height:1.35;
    overflow-wrap:anywhere;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-actions{
    gap:8px;
    margin-top:10px;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-actions .button{
    min-height:44px;
  }
}

@media(max-width:360px){
  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-status{
    padding-inline:8px;
    font-size:9.5px;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-card__summary-progress strong{
    font-size:16px;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-meta--details{
    gap:7px;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-meta--details > div{
    padding:8px;
  }

  .order-list > .customer-order-card[data-translation-item-id][open] .customer-order-meta--details strong{
    font-size:11.5px;
  }
}

/* ===== My Books: completed multi-book items use the canonical completed-card structure ===== */
.customer-order-card[data-translation-item-id].has-summary-download:not([open]) .customer-order-card__summary-progress{
  display:none!important;
}

@media(max-width:600px){
  .customer-order-card[data-translation-item-id].has-summary-download:not([open]) .customer-order-card__summary-buttons.customer-order-card__summary-quick-actions{
    grid-area:action!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    column-gap:10px!important;
    width:100%!important;
    align-items:stretch!important;
  }

  .customer-order-card[data-translation-item-id].has-summary-download:not([open]) .customer-order-card__summary-buttons.customer-order-card__summary-quick-actions > .customer-order-card__summary-download:not([hidden]){
    display:flex!important;
    width:100%!important;
    min-width:0!important;
    min-height:44px!important;
    margin:0!important;
    padding:0 12px!important;
    border:0!important;
    border-radius:12px!important;
    background:var(--green-900)!important;
    color:#fff!important;
    font-size:13px!important;
    font-weight:800!important;
    justify-content:center!important;
  }
}

@media(max-width:390px){
  .customer-order-card[data-translation-item-id].has-summary-download:not([open]) .customer-order-card__summary-buttons.customer-order-card__summary-quick-actions{
    column-gap:8px!important;
  }
  .customer-order-card[data-translation-item-id].has-summary-download:not([open]) .customer-order-card__summary-buttons.customer-order-card__summary-quick-actions > .customer-order-card__summary-download:not([hidden]){
    min-height:42px!important;
    padding:0 8px!important;
    font-size:12px!important;
  }
}
