/* 1099ERICH cart theme integration — scoped to the public WordPress site. */
/* The installed Twenty Twenty-Five block theme provides its own template-part chrome. */
body.erich-cart-branded .wp-site-blocks > header.wp-block-template-part,
body.erich-cart-branded .wp-site-blocks > footer.wp-block-template-part { display:none !important; }
body.erich-cart-branded .wp-site-blocks { margin-block-start:0 !important; padding-top:0 !important; }
body.erich-cart-branded .wp-site-blocks > main { margin-block-start:0 !important; }
body.erich-cart-store-page .wp-site-blocks .wp-block-post-title { display:none !important; }
body.erich-cart-store-page .wp-site-blocks > main { padding-block-start:10px !important; }
body.erich-cart-branded .wp-site-blocks .wp-block-post-content { margin-block-start:0 !important; }

.erich-cart-chrome,
.erich-cart-chrome * { box-sizing:border-box; }
.erich-cart-chrome { width:100%;max-width:none!important; margin:0!important; font-family:Arial,Helvetica,sans-serif; color:#112e4b; font-size:14px; line-height:1.45; }
.erich-cart-chrome a { text-decoration:none!important; }
.erich-cart-chrome__container { max-width:1220px; width:calc(100% - 44px);margin:0 auto; }
.erich-cart-chrome__utility { background:#112f50; color:#fff; min-height:32px; font-size:11px; font-weight:500; }
.erich-cart-chrome__utility-inner { display:flex;justify-content:space-between;align-items:center;gap:18px;min-height:32px; }
.erich-cart-chrome__utility a {color:#fff!important;font-weight:700;}
.erich-cart-chrome__utility a:hover {text-decoration:underline!important;}
.erich-cart-chrome__header {background:#fff;border-bottom:1px solid #e1e8eb;position:relative;z-index:55;}
.erich-cart-chrome__header-inner { display:flex;justify-content:space-between;align-items:center;gap:25px;min-height:70px; }
.erich-cart-chrome__logo { font-size:29px!important;font-weight:900!important;white-space:nowrap;letter-spacing:-1.5px!important;line-height:1!important; color:#123052!important; }
.erich-cart-chrome__logo span { color:#123052; }
.erich-cart-chrome__logo strong { color:#23864e; font-weight:900; }
.erich-cart-chrome__nav {display:flex;align-items:center;gap:22px;flex:1;justify-content:center;min-width:0;}
.erich-cart-chrome__nav > a,
.erich-cart-chrome__drop > summary {color:#132f49!important;font-size:13px!important;font-weight:800!important;white-space:nowrap;line-height:1.3;cursor:pointer;}
.erich-cart-chrome__nav a:hover,
.erich-cart-chrome__drop > summary:hover {color:#137448!important;}
.erich-cart-chrome__drop {position:relative;padding:0;margin:0;}
.erich-cart-chrome__drop > summary { list-style:none; display:flex;gap:5px;align-items:center;}
.erich-cart-chrome__drop > summary::-webkit-details-marker {display:none;}
.erich-cart-chrome__drop > summary span {font-size:14px;}
.erich-cart-chrome__panel { position:absolute;top:calc(100% + 19px);left:-18px;z-index:120;display:flex;flex-direction:column;min-width:215px;max-width:310px;background:#fff;border:1px solid #cfdfda;border-radius:12px;box-shadow:0 14px 34px rgba(12,36,56,.14);padding:9px; }
.erich-cart-chrome__panel:before {content:"";position:absolute;top:-21px;left:0;right:0;height:21px;}
.erich-cart-chrome__panel a {color:#14334d!important;font-size:13px!important;font-weight:650!important;padding:11px 13px;border-radius:7px;}
.erich-cart-chrome__panel a:hover,.erich-cart-chrome__panel a:focus-visible {background:#eaf6ef;color:#0d7547!important;}
.erich-cart-chrome__actions {display:flex;align-items:center;gap:9px;flex-shrink:0;}
.erich-cart-chrome__button {display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:9px 14px;border-radius:9px;color:#fff!important;background:#27864f;font-size:13px!important;font-weight:800!important;white-space:nowrap;}
.erich-cart-chrome__button--primary {background:#086c44;}
.erich-cart-chrome__button:hover {background:#0d5f3d;color:#fff!important;}
.erich-cart-chrome__cart {font-weight:800!important;color:#153753!important;font-size:12px!important;padding:6px 2px 6px 4px;white-space:nowrap;}
.erich-cart-chrome__cart:hover {color:#16854d!important;}
.erich-cart-chrome__mobile {display:none;}
.erich-cart-chrome__trust {background:#f1f8f5;border-bottom:1px solid #dbeae4;}
.erich-cart-chrome__trust-inner {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));min-height:53px;}
.erich-cart-chrome__trust-inner > div {text-align:center;padding:8px 10px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-width:0;}
.erich-cart-chrome__trust-inner > div+div {border-left:1px solid #d7e5e0;}
.erich-cart-chrome__trust strong {font-size:13px!important;color:#082e4e;font-weight:850!important;line-height:1.15;}
.erich-cart-chrome__trust span {font-size:11px;color:#315868;line-height:1.25;}

.erich-cart-chrome--footer { background:#0f2d49; color:#d6e7ef; padding:47px 0 20px; margin-top:42px!important; }
.erich-cart-chrome__footer-grid {display:grid;grid-template-columns:1.6fr repeat(3,minmax(0,1fr));gap:42px;}
.erich-cart-chrome--footer .erich-cart-chrome__logo {display:inline-block;font-size:29px!important; margin-bottom:15px;color:#fff!important;}
.erich-cart-chrome--footer .erich-cart-chrome__logo span { color:#fff; }
.erich-cart-chrome--footer .erich-cart-chrome__logo strong {color:#53bd7a;}
.erich-cart-chrome--footer p {color:#cfdfec;font-size:13px;line-height:1.65;max-width:345px;margin:0 0 16px;}
.erich-cart-chrome--footer h2 { color:#fff!important;font-size:15px!important;font-weight:850!important;line-height:1.4!important;margin:2px 0 15px!important;padding:0!important;}
.erich-cart-chrome__footer-grid > div:not(:first-child) {display:flex;flex-direction:column;gap:10px;}
.erich-cart-chrome--footer a {color:#d3e5f0!important;font-size:13px!important;line-height:1.3;}
.erich-cart-chrome--footer a:hover {color:#70dda3!important;text-decoration:underline!important;}
.erich-cart-chrome--footer .erich-cart-chrome__footer-contact {font-weight:700;}
.erich-cart-chrome--footer .erich-cart-chrome__disclaimer {margin:37px 0 20px;max-width:100%;padding-top:19px;border-top:1px solid rgba(255,255,255,.18);font-size:11px;line-height:1.7;color:#afc5d3;}
.erich-cart-chrome__bottom {border-top:1px solid rgba(255,255,255,.15);padding-top:16px;display:flex;justify-content:space-between;align-items:center;gap:16px;color:#c2d4e0;font-size:12px;}
.erich-cart-chrome__bottom > span:last-child {display:flex;gap:17px;flex-wrap:wrap;}
.erich-cart-chrome__bottom a {font-size:12px!important;}

/* Soft adjustments so checkout remains full width but looks less like the default blog. */
body.erich-cart-branded .woocommerce button.button.alt,
body.erich-cart-branded .woocommerce a.button.alt,
body.erich-cart-branded .wc-block-components-button:not(.is-link) {border-radius:8px;}

@media(max-width:1160px){
 .erich-cart-chrome__nav {gap:12px;}
 .erich-cart-chrome__header-inner {gap:17px;}
 .erich-cart-chrome__nav > a,.erich-cart-chrome__drop > summary {font-size:12px!important;}
 .erich-cart-chrome__logo {font-size:25px!important;}
 .erich-cart-chrome__button {padding:8px 10px;}
}
@media(max-width:940px){
 .erich-cart-chrome__nav {display:none;}
 .erich-cart-chrome__header-inner {min-height:66px;}
 .erich-cart-chrome__actions {margin-left:auto;}
 .erich-cart-chrome__mobile {display:block;position:relative;}
 .erich-cart-chrome__mobile > summary {list-style:none;cursor:pointer;border:1px solid #ccdcd8;padding:9px 11px;border-radius:8px;font-weight:800!important;font-size:13px!important;}
 .erich-cart-chrome__mobile > summary::-webkit-details-marker {display:none;}
 .erich-cart-chrome__mobile nav {position:absolute;top:calc(100% + 12px);right:0;min-width:225px;max-width:80vw;display:flex;flex-direction:column;background:#fff;padding:8px;border:1px solid #cadbd3;box-shadow:0 15px 30px rgba(0,20,40,.15);border-radius:12px;z-index:110;}
 .erich-cart-chrome__mobile nav a {color:#13314b!important;padding:9px 10px;font-weight:700!important;font-size:14px!important;}
 .erich-cart-chrome__mobile nav a:hover {color:#126a43!important;background:#edf7f1;}
 .erich-cart-chrome__footer-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:34px;}
}
@media(max-width:620px){
 .erich-cart-chrome__container {width:calc(100% - 28px);}
 .erich-cart-chrome__utility-inner {justify-content:center;flex-wrap:wrap;gap:1px 16px;padding:6px 0;}
 .erich-cart-chrome__utility-inner > span:first-child {display:none;}
 .erich-cart-chrome__header-inner {min-height:66px;gap:10px;}
 .erich-cart-chrome__logo {font-size:24px!important;}
 .erich-cart-chrome__actions {gap:7px;}
 .erich-cart-chrome__button {display:none;}
 .erich-cart-chrome__cart {font-size:12px!important;}
 .erich-cart-chrome__trust-inner {grid-template-columns:repeat(2,minmax(0,1fr));}
 .erich-cart-chrome__trust-inner > div {padding:8px 4px;}
 .erich-cart-chrome__trust-inner > div:nth-child(3) {border-left:0;}
 .erich-cart-chrome__trust-inner > div:nth-child(n+3) {border-top:1px solid #d7e5e0;}
 .erich-cart-chrome__trust strong {font-size:12px!important;}
 .erich-cart-chrome__trust span {font-size:10px;}
 .erich-cart-chrome__footer-grid {grid-template-columns:1fr 1fr;gap:27px 16px;}
 .erich-cart-chrome__footer-brand {grid-column:span 2;}
 .erich-cart-chrome__footer-grid > div:last-child {grid-column:span 2;}
 .erich-cart-chrome__bottom {flex-direction:column;align-items:flex-start;}
}
/* The product catalog already has its own small internal navigation bar; the matching site header replaces it. */
body.erich-cart-store-page .erich-store__top {display:none!important;}
