/*
Theme Name: Empirica
Theme URI: https://empiricalogic.com
Author: Platinum Media Solutions
Description: Evidence Kits marketing theme for Empirica Logic. Hand-authored templates, no page builder, WooCommerce compatible.
Version: 1.10.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: empirica
*/

/* ==========================================================================
   Empirica Logic — design system
   One stylesheet. Becomes the WP theme's style.css unchanged.
   ========================================================================== */

:root{
  --ink:#1a1f24; --deep:#15384f; --mid:#2c6e8f; --soft:#5a6b78;
  --rule:#d6dfe5; --bg:#fdfcfa; --panel:#f2f6f8; --code:#eef3f6;
  --accent:#8a5a3c; --accent-soft:#f5ede7;
  --ok:#2f6b4f; --warn:#8a5a3c;
  --serif:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  --sans:"Montserrat",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --wrap:1060px; --read:730px;
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --ink:#e7edf1; --deep:#a5c8db; --mid:#84b3cc; --soft:#93a5b2;
    --rule:#2f3f4a; --bg:#11161a; --panel:#182027; --code:#151d23;
    --accent:#c99b78; --accent-soft:#241c16; --ok:#79b697;
  }
}
:root[data-theme="dark"]{
  --ink:#e7edf1; --deep:#a5c8db; --mid:#84b3cc; --soft:#93a5b2;
  --rule:#2f3f4a; --bg:#11161a; --panel:#182027; --code:#151d23;
  --accent:#c99b78; --accent-soft:#241c16; --ok:#79b697;
}

html{scroll-padding-top:calc(env(safe-area-inset-top,0px) + 4.5rem);-webkit-text-size-adjust:100%}
*,*::before,*::after{box-sizing:inherit}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);
  font-size:17px;line-height:1.68;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}

/* ---------------------------------------------------------------- layout */
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 clamp(1.15rem,5vw,2rem)}
.read{max-width:var(--read);margin:0 auto}
section{padding:clamp(2.75rem,7vw,4.75rem) 0}
section.tight{padding:clamp(2rem,5vw,3rem) 0}
.panel{background:var(--panel)}
hr.rule{border:0;border-top:1px solid var(--rule);margin:0}

/* ------------------------------------------------------------------- nav */
.nav{position:sticky;top:env(safe-area-inset-top,0px);z-index:50;
  background:color-mix(in srgb,var(--bg) 92%,transparent);
  backdrop-filter:saturate(180%) blur(10px);border-bottom:1px solid var(--rule)}
.nav .wrap{display:flex;align-items:center;gap:1.5rem;min-height:4rem;flex-wrap:wrap}
.brand{font-family:var(--serif);font-weight:600;font-size:1.3rem;color:var(--deep);
  text-decoration:none;letter-spacing:-.01em;margin-right:auto;white-space:nowrap}
.brand span{font-family:var(--sans);font-size:.6rem;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--mid);display:block;line-height:1;margin-top:.15rem}
.nav a.link{font-size:.83rem;font-weight:500;color:var(--soft);text-decoration:none;white-space:nowrap}
.nav a.link:hover,.nav a.link[aria-current]{color:var(--deep)}
.nav a.link[aria-current]{font-weight:600;border-bottom:2px solid var(--mid);padding-bottom:2px}
@media (max-width:760px){
  .nav .wrap{min-height:auto;padding-top:.75rem;padding-bottom:.75rem;gap:.55rem 1rem}
  .brand{flex:1 0 100%;margin-bottom:.25rem}
  .nav a.link{font-size:.78rem}
}

/* ------------------------------------------------------------ typography */
.eyebrow{font-size:.72rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  color:var(--mid);margin:0 0 1rem}
h1{font-family:var(--serif);font-weight:600;font-size:clamp(2.1rem,6.2vw,3.35rem);
  line-height:1.09;color:var(--deep);margin:0 0 .6rem;letter-spacing:-.012em}
h2{font-family:var(--serif);font-weight:600;font-size:clamp(1.5rem,4.6vw,2.15rem);
  line-height:1.17;color:var(--deep);margin:0 0 .75rem;letter-spacing:-.006em}
h3{font-family:var(--sans);font-weight:600;font-size:1.02rem;color:var(--ink);margin:1.9rem 0 .5rem}
h2 .num{display:block;font-family:var(--sans);font-size:.7rem;font-weight:700;
  letter-spacing:.16em;color:var(--accent);margin-bottom:.45rem}
.sub{font-family:var(--serif);font-size:clamp(1.15rem,3.4vw,1.5rem);color:var(--mid);
  font-style:italic;margin:0 0 1.35rem;line-height:1.35}
p{margin:0 0 1.15rem}
.lede{font-size:1.07rem}
.meta{font-size:.82rem;color:var(--soft)}
strong{font-weight:600}
a{color:var(--mid);text-decoration:underline;text-underline-offset:2px}
a:hover{color:var(--deep)}
.dek{color:var(--soft);max-width:54ch}

/* -------------------------------------------------------------- controls */
.btn{display:inline-block;font-family:var(--sans);font-size:.8rem;font-weight:700;
  letter-spacing:.09em;text-transform:uppercase;text-decoration:none;padding:.9rem 1.6rem;
  border:1px solid var(--deep);background:var(--deep);color:var(--bg);border-radius:2px;
  transition:opacity .15s}
.btn:hover{opacity:.86;color:var(--bg)}
.btn.ghost{background:transparent;color:var(--deep);border-color:var(--rule)}
.btn.ghost:hover{border-color:var(--deep);color:var(--deep)}
.btns{display:flex;flex-wrap:wrap;gap:.75rem;margin:1.75rem 0 0}

/* ----------------------------------------------------------------- cards */
.grid{display:grid;gap:1.15rem}
.grid.two{grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr))}
.grid.three{grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr))}
.card{background:var(--bg);border:1px solid var(--rule);border-radius:2px;padding:1.4rem 1.45rem}
.card.flat{background:transparent}
.card h3{margin-top:0}
.card p:last-child{margin-bottom:0}
.card .k{font-family:var(--sans);font-size:.68rem;font-weight:700;letter-spacing:.13em;
  text-transform:uppercase;color:var(--accent);display:block;margin-bottom:.5rem}

/* ----------------------------------------------------------- price cards */
.price{border:1px solid var(--rule);border-radius:2px;padding:1.6rem 1.5rem;
  background:var(--bg);display:flex;flex-direction:column}
.price.feature{border-color:var(--deep);border-width:2px}
.price .tag{align-self:flex-start;margin-bottom:.2rem}
.price.feature .tag{background:var(--deep);color:var(--bg);border-color:var(--deep)}
.price .amt{font-family:var(--serif);font-size:2.4rem;font-weight:600;color:var(--deep);
  line-height:1;margin:.3rem 0 .15rem}
.price .amt small{font-family:var(--sans);font-size:.8rem;font-weight:500;color:var(--soft)}
.price ul{list-style:none;padding:0;margin:1rem 0 1.4rem;flex:1}
.price li{position:relative;padding-left:1.3rem;margin-bottom:.5rem;font-size:.9rem}
.price li::before{content:"";position:absolute;left:0;top:.55em;width:6px;height:6px;
  border-radius:50%;background:var(--mid)}

/* ---------------------------------------------------------------- tables */
.tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:1.5rem 0 1.75rem;
  border:1px solid var(--rule);border-radius:2px}
table{border-collapse:collapse;width:100%;min-width:430px;font-size:.88rem}
th,td{text-align:left;padding:.72rem .85rem;border-bottom:1px solid var(--rule);vertical-align:top}
thead th{background:var(--panel);color:var(--deep);font-weight:600;font-size:.74rem;
  letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
tbody tr:last-child td{border-bottom:none}
td:first-child{font-weight:600}

/* ----------------------------------------------------------- misc blocks */
pre{background:var(--code);border:1px solid var(--rule);border-left:3px solid var(--accent);
  border-radius:2px;padding:1rem 1.1rem;overflow-x:auto;-webkit-overflow-scrolling:touch;
  font-family:var(--mono);font-size:.82rem;line-height:1.62;margin:1.4rem 0;color:var(--ink)}
.callout{background:var(--panel);border-left:3px solid var(--mid);padding:1.15rem 1.3rem;
  margin:1.75rem 0;border-radius:0 2px 2px 0}
.callout p:last-child{margin-bottom:0}
.callout.warn{border-left-color:var(--accent);background:var(--accent-soft)}
ul.clean{list-style:none;padding:0;margin:1.2rem 0 1.6rem}
ul.clean li{position:relative;padding-left:1.35rem;margin-bottom:.62rem}
ul.clean li::before{content:"";position:absolute;left:0;top:.62em;width:6px;height:6px;
  border-radius:50%;background:var(--mid)}
ol.steps{list-style:none;counter-reset:s;padding:0;margin:1.5rem 0}
ol.steps li{counter-increment:s;position:relative;padding-left:2.6rem;margin-bottom:1.1rem}
ol.steps li::before{content:counter(s,decimal-leading-zero);position:absolute;left:0;top:.05em;
  font-family:var(--sans);font-size:.72rem;font-weight:700;letter-spacing:.1em;color:var(--accent)}
.tag{display:inline-block;font-size:.66rem;font-weight:700;letter-spacing:.1em;
  text-transform:uppercase;padding:.2rem .5rem;border-radius:2px;
  background:var(--panel);color:var(--mid);border:1px solid var(--rule);white-space:nowrap}
.limits{border-top:2px solid var(--deep);margin-top:3.25rem;padding-top:.5rem}
.limits h3{font-family:var(--serif);font-size:1.18rem;font-weight:600;color:var(--deep);
  margin:1.6rem 0 .35rem}

/* ---------------------------------------------------------------- footer */
footer.site{border-top:1px solid var(--rule);padding:2.5rem 0;margin-top:1rem;
  font-size:.86rem;color:var(--soft)}
footer.site .cols{display:grid;gap:1.75rem;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr))}
footer.site h4{font-size:.68rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase;
  color:var(--deep);margin:0 0 .65rem}
footer.site ul{list-style:none;padding:0;margin:0}
footer.site li{margin-bottom:.4rem}
footer.site a{color:var(--soft);text-decoration:none}
footer.site a:hover{color:var(--deep);text-decoration:underline}
footer.site .fine{margin-top:2rem;padding-top:1.25rem;border-top:1px solid var(--rule);
  font-size:.78rem;overflow-wrap:anywhere}

@media (max-width:400px){
  body{font-size:16px}
  .btn{width:100%;text-align:center}
}

/* ==========================================================================
   Visual system — composition, texture, graphics
   ========================================================================== */

/* ------------------------------------------------------- hero composition */
.hero{position:relative;overflow:hidden;padding-top:clamp(2.5rem,6vw,4rem);
  padding-bottom:clamp(2.5rem,6vw,4rem)}
.hero::before{content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(56rem 34rem at 78% -8%, color-mix(in srgb,var(--mid) 13%,transparent), transparent 62%),
    radial-gradient(40rem 28rem at -6% 12%, color-mix(in srgb,var(--accent) 9%,transparent), transparent 60%)}
.hero > .wrap{position:relative}
.hero-grid{display:grid;gap:clamp(2rem,5vw,3.5rem);align-items:center;
  grid-template-columns:1fr}
@media(min-width:900px){.hero-grid{grid-template-columns:1.05fr .95fr}}

/* hairline grid texture for panels */
.panel.grid-tex{position:relative}
.panel.grid-tex::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;
  background-image:linear-gradient(var(--rule) 1px,transparent 1px),
                   linear-gradient(90deg,var(--rule) 1px,transparent 1px);
  background-size:clamp(2.5rem,6vw,4rem) clamp(2.5rem,6vw,4rem);
  -webkit-mask-image:radial-gradient(70% 60% at 50% 40%,#000,transparent);
  mask-image:radial-gradient(70% 60% at 50% 40%,#000,transparent)}
.panel.grid-tex > .wrap{position:relative}

/* ------------------------------------------------------------- kit stack */
.stack{position:relative;perspective:1400px}
.sheet{background:var(--bg);border:1px solid var(--rule);border-radius:3px;
  box-shadow:0 18px 44px -26px rgba(10,30,45,.55);padding:1.1rem 1.15rem}
.sheet + .sheet{margin-top:-.4rem}
.stack .sheet:nth-child(1){transform:rotate(-1.1deg) translateX(-.35rem);z-index:1}
.stack .sheet:nth-child(2){transform:rotate(.7deg);z-index:2;position:relative}
.stack .sheet:nth-child(3){transform:rotate(-.4deg) translateX(.4rem);z-index:3;position:relative}
.sheet .fname{font-family:var(--mono);font-size:.68rem;color:var(--soft);
  letter-spacing:.02em;display:block;margin-bottom:.45rem}
.sheet .line{height:7px;border-radius:2px;background:var(--rule);margin-bottom:.42rem}
.sheet .line.s{width:62%}.sheet .line.m{width:84%}.sheet .line.xs{width:38%}
.sheet .line.head{height:11px;width:72%;background:color-mix(in srgb,var(--deep) 45%,transparent);
  margin-bottom:.7rem}
.sheet .chips{display:flex;gap:.3rem;flex-wrap:wrap;margin-top:.7rem}

/* ------------------------------------------------------------ level chip */
.chip{display:inline-flex;align-items:center;gap:.32rem;font-size:.6rem;font-weight:700;
  letter-spacing:.09em;text-transform:uppercase;padding:.2rem .45rem;border-radius:2px;
  border:1px solid var(--rule);background:var(--panel);color:var(--soft);white-space:nowrap}
.chip::before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}
.chip.l1{color:var(--ok);border-color:color-mix(in srgb,var(--ok) 35%,var(--rule))}
.chip.l2{color:var(--mid);border-color:color-mix(in srgb,var(--mid) 35%,var(--rule))}
.chip.l3{color:var(--accent);border-color:color-mix(in srgb,var(--accent) 38%,var(--rule))}
.chip.l4{color:var(--soft)}

/* -------------------------------------------------------- terminal chrome */
.term{border:1px solid var(--rule);border-radius:4px;overflow:hidden;margin:1.6rem 0;
  box-shadow:0 20px 48px -30px rgba(10,30,45,.6);background:var(--code)}
.term-bar{display:flex;align-items:center;gap:.4rem;padding:.55rem .8rem;
  background:var(--panel);border-bottom:1px solid var(--rule)}
.term-bar i{width:9px;height:9px;border-radius:50%;background:var(--rule);display:block}
.term-bar span{font-family:var(--mono);font-size:.68rem;color:var(--soft);margin-left:.5rem}
.term pre{margin:0;border:0;border-left:0;border-radius:0;box-shadow:none;background:transparent}
.term .fail{color:#b4523f}
.term .pass{color:var(--ok)}
:root:not([data-theme="light"]) .term .fail{color:#e08a72}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .term .fail{color:#e08a72}}

/* ------------------------------------------------------------ icon cards */
.icard{display:flex;gap:.9rem;align-items:flex-start;padding:1.05rem 1.1rem;
  border:1px solid var(--rule);border-radius:2px;background:var(--bg)}
.icard svg{flex:0 0 auto;width:22px;height:22px;stroke:var(--mid);fill:none;
  stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;margin-top:.15rem}
.icard h4{margin:0 0 .25rem;font-size:.92rem;font-weight:600;color:var(--ink)}
.icard p{margin:0;font-size:.85rem;color:var(--soft);line-height:1.55}

/* ------------------------------------------------------------ photo slots */
.photo{position:relative;border-radius:3px;overflow:hidden;background:var(--panel);
  border:1px solid var(--rule);aspect-ratio:4/3}
.photo img{width:100%;height:100%;object-fit:cover;display:block}
.photo.portrait{aspect-ratio:3/4}
.photo.wide{aspect-ratio:16/9}
.photo:empty::after,.photo .ph{position:absolute;inset:0;display:flex;align-items:center;
  justify-content:center;text-align:center;padding:1.25rem;font-family:var(--mono);
  font-size:.68rem;line-height:1.6;color:var(--soft);
  background:repeating-linear-gradient(45deg,transparent,transparent 9px,
    color-mix(in srgb,var(--rule) 45%,transparent) 9px,color-mix(in srgb,var(--rule) 45%,transparent) 10px)}
.photo .ph{white-space:pre-line}

/* --------------------------------------------------------------- figures */
figure.fig{margin:1.9rem 0;border:1px solid var(--rule);border-radius:3px;overflow:hidden;
  background:var(--bg)}
figure.fig svg{display:block;width:100%;height:auto}
figure.fig figcaption{padding:.7rem .95rem;border-top:1px solid var(--rule);
  font-size:.78rem;color:var(--soft);background:var(--panel)}

/* --------------------------------------------------------------- accents */
.stat{display:grid;gap:.15rem}
.stat .n{font-family:var(--serif);font-size:clamp(2rem,5vw,2.8rem);font-weight:600;
  color:var(--deep);line-height:1}
.stat .l{font-size:.76rem;color:var(--soft);letter-spacing:.04em}
.rule-accent{width:3rem;height:2px;background:var(--accent);margin:0 0 1.25rem;border:0}

/* -------------------------------------------- Paid Memberships Pro
   Login, account, billing, orders, levels, checkout. PMPro 3.x reads its
   colours from these variables; the direct rules below win over any colour
   set in PMPro's design settings or in the Elementor widget on the page. */
:root{
  --pmpro--color--base:var(--panel);
  --pmpro--color--base-2:var(--bg);
  --pmpro--color--contrast:var(--ink);
  --pmpro--color--accent:var(--mid);
  --pmpro--color--accent--variation:var(--deep);
  --pmpro--color--border--variation:var(--rule);
}
body .pmpro .pmpro_card,
body .pmpro_card{
  background:var(--panel) !important;color:var(--ink) !important;
  border:1px solid var(--rule) !important;border-radius:6px !important;
  box-shadow:none !important;max-width:var(--read);margin-left:auto;margin-right:auto}
body .pmpro_card_title,
body .pmpro_card h2,
body .pmpro_card h3{font-family:var(--serif) !important;font-weight:600 !important;
  color:var(--ink) !important;letter-spacing:0}
body .pmpro_card_title span,
body .pmpro_user_display_name{color:var(--mid) !important}
body .pmpro_card a{color:var(--mid) !important;text-decoration:none}
body .pmpro_card a:hover{color:var(--deep) !important;text-decoration:underline}
body .pmpro_card_actions{background:transparent !important;
  border-top:1px solid var(--rule) !important}
body .pmpro_list-links li,
body .pmpro_card ul li{border-color:var(--rule) !important}
body .pmpro input[type=text],
body .pmpro input[type=email],
body .pmpro input[type=password],
body .pmpro select,
body .pmpro_form_input{background:var(--bg) !important;color:var(--ink) !important;
  border:1px solid var(--rule) !important;border-radius:4px !important;font-family:var(--sans)}
body .pmpro input[type=submit],
body .pmpro button[type=submit],
body .pmpro_btn,
body .pmpro_btn-submit{background:var(--deep) !important;color:var(--bg) !important;
  border:0 !important;border-radius:4px !important;font-family:var(--sans);
  font-weight:700;letter-spacing:.04em}
body .pmpro input[type=submit]:hover,
body .pmpro_btn:hover{background:var(--mid) !important}

/* photo slot empty (image not uploaded yet): let the text take the full row */
.hero-grid > :only-child{grid-column:1/-1;max-width:var(--read)}

/* ------------------------------------------------------ buy buttons */
.btn.soon{opacity:.55;pointer-events:auto}
.btn.soon:hover{opacity:.7}

/* ------------------------------------------------------ WooCommerce
   Cart, checkout, my-account, downloads. Restyles Woo's own markup (and the
   Elementor Woo widgets that wrap it) with the design tokens - no template
   overrides, so Woo updates can't break it. */
.woocommerce,.woocommerce-page .elementor-widget-woocommerce-cart,
.woocommerce-page .elementor-widget-woocommerce-checkout-page{color:var(--ink);font-family:var(--sans)}
.woocommerce h2,.woocommerce h3,.woocommerce-page h1{font-family:var(--serif) !important;color:var(--ink) !important;font-weight:600}
.woocommerce a{color:var(--mid)}
.woocommerce a:hover{color:var(--deep)}

/* tables */
.woocommerce table.shop_table,.woocommerce-page table.shop_table{
  border:1px solid var(--rule) !important;border-radius:4px !important;border-collapse:separate !important;
  background:var(--panel) !important;color:var(--ink) !important}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{
  border-color:var(--rule) !important;color:var(--ink) !important;background:transparent !important;padding:.85rem 1rem !important}
.woocommerce table.shop_table th{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--soft) !important}
.woocommerce table.shop_table img{width:56px !important;height:auto;border-radius:2px}
.woocommerce a.remove{color:var(--soft) !important;border:1px solid var(--rule)}
.woocommerce a.remove:hover{background:var(--accent) !important;color:var(--bg) !important}

/* totals + review panels */
.woocommerce .cart_totals,.woocommerce-checkout-review-order,
.woocommerce .woocommerce-order-details,.woocommerce .woocommerce-customer-details{
  background:var(--panel) !important;border:1px solid var(--rule) !important;border-radius:4px;padding:1.25rem !important;color:var(--ink) !important}
.woocommerce .recurring-totals th,.woocommerce .recurring-total td{color:var(--soft) !important}

/* forms */
.woocommerce form .form-row label{color:var(--soft);font-size:.85rem;font-weight:600}
.woocommerce form .input-text,.woocommerce form select,.woocommerce form textarea,
.woocommerce .select2-container .select2-selection,.woocommerce #coupon_code{
  background:var(--bg) !important;color:var(--ink) !important;border:1px solid var(--rule) !important;
  border-radius:3px !important;padding:.7rem .8rem !important;font-family:var(--sans);min-height:2.8rem}
.woocommerce .select2-container .select2-selection__rendered{color:var(--ink) !important;line-height:1.4 !important}
.woocommerce form .input-text:focus,.woocommerce form select:focus{outline:2px solid var(--mid);outline-offset:1px}
#payment,.woocommerce-checkout #payment{background:var(--panel) !important;border:1px solid var(--rule);border-radius:4px}
#payment ul.payment_methods{border-color:var(--rule) !important}
#payment div.payment_box{background:var(--bg) !important;color:var(--ink) !important}
#payment div.payment_box::before{border-bottom-color:var(--bg) !important}

/* buttons */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,
.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,
.woocommerce .checkout-button,.woocommerce #place_order,
.elementor-widget-woocommerce-cart .button,.elementor-widget-woocommerce-checkout-page .button{
  background:var(--deep) !important;color:var(--bg) !important;border:1px solid var(--deep) !important;
  border-radius:2px !important;font-family:var(--sans) !important;font-size:.8rem !important;font-weight:700 !important;
  letter-spacing:.09em !important;text-transform:uppercase !important;padding:.9rem 1.6rem !important;box-shadow:none !important}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce #place_order:hover,
.woocommerce .checkout-button:hover{opacity:.86;background:var(--deep) !important;color:var(--bg) !important}
.woocommerce button.button:disabled,.woocommerce button.button[disabled]{opacity:.5 !important}

/* notices */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-notice{
  background:var(--panel) !important;color:var(--ink) !important;border:1px solid var(--rule) !important;
  border-left:3px solid var(--mid) !important;border-radius:3px}
.woocommerce-error{border-left-color:var(--accent) !important}
.woocommerce-message::before,.woocommerce-info::before{color:var(--mid) !important}

/* my account */
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;border:1px solid var(--rule);border-radius:4px;background:var(--panel)}
.woocommerce-MyAccount-navigation li{border-bottom:1px solid var(--rule)}
.woocommerce-MyAccount-navigation li:last-child{border-bottom:0}
.woocommerce-MyAccount-navigation a{display:block;padding:.7rem 1rem;text-decoration:none}
.woocommerce-MyAccount-navigation .is-active a{color:var(--ink);font-weight:700}

/* ------------------------------------------------------ store pages */
.el-store .woocommerce-breadcrumb{font-size:.8rem;color:var(--soft);margin:0 0 1rem}
.el-store .woocommerce-breadcrumb a{color:var(--soft)}
.el-store .woocommerce-products-header__title,.el-store .product_title{font-family:var(--serif);font-weight:600;color:var(--ink)}
.el-store .woocommerce-result-count,.el-store .woocommerce-ordering{font-size:.8rem;color:var(--soft)}
.el-store ul.products{display:grid !important;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1.25rem;margin:1.5rem 0 0 !important;padding:0;list-style:none}
.el-store ul.products::before,.el-store ul.products::after{display:none !important}
.el-store ul.products li.product{width:auto !important;margin:0 !important;float:none !important;
  background:var(--panel);border:1px solid var(--rule);border-radius:4px;padding:1.25rem !important;display:flex;flex-direction:column}
.el-store ul.products li.product .woocommerce-loop-product__title{font-family:var(--serif);font-size:1.25rem !important;color:var(--ink);padding:0 !important;margin:0 0 .5rem}
.el-store ul.products li.product .price{color:var(--deep) !important;font-weight:700;margin-bottom:1rem !important}
.el-store ul.products li.product .button{margin-top:auto !important;text-align:center}
.el-store div.product .price{color:var(--deep) !important;font-size:1.4rem !important;font-weight:700}
.el-store div.product .woocommerce-product-details__short-description{color:var(--soft);max-width:var(--read)}
.el-store div.product .woocommerce-tabs ul.tabs li{background:var(--panel) !important;border-color:var(--rule) !important}
.el-store div.product .woocommerce-tabs ul.tabs li.active{background:var(--bg) !important}
.el-store div.product .woocommerce-tabs ul.tabs li a{color:var(--ink) !important}

/* theme buttons inside WooCommerce areas keep their own colors */
.woocommerce a.btn,.woocommerce a.btn:hover{color:var(--bg)}
.woocommerce a.btn.ghost,.woocommerce a.btn.ghost:hover{color:var(--deep)}

/* 1.8.x: small print under headings and tables */
p.note{font-size:.85rem;color:var(--soft);margin-top:.75rem}

/* 1.9.0: larger type site-wide, logo in the header, bigger nav and subheads */
html{font-size:112.5%}
body{font-size:19px}
@media (max-width:760px){ body{font-size:18px} }
.brand-logo{display:block;height:64px;width:auto;margin:-.5rem 0 -.5rem -.6rem;mix-blend-mode:multiply}
@media (max-width:760px){ .brand-logo{height:52px} }
.nav a.link{font-size:.98rem}
@media (max-width:760px){ .nav a.link{font-size:.92rem} }
h3{font-size:1.28rem}
.limits h3{font-size:1.4rem}
h2 .num{font-size:.85rem}
.price li{font-size:1rem}
table{font-size:.95rem}
.stat .l{font-size:.88rem}
.icard h4{font-size:1.05rem}
.meta{font-size:.9rem}

/* 1.9.2: the header is always white (also in dark mode) so the logo shows true color */
.nav{background:#ffffff !important;border-bottom:1px solid #d6dfe5}
.nav .brand-logo{mix-blend-mode:normal}
.nav a.link{color:#5a6b78}
.nav a.link:hover,.nav a.link[aria-current]{color:#15384f}
.nav a.link[aria-current]{border-bottom-color:#2c6e8f}

/* 1.10.0: logo 300px wide (the file has wide white margins, so the box crops them) */
.nav .brand-logo{width:300px;height:96px;object-fit:cover;object-position:center;margin:-.6rem 0 -.6rem -1rem}
@media (max-width:760px){ .nav .brand-logo{width:220px;height:72px} }

/* 1.10.1: one-line header - wider bar, tighter link spacing, no wrap on desktop */
@media (min-width:1101px){
  .nav .wrap{max-width:min(1440px,96vw);flex-wrap:nowrap;gap:1.6rem}
  .nav .links,.nav nav,.nav .menu{flex-wrap:nowrap}
  .nav a.link{font-size:.9rem}
}
@media (min-width:1101px) and (max-width:1300px){ .nav a.link{font-size:.82rem} .nav .wrap{gap:1.1rem} }
.nav a.link[href$="/library/"]{background:#15384f;color:#fff !important;padding:.5rem 1rem;border-radius:3px;border-bottom:0 !important}
.nav a.link[href$="/library/"]:hover{background:#2c6e8f}

/* 1.10.2: logo fits inside the header */
.nav .brand-logo{width:300px;height:76px;margin:0;object-fit:cover;object-position:center}
@media (max-width:760px){.nav .brand-logo{width:220px;height:56px}}
