/* Shared accessibility, content, and native commerce presentation. */
body.catmodz-theme { color: #ddd; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.5; }
:where(.catmodz-theme img, .catmodz-theme video) { max-width: 100%; height: auto; }
.catmodz-theme :where(button, input, select, textarea) { font: inherit; }
.catmodz-theme :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid #ff8791 !important; outline-offset: 3px !important; }
.catmodz-theme .catmodz-search-box input[type="search"]:focus-visible { outline: none !important; }
.catmodz-theme .catmodz-search-box:focus-within { border-color: #888; box-shadow: 0 0 0 1px #888; }
.catmodz-theme :where(a, button, input, select, textarea, summary, [tabindex]) { scroll-margin-top: 100px; }
.catmodz-theme .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.catmodz-theme .skip-link:focus { position: fixed; inset: 10px auto auto 16px; z-index: 1000000; width: auto; height: auto; margin: 0; padding: 12px 18px; clip: auto; clip-path: none; color: #fff; background: #8e1021; border-radius: 6px; }
.catmodz-theme .catmodz-site-search { display: flex; gap: 8px; max-width: 540px; }
.catmodz-site-search input { min-width: 0; width: 100%; padding: 12px 14px; color: #eee; border: 1px solid #666; border-radius: 7px; background: #101010; }
.catmodz-site-search button { min-height: 44px; padding: 10px 18px; color: #fff; background: #292929; border: 1px solid #666; border-radius: 7px; cursor: pointer; }
.catmodz-content-shell { width: min(900px, calc(100% - 40px)); margin-inline: auto; padding: 145px 0 70px; overflow-wrap: anywhere; }
.catmodz-content-shell h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.2; color: #f1f1f1; }
.catmodz-content-shell a, .catmodz-entry-content a { color: #ff8791; text-underline-offset: 4px; }
.catmodz-entry-content { line-height: 1.8; }
.catmodz-entry-content :where(pre, table) { max-width: 100%; overflow: auto; }
.catmodz-entry-content .alignwide { max-width: 1240px; }
.catmodz-entry-content .alignfull { width: calc(100vw - 40px); max-width: none; margin-inline: calc((100% - 100vw + 40px) / 2); }
.catmodz-entry-content blockquote { margin-inline: 0; padding-inline-start: 24px; border-inline-start: 3px solid #ff2335; }
.catmodz-post-card { padding: 28px 0; border-bottom: 1px solid #292929; }
.catmodz-post-card h2 { margin-top: 0; }
.catmodz-pagination { margin-top: 32px; }
.catmodz-theme .catmodz-product-card-body > h2 { margin: 0; color: #fff; }
.catmodz-theme .catmodz-product-card-body > h2 a { color: #fff; text-decoration: none; font-size: 22px; font-weight: 750; }
.catmodz-theme .catmodz-topbar .catmodz-tab-label { text-transform: uppercase; }
.catmodz-theme .catmodz-tab-menu > .catmodz-dropdown { visibility: hidden; opacity: 0; pointer-events: none; }
.catmodz-theme .catmodz-tab-menu.is-open > .catmodz-dropdown,
.catmodz-theme .catmodz-tab-menu:hover:not(.is-dismissed) > .catmodz-dropdown { visibility: visible; opacity: 1; pointer-events: auto; }
.catmodz-theme .catmodz-tab-menu.is-dismissed .catmodz-chevron { transform: none; }
@media (prefers-reduced-motion: no-preference) {
 .catmodz-theme .catmodz-tab-menu > .catmodz-dropdown { transition: opacity 140ms ease, transform 140ms ease, height 220ms ease, visibility 0s linear 140ms; }
 .catmodz-theme .catmodz-tab-menu.is-open > .catmodz-dropdown,
 .catmodz-theme .catmodz-tab-menu:hover:not(.is-dismissed) > .catmodz-dropdown { transition-delay: 0s; }
}
.catmodz-theme .catmodz-search-dropdown[aria-hidden="true"], .catmodz-theme .catmodz-account-dropdown[aria-hidden="true"] { visibility: hidden; pointer-events: none; }
.catmodz-theme .catmodz-search-dropdown[aria-hidden="false"] { visibility: visible; }
.catmodz-theme .catmodz-account-menu:hover:not(.is-dismissed) .catmodz-account-dropdown { visibility: visible; opacity: 1; pointer-events: auto; }
.catmodz-wp-menu { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: 22px; }
.catmodz-wp-menu li { position: relative; }
.catmodz-wp-menu a { color: #ccc; text-decoration: none; display: block; padding: 8px 0; }
.catmodz-wp-menu .sub-menu { display: none; position: absolute; min-width: 180px; list-style: none; margin: 0; padding: 12px 18px; background: #101010; border: 1px solid #444; border-radius: 8px; }
.catmodz-wp-menu li:hover > .sub-menu, .catmodz-wp-menu li:focus-within > .sub-menu { display: block; }
.catmodz-theme .catmodz-mobile-menu .catmodz-wp-menu, .catmodz-theme .catmodz-footer-links .catmodz-wp-menu { display: block; }
.catmodz-mobile-menu .catmodz-wp-menu .sub-menu, .catmodz-footer-links .catmodz-wp-menu .sub-menu { display: block; position: static; border: 0; padding-block: 0; }
.catmodz-theme .catmodz-auth-card > h2 { margin: 0 0 28px; font-size: 28px; color: #eee; }
html:has(body.catmodz-theme.woocommerce-account:not(.logged-in)), body.catmodz-theme.woocommerce-account:not(.logged-in) { overflow: auto; height: auto; min-height: 100dvh; }
.catmodz-theme .catmodz-checkout-page .woocommerce-shipping-fields > h3, .catmodz-theme .catmodz-checkout-page .woocommerce-additional-fields > h3, .catmodz-theme .catmodz-thankyou-details .woocommerce-customer-details { display: block; }
.catmodz-theme .catmodz-checkout-page #customer_details .form-row > label { position: static; display: block; max-width: none; color: #ccc; font-size: 13px; line-height: 1.5; white-space: normal; overflow: visible; pointer-events: auto; margin-bottom: 6px; }
.catmodz-theme .catmodz-checkout-page #customer_details :where(input.input-text, textarea, select) { padding: 12px 14px; }
.catmodz-theme .catmodz-checkout-page #customer_details .col2-set { display: grid; grid-template-columns: minmax(0,1fr); gap: 22px; }
.catmodz-theme .catmodz-checkout-page #customer_details :where(.col-1,.col-2) { float: none; width: 100%; }
.catmodz-theme .catmodz-checkout-page #customer_details .form-row > label.checkbox { display: inline-flex; align-items: center; gap: 8px; }
.catmodz-theme .catmodz-single-breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.catmodz-block-commerce { width: min(1240px, calc(100% - 40px)); margin-inline: auto; padding-top: 0; }
.catmodz-block-commerce > h1 { color: #f5f5f5; font-size: clamp(28px, 4vw, 40px); }
.catmodz-theme .catmodz-standard-pay-tile { color: #ddd; text-align: center; font-size: 11px; }
.catmodz-theme .catmodz-catalog-breadcrumb > span, .catmodz-theme .catmodz-single-breadcrumb > span { display: inline; }
.catmodz-theme .catmodz-catalog-breadcrumb, .catmodz-theme .catmodz-single-breadcrumb { display: block; }
.catmodz-theme .catmodz-catalog-breadcrumb a, .catmodz-theme .catmodz-single-breadcrumb a { margin-inline-end: 6px; }
.catmodz-theme :where(.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) { color: #ddd; --wc-form-color-background: #151515; --wc-form-color-text: #ededed; --wc-form-border-color: #666; }
.catmodz-theme .wp-block-button.is-style-catmodz-outline .wp-block-button__link { color: #ededed; background: transparent; border: 1px solid #777; }

.catmodz-theme .wc-block-components-text-input input,
.catmodz-theme .wc-block-components-form .wc-block-components-text-input input,
.catmodz-theme .wc-blocks-components-select .wc-blocks-components-select__select,
.catmodz-theme .wc-block-components-textarea { background: #181818; color: #f2f2f2; border-color: #666; border-radius: 8px; font-size: 16px; }
.catmodz-theme .wc-block-components-text-input label,
.catmodz-theme .wc-block-components-form .wc-block-components-text-input label,
.catmodz-theme .wc-blocks-components-select .wc-blocks-components-select__label { color: #bdbdbd; }
.catmodz-theme .wc-block-components-button:not(.is-link) { min-height: 44px; background: #b7192b; color: #fff; border: 1px solid #d83246; border-radius: 8px; }
.catmodz-theme .wc-block-components-product-name { color: #f0f0f0; text-decoration: underline; text-underline-offset: 3px; }
.catmodz-theme .wc-block-components-product-price { color: #eee; }
.catmodz-theme .wc-block-components-notice-banner { background: #211014; color: #f4c6ca; border-color: #a83a4a; }
.catmodz-theme .wc-block-components-totals-coupon__input input { color: #eee; }
@media (max-width: 782px) {
 .catmodz-theme .catmodz-content-shell { padding-top: 112px; }
 .catmodz-theme .catmodz-product-card-body > h2 a { font-size: 17px; }
 .catmodz-theme .catmodz-auth { height: auto; min-height: 100dvh; padding-block: 110px 40px; }
 .catmodz-theme :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { font-size: 16px; }
 .catmodz-theme .catmodz-footer-links a { display: block; padding-block: 5px; }
}
@media (max-width: 900px) {
 .catmodz-theme .catmodz-topbar { box-sizing: border-box; width: calc(100% - 24px); height: 56px; padding-inline: 10px; gap: 7px; }
 .catmodz-theme .catmodz-topbar .catmodz-logo { flex: 0 0 98px; width: 98px; }
 .catmodz-theme .catmodz-topbar .catmodz-brand-logo { width: 98px; height: auto; }
 .catmodz-theme .catmodz-topbar .catmodz-tabs { display: none; }
 .catmodz-theme .catmodz-topbar .catmodz-actions { margin-inline-start: 0; gap: 4px; }
 .catmodz-theme .catmodz-topbar .catmodz-action-box { width: 32px; min-width: 32px; height: 34px; padding: 0; }
 .catmodz-theme .catmodz-topbar .catmodz-action-label, .catmodz-theme .catmodz-topbar .catmodz-account-chevron { display: none; }
 .catmodz-theme .catmodz-topbar .catmodz-mobile-menu-toggle { display: flex; flex: 0 0 32px; width: 32px; height: 36px; }
 .catmodz-theme .catmodz-topbar .catmodz-search { flex: 0 0 32px; width: 32px; min-width: 0; margin-inline-start: auto; }
 .catmodz-theme .catmodz-topbar .catmodz-search-box { width: 100%; box-sizing: border-box; }
 .catmodz-theme .catmodz-topbar .catmodz-search input { width: 100%; opacity: 0; padding: 0; }
 .catmodz-theme .catmodz-topbar .catmodz-search:is(:focus-within, .is-open) { position: absolute; left: 8px; right: 8px; width: auto; margin-inline-start: 0; z-index: 200; }
 .catmodz-theme .catmodz-topbar:has(.catmodz-search:is(:focus-within, .is-open)) .catmodz-actions { visibility: hidden; pointer-events: none; }
 .catmodz-theme .catmodz-topbar .catmodz-search:focus-within input { opacity: 1; padding-inline-start: 32px; }
}
@media (prefers-reduced-motion: reduce) {
 .catmodz-theme, .catmodz-theme *, .catmodz-theme *::before, .catmodz-theme *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (forced-colors: active) {
 .catmodz-theme :where(a, button, input, select, textarea):focus-visible { outline-color: Highlight !important; }
}

.catmodz-order-native-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; }
body.woocommerce-order-pay #payment { background: transparent; }
@media (min-width: 901px) { .catmodz-theme .catmodz-dashboard-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
