/*
Theme Name: TagCoffee Native
Template: astra
Version: 1.0.0
Text Domain: twtc-native
*/
body:not(.home){color:#2c211b;background:#fbf7f0;font-family:system-ui,-apple-system,'Noto Sans TC','Microsoft JhengHei',sans-serif;line-height:1.8}
.twtc-header{position:relative;z-index:30;background:#fffdf8;border-bottom:1px solid #d8c7b2;padding:1.25rem clamp(1rem,4vw,4rem)}
.twtc-header-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;max-width:1280px;margin:auto;flex-wrap:wrap}
.twtc-brand{font-size:1.25rem;font-weight:750;letter-spacing:.02em;color:#3b2419;text-decoration:none}
.twtc-utility{display:flex;gap:1.25rem;align-items:center;flex-wrap:wrap;font-size:.95rem}
.twtc-header a,.twtc-header summary{color:#3b2419;text-underline-offset:.2em}
.twtc-knowledge summary{cursor:pointer;font-weight:650;list-style-position:inside}
.twtc-knowledge nav{position:absolute;top:100%;left:0;right:0;background:#fffdf8;border-bottom:1px solid #d8c7b2;padding:1.5rem clamp(1rem,4vw,4rem);box-shadow:0 1rem 2rem #3b241914}
.twtc-knowledge nav>ul{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));max-width:1280px;margin:auto;padding:0;gap:1.5rem;list-style:none}
.twtc-knowledge .sub-menu{padding:0;margin:.5rem 0 0;list-style:none;font-size:.9rem}
.twtc-knowledge li{margin:.4rem 0;overflow-wrap:anywhere}
.twtc-skip{position:absolute;left:1rem;top:-10rem;padding:.5rem 1rem;background:#fff;z-index:99999}.twtc-skip:focus{top:1rem}
.twtc-footer{padding:2.5rem 1.5rem;background:#2c211b;color:#fffdf8}.twtc-footer-inner{max-width:1120px;margin:auto;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}.twtc-footer a{color:#fffdf8;text-decoration:underline}
.twtc-native-theme .site-content>.ast-container{min-height:45vh;padding-top:2rem;padding-bottom:2rem}
body:not(.home) a:focus-visible,body:not(.home) summary:focus-visible{outline:3px solid #a9502b;outline-offset:4px}
body:not(.home) .entry-content{overflow-wrap:anywhere}body:not(.home) .entry-content table{max-width:100%}
@media(max-width:720px){.twtc-header-row{align-items:flex-start}.twtc-utility{gap:.75rem;font-size:.9rem}.twtc-knowledge nav>ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.twtc-knowledge nav{position:static;margin-top:1rem;padding:1rem 0;box-shadow:none}.twtc-knowledge{width:100%}}
@media(prefers-reduced-motion:reduce){body:not(.home){scroll-behavior:auto}}

/* Native archive and utility surfaces use a light background, independently of the old Elementor palette. */
body.twtc-native-theme:not(.home) :is(.entry-title,.entry-title a,.ast-archive-title,.page-title,.twtc-archive-intro h1,.woocommerce-products-header__title,.woocommerce-loop-product__title,.ast-read-more-container a){color:#3b2419!important}
body.twtc-native-theme:not(.home) .entry-meta,body.twtc-native-theme:not(.home) .entry-meta :is(a,span,time){color:#6f6157!important}
body.twtc-native-theme:not(.home):not(.single-post) .site-content>.ast-container{max-width:1200px;width:100%;margin-inline:auto;padding:2rem 1.25rem}
body.twtc-native-theme:not(.home) .ast-archive-description{background:transparent;padding:1.5rem 0;border-bottom:1px solid #d8c7b2}
body.twtc-native-theme:not(.home) .entry-title a:hover,body.twtc-native-theme:not(.home) .ast-read-more-container a:hover{color:#275447!important}

/* Preserve contrast for the existing WooCommerce catalog, notices and form controls. */
body.twtc-native-theme .woocommerce :is(.price,.price ins,.price del,.amount){color:#275447!important}
body.twtc-native-theme :is(.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce-page a.button,.woocommerce-page button.button,.return-to-shop .button){background:#5b3525!important;border-color:#5b3525!important;color:#fffdf8!important}
body.twtc-native-theme :is(.woocommerce a.button,.woocommerce button.button,.return-to-shop .button):hover{background:#3b2419!important}
body.twtc-native-theme :is(.woocommerce-info,.woocommerce-message){color:#2c211b;background:#f3eee6}
body.twtc-native-theme :is(.woocommerce-info,.woocommerce-message)::before{color:#275447}
body.twtc-native-theme .woocommerce :is(input.input-text,textarea,select){color:#2c211b;background:#fffdf8;border-color:#b7a692}

body.twtc-native-theme .price,body.twtc-native-theme .price *,body.twtc-native-theme .woocommerce-Price-amount{color:#275447!important}

/* Native utility pages no longer inherit white headings or links from the retired dark builder shell. */
body.twtc-native-theme:not(.home):not(.single-post) #primary :is(h2,h3,h4,h5,h6){color:#3b2419}
body.twtc-native-theme:not(.home):not(.single-post) .site-content a:not(.button):not([class*='button']):not([role='button']){color:#275447;text-underline-offset:.15em}

/* Preserve the observed pre-migration text contrast in the three retained Elementor article bodies. */
body.tc-article-experience .entry-content .elementor-heading-title,body.tc-article-experience .entry-content .elementor-heading-title span,body.tc-article-experience .entry-content .elementor-widget-container p{color:#2c211b!important}
