/*
Theme Name: TotalCoffee
Theme URI: https://totalcoffee.co.uk/
Author: Peach Pelican
Description: A responsive coffee-culture WordPress theme for TotalCoffee.co.uk.
Version: 1.5.3
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: totalcoffee
*/
:root{
 --tc-ink:#211710;--tc-coffee:#3a2418;--tc-roast:#6b4028;--tc-caramel:#c47a3a;
 --tc-orange:#ed6b24;--tc-cream:#f6f0e5;--tc-paper:#fffdf8;--tc-muted:#766b61;
 --tc-line:rgba(58,36,24,.17);--tc-width:1200px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--tc-paper);color:var(--tc-ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65}
a{color:inherit;text-decoration:none}
a:hover{color:var(--tc-orange)}
img{max-width:100%;height:auto;display:block}
.tc-wrap{width:min(var(--tc-width),calc(100% - 48px));margin-inline:auto}
.tc-topline{height:7px;background:linear-gradient(90deg,var(--tc-coffee),var(--tc-orange),var(--tc-caramel))}
.site-header{background:var(--tc-paper);border-bottom:1px solid var(--tc-line);position:relative;z-index:20}
.header-inner{min-height:94px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.tc-brand{display:flex;align-items:baseline;gap:0;white-space:nowrap;font-weight:950;font-size:clamp(30px,4vw,43px);letter-spacing:-2.7px;line-height:1}
.tc-brand .total{color:var(--tc-coffee)}
.tc-brand .coffee{color:var(--tc-orange)}
.tc-brand .uk{font-size:.42em;letter-spacing:-.5px;margin-left:4px;color:var(--tc-coffee)}
.tc-tagline{font-family:Georgia,serif;font-style:italic;color:var(--tc-muted);font-size:11px;letter-spacing:.5px;margin:7px 0 0}
.brand-stack{display:flex;flex-direction:column}
.main-nav ul{display:flex;align-items:center;gap:24px;list-style:none;margin:0;padding:0}
.main-nav a{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:1.1px}
.main-nav .menu-item:last-child a{background:var(--tc-coffee);color:#fff;padding:11px 16px}
.menu-toggle{display:none;background:transparent;border:1px solid var(--tc-coffee);padding:9px 13px;font-weight:800;color:var(--tc-coffee)}
.tc-hero{background:linear-gradient(90deg,rgba(24,15,10,.74),rgba(24,15,10,.42) 56%,transparent 100%),url("https://totalcoffee.co.uk/wp-content/uploads/2026/11/Roasted-coffee-beans-spilling-from-a-burlap-sack.png") 67% center/cover no-repeat,var(--tc-coffee);color:var(--tc-cream);position:relative;overflow:hidden;min-height:520px;display:flex;align-items:center}
@media(max-width:600px){.tc-hero{background-position:center,64% center;background-image:linear-gradient(90deg,rgba(24,15,10,.8),rgba(24,15,10,.5)),url("https://totalcoffee.co.uk/wp-content/uploads/2026/11/Roasted-coffee-beans-spilling-from-a-burlap-sack.png")}}

.hero-inner{position:relative;z-index:1;padding:84px 0}
.tc-kicker{font-size:11px;letter-spacing:2.5px;text-transform:uppercase;font-weight:900;color:var(--tc-orange);margin:0 0 18px}
.tc-hero h1{font-family:Georgia,serif;font-size:clamp(50px,8vw,98px);line-height:.94;letter-spacing:-4px;max-width:800px;margin:0 0 22px;font-weight:700}
.tc-hero h1 em{color:#f2a45f;font-weight:400}
.tc-hero-copy{max-width:620px;color:#e5d8c9;font-size:18px;margin:0 0 28px}
.tc-actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
.tc-button{display:inline-block;background:var(--tc-orange);color:#fff;padding:13px 19px;font-size:11px;font-weight:900;letter-spacing:1px;text-transform:uppercase}
.tc-button:hover{background:#d95717;color:#fff}
.tc-textlink{font-size:11px;text-transform:uppercase;font-weight:900;letter-spacing:1px;border-bottom:1px solid var(--tc-orange);padding-bottom:5px}
.tc-section{padding:76px 0}
.tc-section-head{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:30px}
.tc-section-head h2{font-family:Georgia,serif;font-size:clamp(32px,5vw,52px);line-height:1.02;letter-spacing:-1.5px;margin:0}
.tc-section-head p{max-width:470px;color:var(--tc-muted);margin:0}
.tc-intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}
.tc-lead{font-family:Georgia,serif;font-size:clamp(25px,3.4vw,39px);line-height:1.2;margin:0}
.tc-bodycopy{color:var(--tc-muted);margin:0}
.tc-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.tc-category{display:block;background:var(--tc-cream);padding:26px 26px 28px;min-height:174px;border-bottom:3px solid var(--tc-caramel);transition:background .2s}
.tc-category{cursor:default}.tc-category:hover{background:#f0e4d2}
.tc-category .number{font-size:10px;letter-spacing:2px;color:var(--tc-orange);font-weight:900}
.tc-category h3{font-family:Georgia,serif;font-size:24px;margin:12px 0 5px;line-height:1.1}
.tc-category p{font-size:13px;color:var(--tc-muted);margin:0}
.tc-orange-panel{background:var(--tc-orange);color:#fff;padding:58px 0}
.tc-orange-panel .tc-kicker{color:#452819}
.tc-orange-panel h2{font-family:Georgia,serif;font-size:clamp(34px,5.5vw,62px);line-height:1;margin:0 0 15px;max-width:800px}
.tc-orange-panel p{max-width:680px;color:#fff2e8;margin:0 0 25px}
.tc-orange-panel .tc-button{background:var(--tc-coffee)}
.tc-journal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.tc-post-card{background:var(--tc-cream);min-width:0}
.tc-post-card .thumb{aspect-ratio:16/10;background:#e6d7c4;overflow:hidden}
.tc-post-card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.tc-post-card:hover .thumb img{transform:scale(1.035)}
.tc-post-card .post-inner{padding:20px}
.tc-post-meta{font-size:10px;text-transform:uppercase;letter-spacing:1.3px;color:var(--tc-roast);font-weight:900}
.tc-post-card h3{font-family:Georgia,serif;font-size:23px;line-height:1.15;margin:10px 0}
.tc-post-card p{font-size:14px;color:var(--tc-muted);margin:0}
.tc-empty-thumb{height:100%;display:grid;place-items:center;color:var(--tc-roast);font-family:Georgia,serif;font-size:30px;font-style:italic}
.tc-journal-title{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.tc-journal-title span{font-size:11px;text-transform:uppercase;letter-spacing:1.4px;color:var(--tc-orange);font-weight:900}
.tc-band{background:var(--tc-cream);padding:55px 0}
.tc-band-inner{display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center}
.tc-band h2{font-family:Georgia,serif;font-size:clamp(30px,4vw,44px);line-height:1.05;margin:0 0 10px}
.tc-band p{margin:0;color:var(--tc-muted);max-width:700px}
.site-footer{background:#211710;color:var(--tc-cream);padding:48px 0 28px}
.footer-top{display:flex;justify-content:space-between;gap:30px;align-items:start;flex-wrap:wrap;padding-bottom:35px;border-bottom:1px solid rgba(255,255,255,.16)}
.footer-brand{font-size:32px;font-weight:950;letter-spacing:-2px;line-height:1}
.footer-brand .coffee{color:var(--tc-orange)}
.footer-brand .uk{font-size:13px}
.footer-chasing{font-family:Georgia,serif;font-style:italic;color:#d4bda7;font-size:13px;margin-top:9px}
.footer-links{display:flex;gap:22px;flex-wrap:wrap}
.footer-links a{font-size:10px;letter-spacing:1px;text-transform:uppercase;font-weight:900}
.footer-bottom{padding-top:22px;color:#bba998;font-size:11px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
.tc-page{padding:64px 0;min-height:52vh}
.tc-page h1,.entry-title{font-family:Georgia,serif;font-size:clamp(38px,6vw,66px);line-height:1.02;letter-spacing:-2px}
.tc-content{max-width:820px}
.tc-content a{color:var(--tc-orange);text-decoration:underline}
.tc-content h2,.tc-content h3{font-family:Georgia,serif;line-height:1.15}
.tc-content img{height:auto}
.tc-archive-head{background:var(--tc-cream);padding:50px 0}
.tc-archive-head h1{font-family:Georgia,serif;font-size:clamp(38px,6vw,64px);margin:0;line-height:1}
.tc-pagination{margin-top:35px}
.tc-pagination .page-numbers{display:inline-block;padding:8px 12px;background:var(--tc-cream);margin-right:5px}
.tc-pagination .current{background:var(--tc-coffee);color:#fff}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.woocommerce ul.products li.product,.woocommerce div.product,.woocommerce .woocommerce-info{color:var(--tc-ink)}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{background:var(--tc-coffee);color:#fff;border-radius:0}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:var(--tc-orange);color:#fff}
.woocommerce span.onsale{background:var(--tc-orange)}
.woocommerce div.product .product_title{font-family:Georgia,serif}
@media(max-width:850px){
 .header-inner{min-height:80px}.menu-toggle{display:block}.main-nav{display:none;position:absolute;top:80px;left:0;right:0;padding:20px 24px;background:var(--tc-paper);border-bottom:1px solid var(--tc-line)}
 .main-nav.is-open{display:block}.main-nav ul{flex-direction:column;align-items:stretch;gap:16px}
 .tc-hero{min-height:470px}.tc-intro-grid{grid-template-columns:1fr;gap:22px}.tc-categories{grid-template-columns:repeat(2,1fr)}
 .tc-journal-grid{grid-template-columns:repeat(2,1fr)}.tc-band-inner{grid-template-columns:1fr}
}
@media(max-width:540px){
 .tc-wrap{width:calc(100% - 32px)}.tc-brand{font-size:31px;letter-spacing:-2px}
 .tc-hero h1{font-size:clamp(36px,12vw,54px);letter-spacing:-2px}.hero-inner{padding:65px 0}.tc-hero-copy{font-size:16px}
 .tc-section{padding:55px 0}.tc-section-head{display:block}.tc-section-head p{margin-top:12px}
 .tc-categories,.tc-journal-grid{grid-template-columns:1fr}.tc-category{min-height:0}
 .footer-top{flex-direction:column}.footer-links{gap:15px}
}

/* TotalCoffee 1.5: independent product display grid, intentionally not links. */
#idea .tc-product-grid { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:20px !important; width:100% !important; max-width:100% !important; align-items:stretch !important; margin:0 !important; padding:0 !important; }
#idea .tc-product-box { display:flex !important; flex-direction:column !important; align-items:flex-start !important; justify-content:flex-start !important; position:static !important; float:none !important; width:auto !important; min-width:0 !important; max-width:none !important; min-height:190px !important; margin:0 !important; padding:26px 25px !important; border:0 !important; border-bottom:4px solid var(--tc-caramel) !important; border-radius:0 !important; background:var(--tc-cream) !important; box-shadow:none !important; text-align:left !important; cursor:default !important; }
#idea .tc-product-box::before,#idea .tc-product-box::after {content:none !important;display:none !important}
#idea .tc-product-number {display:block;font-size:10px;font-weight:900;letter-spacing:2px;color:var(--tc-orange);line-height:1.5}
#idea .tc-product-box h3 {font-family:Georgia,serif;font-size:25px;line-height:1.15;margin:13px 0 9px;color:var(--tc-ink)}
#idea .tc-product-box p {font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.6;color:var(--tc-muted);margin:0}
@media(max-width:850px){#idea .tc-product-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}}
@media(max-width:560px){#idea .tc-product-grid{grid-template-columns:1fr !important}#idea .tc-product-box{min-height:0 !important}}

.tc-journal-more{text-align:center;margin-top:32px}
.tc-article-back{margin-top:32px}
.tc-archive-head p:last-child{max-width:680px}
