/* Customer experience layer; native Woo forms remain authoritative. */
/* Contact only: preserve native form semantics and the private capture contract. */
.cx-contact{display:grid;grid-template-columns:minmax(0, .8fr) minmax(0, 1fr);column-gap:20px;align-items:start}
.cx-contact>p:first-child{grid-column:1/-1;max-width:76ch;margin:0 0 28px}
.cx-contact>aside,.cx-contact>form{box-sizing:border-box;min-width:0;background:#fff;border:1px solid #e8e0d3;padding:36px;box-shadow:0 12px 28px #142b3a0a}
.cx-contact>aside{grid-column:1;grid-row:2/4}
.cx-contact>aside h2{margin-top:0}
.cx-contact>aside p{color:#172435}
.cx-contact>p:first-child,.cx-contact>aside .cx-private-note{color:#64717a}
.cx-contact>aside p:last-child{margin-bottom:0}
.cx-contact>form{grid-column:2;grid-row:3}
.cx-contact form>label{display:block;font-weight:600;margin:0 0 16px}
.cx-contact form>label[for="cx-topic"]{margin-bottom:8px}
.cx-contact form input:not([type="hidden"]),.cx-contact form select,.cx-contact form textarea{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:48px;margin:8px 0 0;padding:12px 16px;border:1px solid #ccd2dc;border-radius:14px;background:#fffefa;color:#253f6d;font:inherit;font-weight:400;line-height:1.5}
.cx-contact form>select{margin:0 0 16px}
.cx-contact form textarea{min-height:168px;resize:vertical}
.cx-contact form>button{display:block;width:100%;min-height:48px;margin-top:8px;border-radius:28px;text-transform:uppercase;letter-spacing:1px;font-size:12px}
.cx-contact [hidden]{display:none!important}
.cx-contact form :focus-visible{outline:3px solid #b58b50;outline-offset:3px}
.cx-contact>.cx-contact-status{grid-column:2;grid-row:2;min-width:0;margin:0 0 16px;padding:16px;border:1px solid #b58b50;border-left-width:4px;background:#fffefa;overflow-wrap:anywhere}
@media (max-width:767px){.cx-contact{display:block}
.cx-contact>aside,.cx-contact>form{padding:22px;margin-bottom:20px}
.cx-contact>.cx-contact-status{margin:0 0 20px}}
.cx-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6}
/* Navigation owns drawer presentation; entry consent keeps its separate dialog rules. */
.cx-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(92vw,430px);height:100dvh;max-width:none;max-height:100dvh;border:0;border-left:1px solid rgba(190,155,101,.34);border-radius:0;padding:18px 20px;background:#f0eee9;box-shadow:-24px 0 54px rgba(16,38,58,.22);overscroll-behavior:contain}
.cx-drawer::backdrop{background:rgba(16,32,48,.58);backdrop-filter:none}
.cx-drawer-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.cx-drawer-heading h2{margin:0;font-size:22px}
.cx-drawer-heading button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;padding:0;border:1px solid rgba(37,63,109,.2);border-radius:50%;background:transparent;color:#253f6d;font-size:28px;line-height:1}
#cx-menu{width:min(90vw,392px)}
#cx-menu-title{font-weight:900;letter-spacing:.14em;text-transform:uppercase}
#cx-menu nav{display:flex;flex-direction:column;border-top:1px solid rgba(37,63,109,.14)}
#cx-menu nav>a,#cx-menu nav>button{display:flex;align-items:center;min-height:58px;margin:0;padding:0;border:0;border-bottom:1px solid rgba(37,63,109,.14);border-radius:0;background:transparent;color:#253f6d;font:inherit;font-weight:900;letter-spacing:.14em;text-transform:uppercase;text-align:left;text-decoration:none}
#cx-menu nav>.cx-menu-account{border-bottom:0;width:44px;padding-left:12px}
#cx-search[open]{display:flex;flex-direction:column;overflow:hidden}
#cx-search .cx-drawer-heading{padding:16px 18px;background:#fffefa;margin:0;flex-shrink:0}
#cx-search .cx-drawer-heading h2{font-size:22px;font-weight:500}
#cx-search form{display:flex;flex-direction:column;flex:1;min-height:0;padding:32px 18px 12px;margin:0}
#cx-search input[type=search]{width:100%;flex-shrink:0;margin:0 0 24px;border:1px solid rgba(37,63,109,.18);border-radius:14px;background:#fff;padding:14px 16px}
#cx-search form button{width:100%;flex-shrink:0;margin-top:auto;border-radius:28px;text-transform:uppercase;letter-spacing:.1em;font-size:12px;font-weight:700;min-height:50px}
.cx-search-suggestions{padding:0 0 16px;border-bottom:1px solid #d8dce5;flex-shrink:0}
.cx-search-suggestions h3{font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:500;margin:0 0 12px}
.cx-search-suggestions a{font-size:14px;font-weight:700;text-underline-offset:4px;margin-right:10px}
.cx-search-results{overflow:auto;overscroll-behavior:contain;min-height:0;padding:28px 0 16px;color:#64717a}
.cx-search-results p{margin:16px 0}
.cx-search-matches{list-style:none;padding:0;margin:0}
.cx-search-matches a{display:block;padding:12px 0;border-bottom:1px solid #d8dce5;color:#253f6d}
/* Policy prose uses the reference reading measure, not the commerce grid width. */
main>.entry-content.cx-policy{width:100%;max-width:600px;margin:0 auto;padding:20px 30px 60px;color:#172435}
.woo-shell.cx-policy>h1{text-align:center;font-size:30px;line-height:1.2;margin:0 0 22px}
@media (max-width:620px){main>.entry-content.cx-policy{padding-inline:20px}}
/* Native cart coupon: leave Woo mobile row sizing and all form actions intact. */
@media (min-width:769px){.woocommerce-cart .woocommerce table.cart td.actions #coupon_code{width:180px}}
/* Search consumes native cards; bounded image/fallback and text stay within the drawer. */
.cx-search-matches .cx-search-result{display:grid;grid-template-columns:64px minmax(0,1fr);gap:16px;align-items:center;text-decoration:none;padding:12px 0}
.cx-search-result img,.cx-search-image-fallback{width:64px;height:72px;object-fit:contain;background:#f0eee9;border-radius:10px}
.cx-search-image-fallback{display:grid;place-items:center;font-size:10px;letter-spacing:.08em}
.cx-search-result strong,.cx-search-result small{display:block;overflow-wrap:anywhere}
.cx-search-result small{margin-top:6px}
/* Native signed-out forms retain credentials, recovery and registration behavior. */
.woocommerce-account .woocommerce form.login,.woocommerce-account .woocommerce form.register{padding:24px;border:1px solid rgba(190,155,101,.3);border-radius:24px;background:#fffefa;box-shadow:0 12px 30px rgba(47,93,126,.06)}
.woocommerce-account .woocommerce form .input-text{min-height:48px;padding:12px 16px;border:1px solid rgba(37,63,109,.22);border-radius:14px;background:#fff;color:#253f6d;font:inherit}
.woocommerce-account .woocommerce form button.button{min-height:48px;padding:16px 26px;border:1px solid #253f6d;border-radius:28px;background:#253f6d;color:#fff;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.woocommerce-account .woocommerce form label{color:#253f6d;font-weight:600}
.woocommerce-account .woocommerce form .lost_password a{text-underline-offset:4px}
@media (max-width:767px){}
dialog{color:#253f6d;background:#fffefa;border:1px solid #d8dce5;border-radius:24px;padding:24px;max-width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto}
dialog::backdrop{background:#123a55bb;backdrop-filter:blur(5px)}
dialog h2{font-size:30px;line-height:1.15;margin:12px 0}
#cx-entry label{display:flex;align-items:flex-start;gap:12px;border:1px solid #d1d5db;border-radius:18px;background:#f3f0e8;padding:16px;margin:12px 0}
#cx-entry input{margin-top:5px;flex-shrink:0}
/* Entry only: match the existing reference without changing other dialogs or consent. */
#cx-entry{width:620px;max-width:calc(100vw - 32px);padding:clamp(24px,4vw,38.4px);border-radius:30px;background:#fcfbf8;color:#172435;border-color:rgba(203,166,106,.55)}
#cx-entry::backdrop{background:rgba(47,93,126,.82);backdrop-filter:blur(4px)}
#cx-entry h2{font-size:clamp(32px,5vw,48px);font-weight:500;line-height:1.08;color:#2f5d7e;margin:4px 0 16px}
#cx-entry>p{color:#64717a}
#cx-entry button{display:inline-block;width:auto;min-height:48px;margin-top:0;margin-right:8px;border-radius:28px;text-transform:uppercase;font-size:12px;font-weight:700;letter-spacing:1px}
#cx-entry #cx-enter{background:#2f5d7e;border-color:#2f5d7e}
@media (max-width:620px){#cx-entry button{display:block;width:100%;margin:12px 0 0}}
button:disabled{opacity:.5;cursor:not-allowed}
#cx-decline{background:transparent;color:#9a692f;border-color:#c49b63}
#cx-entry-status:empty{display:none}
:focus-visible{outline:3px solid #b58b50;outline-offset:3px}
