/*
Theme Name: Three Feathers Classic
Description: Responsive WordPress version of the threefeatherstobacco.com NetObjects site: same banner, teal/purple buttons, sidebars and footer on desktop; one column with a tap menu on phones. Presentation only: content, menus and the shared areas (Site areas in the admin menu) are edited in WordPress; images are in the Media Library; page addresses and search-engine fields come from the "Three Feathers site" must-use plugin. Built 2026-11-20 for the /newsite staging copy.
Version: 1.3.2
Requires at least: 6.5
Requires PHP: 8.0
Update URI: false
Text Domain: threefeathers-classic
*/

/* ---------- base (desktop sizes follow the original 1100px NetObjects layout) ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: #000; font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 13.33px; line-height: 1.2; }
a { color: rgb(0,102,255); }
a:link { color: rgb(0,51,204); }
a:visited { color: rgb(0,102,255); }
a:hover { color: rgb(0,0,255); }
img { max-width: 100%; height: auto; border: 0; vertical-align: top; }
p { margin: 0 0 1.1em; }
.tf-serif { font-family: "Times New Roman", Times, serif; }
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }
.has-text-align-justify { text-align: justify; }
.has-s-10-font-size { font-size: 10px; }
.has-s-11-font-size { font-size: 11px; }
.has-s-12-font-size { font-size: 12px; }
.has-s-13-font-size { font-size: 13.33px; }
.has-s-15-font-size { font-size: 14.67px; }
.has-s-16-font-size { font-size: 16px; }
.has-s-18-font-size { font-size: 18.67px; }
.has-s-20-font-size { font-size: 21.33px; }
.has-s-24-font-size { font-size: 24px; }
.has-s-28-font-size { font-size: 29.33px; }
.has-s-32-font-size { font-size: 32px; }
.has-s-36-font-size { font-size: 36px; }
mark.has-inline-color { background: transparent; }
.wp-block-heading { margin: 0 0 .5em; font-weight: bold; line-height: 1.2; }
h2.wp-block-heading { font-size: 21.33px; }
h3.wp-block-heading { font-size: 18.67px; }
.screen-reader-text { position: absolute; left: -9999px; }

/* ---------- page grid: left sidebar | centre | right sidebar ---------- */
.tf-page { width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 166px 804px 130px;
	grid-template-areas: "left header right" "left nav right" "left main right" "left footer right"; grid-template-rows: auto auto 1fr auto; }
.tf-header { grid-area: header; position: relative; height: 59px; }
.tf-topnav { grid-area: nav; }
.tf-content { grid-area: main; padding: 4px 0 24px; min-width: 0; }
.tf-footer { grid-area: footer; padding-bottom: 16px; min-width: 0; }
.tf-left { grid-area: left; padding: 3px 0 0 3px; min-width: 0; }
.tf-right { grid-area: right; min-width: 0; }

/* header: badges, banner (H1), promo */
.tf-badges { position: absolute; left: 0; top: 2px; }
.tf-badges img { margin-right: 0; }
.tf-banner { position: absolute; left: 104px; top: 2px; width: 560px; height: 45px; box-sizing: border-box; margin: 0;
	background: #380072; border: 3px solid #006666; outline: 1px solid #33cccc; box-shadow: inset 0 0 0 1px #6500cd;
	color: #99ffff; font: bold 24px/39px Helvetica, Arial, sans-serif; text-align: center; white-space: nowrap; overflow: hidden; }
.tf-banner-mid { font-size: 19px; }
.tf-banner-long { font-size: 15px; }
.tf-promo { position: absolute; left: 668px; top: 3px; width: 100px; text-align: center; font-size: 11px; line-height: 1.2; }
.tf-promo a, .tf-promo img, .tf-promo strong { display: block; margin: 0 auto; }
.tf-promo strong { font-size: 10px; }
.tf-allsale { position: absolute; left: 0; top: 47px; margin: 0; font-size: 10px; }
/* Header area (synced pattern): flat blocks, same spacing as the old hand-written header */
.tf-header p, .tf-header .wp-block-image { margin: 0; }
.tf-header .wp-block-image img { vertical-align: top; }
.tf-badges .wp-block-image { display: inline-block; }
.tf-promo > .wp-block-image, .tf-promo > .wp-block-image > a { display: block; }

/* 1.2.0: header Call / Shop Online buttons (Header area pattern, list "tf-cta") under the banner */
.tf-header { height: 76px; }
.tf-header .tf-cta { position: absolute; left: 104px; top: 50px; width: 560px; display: flex; justify-content: center; gap: 6px; }
.tf-header .tf-cta a { width: auto; min-width: 128px; padding: 0 12px; text-align: center; }
/* 1.2.0: phones fold the sidebars behind a "Brands & more" button (theme footer.php); hidden on larger screens */
.tf-more-btn { display: none; }
/* 1.2.0: printable order form tables */
.tf-form td:first-child { width: 42%; }
.tf-form td { height: 22px; }
.tf-print-btn { text-align: center; }
.tf-print-btn button { font: bold 14px Helvetica, Arial, sans-serif; padding: 6px 16px; background: #006666; color: #b9ffff; border: 0; cursor: pointer; }

/* ---------- teal NetObjects-style buttons ---------- */
ul.tf-navbuttons { list-style: none; margin: 0; padding: 0; }
ul.tf-navbuttons li { margin: 0; padding: 0; }
ul.tf-navbuttons a, ul.tf-navbuttons .tf-nolink { display: block; box-sizing: border-box; width: 128px; height: 24px; padding: 0 0 0 9px;
	background: #006666; color: #b9ffff;
	/* 1.2.1: 4px bevel frame measured from the live button GIF (--38-Special_Np1.gif): light #00b7b7 / dark #003636 outer edge, #006a6a, inverse bevel, black inner line */
	box-shadow: inset 1px 1px 0 #00b7b7, inset -1px -1px 0 #003636, inset 0 0 0 2px #006a6a, inset 3px 3px 0 #003636, inset -3px -3px 0 #00b7b7, inset 0 0 0 4px #000; text-decoration: none;
	font: bold 11px/24px Helvetica, Arial, sans-serif; white-space: nowrap; overflow: hidden; }
ul.tf-navbuttons a:hover { background: #008282; color: #b9ffff; }
ul.tf-navbuttons li.is-current a { background: #380072; color: #e4caff; }
ul.tf-navrow { display: flex; flex-wrap: wrap; justify-content: center; }
.tf-topnav ul.tf-navrow { justify-content: flex-start; }
.tf-menu-btn { display: none; }
.tf-menu .tf-navmore { display: none; }

/* ---------- content blocks ---------- */
.wp-block-image { margin: 0 0 4px; }
.wp-block-image.aligncenter { text-align: center; margin-left: auto; margin-right: auto; }
.wp-block-group { box-sizing: border-box; }
.tf-grid { margin: 0 0 .6em; }
/* classic themes wrap group content in .wp-block-group__inner-container: that is the flex row */
.tf-grid > .wp-block-group__inner-container { display: flex; flex-wrap: wrap; justify-content: space-evenly; align-items: flex-start; }
.tf-card { flex: 0 0 auto; box-sizing: border-box; padding: 0 1px; }
.tf-card > p:last-child { margin-bottom: 0; }
.tf-card p { margin-bottom: 4px; }
.tf-card .wp-block-image { margin: 0 auto 2px; }
/* card widths and left gaps as % of the row (generated) */
.tf-w1{width:1%} .tf-w2{width:2%} .tf-w3{width:3%} .tf-w4{width:4%} .tf-w5{width:5%} .tf-w6{width:6%} .tf-w7{width:7%} .tf-w8{width:8%} .tf-w9{width:9%} .tf-w10{width:10%} .tf-w11{width:11%} .tf-w12{width:12%} .tf-w13{width:13%} .tf-w14{width:14%} .tf-w15{width:15%} .tf-w16{width:16%} .tf-w17{width:17%} .tf-w18{width:18%} .tf-w19{width:19%} .tf-w20{width:20%} .tf-w21{width:21%} .tf-w22{width:22%} .tf-w23{width:23%} .tf-w24{width:24%} .tf-w25{width:25%} .tf-w26{width:26%} .tf-w27{width:27%} .tf-w28{width:28%} .tf-w29{width:29%} .tf-w30{width:30%} .tf-w31{width:31%} .tf-w32{width:32%} .tf-w33{width:33%} .tf-w34{width:34%} .tf-w35{width:35%} .tf-w36{width:36%} .tf-w37{width:37%} .tf-w38{width:38%} .tf-w39{width:39%} .tf-w40{width:40%} .tf-w41{width:41%} .tf-w42{width:42%} .tf-w43{width:43%} .tf-w44{width:44%} .tf-w45{width:45%} .tf-w46{width:46%} .tf-w47{width:47%} .tf-w48{width:48%} .tf-w49{width:49%} .tf-w50{width:50%} .tf-w51{width:51%} .tf-w52{width:52%} .tf-w53{width:53%} .tf-w54{width:54%} .tf-w55{width:55%} .tf-w56{width:56%} .tf-w57{width:57%} .tf-w58{width:58%} .tf-w59{width:59%} .tf-w60{width:60%} .tf-w61{width:61%} .tf-w62{width:62%} .tf-w63{width:63%} .tf-w64{width:64%} .tf-w65{width:65%} .tf-w66{width:66%} .tf-w67{width:67%} .tf-w68{width:68%} .tf-w69{width:69%} .tf-w70{width:70%} .tf-w71{width:71%} .tf-w72{width:72%} .tf-w73{width:73%} .tf-w74{width:74%} .tf-w75{width:75%} .tf-w76{width:76%} .tf-w77{width:77%} .tf-w78{width:78%} .tf-w79{width:79%} .tf-w80{width:80%} .tf-w81{width:81%} .tf-w82{width:82%} .tf-w83{width:83%} .tf-w84{width:84%} .tf-w85{width:85%} .tf-w86{width:86%} .tf-w87{width:87%} .tf-w88{width:88%} .tf-w89{width:89%} .tf-w90{width:90%} .tf-w91{width:91%} .tf-w92{width:92%} .tf-w93{width:93%} .tf-w94{width:94%} .tf-w95{width:95%} .tf-w96{width:96%} .tf-w97{width:97%} .tf-w98{width:98%} .tf-w99{width:99%} .tf-w100{width:100%}
.tf-m0{margin-left:0%} .tf-m1{margin-left:1%} .tf-m2{margin-left:2%} .tf-m3{margin-left:3%} .tf-m4{margin-left:4%} .tf-m5{margin-left:5%} .tf-m6{margin-left:6%} .tf-m7{margin-left:7%} .tf-m8{margin-left:8%} .tf-m9{margin-left:9%} .tf-m10{margin-left:10%} .tf-m11{margin-left:11%} .tf-m12{margin-left:12%} .tf-m13{margin-left:13%} .tf-m14{margin-left:14%} .tf-m15{margin-left:15%} .tf-m16{margin-left:16%} .tf-m17{margin-left:17%} .tf-m18{margin-left:18%} .tf-m19{margin-left:19%} .tf-m20{margin-left:20%} .tf-m21{margin-left:21%} .tf-m22{margin-left:22%} .tf-m23{margin-left:23%} .tf-m24{margin-left:24%} .tf-m25{margin-left:25%} .tf-m26{margin-left:26%} .tf-m27{margin-left:27%} .tf-m28{margin-left:28%} .tf-m29{margin-left:29%} .tf-m30{margin-left:30%} .tf-m31{margin-left:31%} .tf-m32{margin-left:32%} .tf-m33{margin-left:33%} .tf-m34{margin-left:34%} .tf-m35{margin-left:35%} .tf-m36{margin-left:36%} .tf-m37{margin-left:37%} .tf-m38{margin-left:38%} .tf-m39{margin-left:39%} .tf-m40{margin-left:40%} .tf-m41{margin-left:41%} .tf-m42{margin-left:42%} .tf-m43{margin-left:43%} .tf-m44{margin-left:44%} .tf-m45{margin-left:45%} .tf-m46{margin-left:46%} .tf-m47{margin-left:47%} .tf-m48{margin-left:48%} .tf-m49{margin-left:49%} .tf-m50{margin-left:50%} .tf-m51{margin-left:51%} .tf-m52{margin-left:52%} .tf-m53{margin-left:53%} .tf-m54{margin-left:54%} .tf-m55{margin-left:55%} .tf-m56{margin-left:56%} .tf-m57{margin-left:57%} .tf-m58{margin-left:58%} .tf-m59{margin-left:59%} .tf-m60{margin-left:60%} .tf-m61{margin-left:61%} .tf-m62{margin-left:62%} .tf-m63{margin-left:63%} .tf-m64{margin-left:64%} .tf-m65{margin-left:65%} .tf-m66{margin-left:66%} .tf-m67{margin-left:67%} .tf-m68{margin-left:68%} .tf-m69{margin-left:69%} .tf-m70{margin-left:70%} .tf-m71{margin-left:71%} .tf-m72{margin-left:72%} .tf-m73{margin-left:73%} .tf-m74{margin-left:74%} .tf-m75{margin-left:75%} .tf-m76{margin-left:76%} .tf-m77{margin-left:77%} .tf-m78{margin-left:78%} .tf-m79{margin-left:79%} .tf-m80{margin-left:80%} .tf-m81{margin-left:81%} .tf-m82{margin-left:82%} .tf-m83{margin-left:83%} .tf-m84{margin-left:84%} .tf-m85{margin-left:85%} .tf-m86{margin-left:86%} .tf-m87{margin-left:87%} .tf-m88{margin-left:88%} .tf-m89{margin-left:89%} .tf-m90{margin-left:90%} .tf-m91{margin-left:91%} .tf-m92{margin-left:92%} .tf-m93{margin-left:93%} .tf-m94{margin-left:94%} .tf-m95{margin-left:95%} .tf-m96{margin-left:96%} .tf-m97{margin-left:97%} .tf-m98{margin-left:98%} .tf-m99{margin-left:99%}
.tf-grid.tf-placed > .wp-block-group__inner-container, .tf-left .tf-grid.tf-placed, .tf-right .tf-grid.tf-placed, .tf-footer .tf-grid.tf-placed { justify-content: flex-start; }
.wp-block-list { margin: 0 0 1.1em; padding-left: 2em; }
.wp-block-table { margin: 0 0 1em; overflow-x: auto; }
.tf-table table { border-collapse: separate; border-spacing: 2px; border: 1px solid #808080; width: 100%; }
.tf-table td { border: 1px solid #808080; padding: 2px 3px; font-size: 13.33px; height: 18px; vertical-align: top; }
.tf-content .tf-navbuttons { margin: 0 auto 1em; }
.tf-content ul.tf-navbuttons:not(.tf-navrow) { width: 128px; }

/* sidebars and footer (theme parts: plain HTML, no inner-container wrapper) */
.tf-left .tf-grid, .tf-right .tf-grid, .tf-footer .tf-grid { display: flex; flex-wrap: wrap; justify-content: space-evenly; align-items: flex-start; }
.tf-left p, .tf-right p { margin: 0 0 2px; }
.tf-left .wp-block-image, .tf-right .wp-block-image { margin: 0 0 2px; }
.tf-left .tf-grid, .tf-right .tf-grid { margin: 0 0 2px; }
.tf-left .tf-grid > .wp-block-group__inner-container, .tf-right .tf-grid > .wp-block-group__inner-container { justify-content: flex-start; }
.tf-right ul.tf-navbuttons a { width: 128px; }
/* WordPress wraps aligned images in div.wp-block-image > figure.aligncenter: sidebar pictures sit at the column's left edge like the live site */
.tf-left .wp-block-image > .aligncenter, .tf-right .wp-block-image > .aligncenter { margin-left: 0; margin-right: 0; }
.tf-footer p { margin: 0 0 2px; }
.tf-footer .tf-navrow { margin: 0 0 1px; }
.tf-footer form { margin: 0 0 4px; text-align: center; }
.tf-footer center { display: block; }

/* ---------- 1.2.3 tablets: 761-959px use the one-column layout below (sidebars shown, not folded);
   960-1099px show the desktop layout scaled down so nothing scrolls sideways (20px allowed for a scrollbar) ---------- */
@media (min-width: 960px) and (max-width: 1023px) { .tf-page { zoom: 0.85; } }
@media (min-width: 1024px) and (max-width: 1099px) { .tf-page { zoom: 0.91; } }

/* ---------- phones and small tablets: one column (1.2.3: up to 959px) ---------- */
@media (max-width: 959px) {
	body { font-size: 16px; line-height: 1.35; }
	.tf-page { width: auto; display: block; padding: 0 12px; }
	.tf-header { height: auto; position: static; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding-top: 8px; }
	.tf-badges, .tf-promo, .tf-allsale { position: static; }
	.tf-badges { order: 1; }
	.tf-promo { order: 2; width: auto; font-size: 16px; }
	.tf-promo strong { font-size: 16px; }
	.tf-banner { order: 3; position: static; width: 100%; height: auto; min-height: 45px; padding: 6px 8px; white-space: normal; font-size: 22px; line-height: 1.25; }
	.tf-banner-mid, .tf-banner-long { font-size: 20px; }
	.tf-allsale, .tf-header .tf-allsale { order: 4; width: 100%; text-align: center; font-size: 16px; margin: 0 0 6px; }
	.has-s-10-font-size, .has-s-11-font-size, .has-s-12-font-size, .has-s-13-font-size, .has-s-15-font-size, .has-s-16-font-size, .tf-table td { font-size: 16px; }
	.has-s-18-font-size, h3.wp-block-heading { font-size: 19px; }
	.has-s-20-font-size, .has-s-24-font-size, h2.wp-block-heading { font-size: 22px; }
	.has-s-28-font-size, .has-s-32-font-size, .has-s-36-font-size { font-size: 24px; }
	ul.tf-navbuttons a, ul.tf-navbuttons .tf-nolink { width: auto; height: auto; min-height: 44px; line-height: 44px; font-size: 16px; padding: 0 12px; }
	ul.tf-navrow, .tf-content ul.tf-navbuttons:not(.tf-navrow), .tf-left ul.tf-navbuttons, .tf-right ul.tf-navbuttons {
		display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 4px; width: auto; margin: 0 0 8px; }
	ul.tf-navbuttons a, ul.tf-navbuttons .tf-nolink { text-overflow: ellipsis; }
	.tf-left ul.tf-navbuttons a, .tf-right ul.tf-navbuttons a, .tf-left ul.tf-navbuttons .tf-nolink, .tf-right ul.tf-navbuttons .tf-nolink { width: auto; }
	.tf-page .tf-card:has(.tf-navbuttons), .tf-page .tf-card:has(.wp-block-table) { width: 100% !important; }
	.tf-menu-btn { display: block; width: 100%; min-height: 48px; margin: 4px 0 8px; border: 0; background: #380072; color: #e4caff;
		font: bold 18px Helvetica, Arial, sans-serif; cursor: pointer; }
	.tf-menu { display: none; }
	.tf-menu.is-open { display: block; }
	.tf-menu .tf-navmore { display: grid; }
	.tf-grid > .wp-block-group__inner-container, .tf-grid.tf-placed > .wp-block-group__inner-container { justify-content: space-around; }
	.tf-card, .tf-left .tf-card, .tf-right .tf-card { width: 100% !important; margin-left: 0 !important; padding: 0 0 12px; }
	.tf-card.tf-narrow { width: 48% !important; }
	.tf-card a { display: inline-block; min-height: 44px; box-sizing: border-box; padding: 10px 0; line-height: 1.5; }
	.tf-card .wp-block-image a, .tf-left .wp-block-image a, .tf-right .wp-block-image a { line-height: normal; padding: 0; min-height: 0; }
	.tf-card ul.tf-navbuttons a { padding: 0 12px; }
	/* 1.1.1: button lists inside page content: empty grid columns collapse (auto-fit), so a single
	   button (e.g. "Native Cigars" on the home page) spans the row instead of sitting in the left half */
	.tf-content ul.tf-navbuttons:not(.tf-navrow) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
	.tf-content ul.tf-navbuttons:not(.tf-navrow) a { text-align: center; }
	/* 1.1.2: sidebar, footer and menu button lists: two per row, and a single or leftover last
	   button is centred instead of sitting in the left column (Ken: Sample Carton, 38 Special, ...) */
	ul.tf-navrow, .tf-menu .tf-navmore, .tf-left ul.tf-navbuttons, .tf-right ul.tf-navbuttons {
		display: flex; flex-wrap: wrap; justify-content: center; }
	ul.tf-navrow > li, .tf-menu .tf-navmore > li, .tf-left ul.tf-navbuttons > li, .tf-right ul.tf-navbuttons > li {
		flex: 0 0 calc(50% - 2px); min-width: 0; }
	.tf-left, .tf-right { border-top: 2px solid #006666; padding: 12px 0 0; text-align: center; }
	.tf-left .wp-block-image, .tf-right .wp-block-image { text-align: center; }
	.tf-left .tf-grid, .tf-right .tf-grid, .tf-footer .tf-grid, .tf-left .tf-grid.tf-placed, .tf-right .tf-grid.tf-placed, .tf-footer .tf-grid.tf-placed { justify-content: center; }
	.tf-footer input, .tf-footer select, .tf-footer button, .tf-footer input[type=submit] { font-size: 16px; min-height: 44px; max-width: 100%; box-sizing: border-box; }
	.tf-footer input[type=text] { width: 100%; }
	.wp-block-image img { max-width: 100%; }
	/* never wider than the image file (no blur): --tf-max is set by the theme for images whose block width is larger */
	.tf-page .tf-no-upscale img { width: min(100%, var(--tf-max)) !important; max-width: 100%; }
	/* phones: sidebar pictures centred in the full-width column */
	.tf-left .wp-block-image > .aligncenter, .tf-right .wp-block-image > .aligncenter { margin-left: auto; margin-right: auto; }
	/* long words (e-mail addresses) wrap instead of pushing the page sideways */
	.tf-content a { overflow-wrap: anywhere; }
	.tf-card a { max-width: 100%; }
	.tf-table td { padding: 8px 6px; }
	.tf-table a { display: inline-block; min-height: 32px; line-height: 32px; }
	/* 1.2.0: header Call / Shop Online buttons side by side under the banner */
	.tf-header .tf-cta { order: 4; position: static; display: flex; flex-wrap: wrap; gap: 4px; width: 100%; margin: 0; }
	.tf-header .tf-cta li { flex: 1 1 140px; }
	.tf-header .tf-cta a { width: auto; min-width: 0; padding: 0 6px; font-size: 15px; text-align: center; }
	.tf-allsale, .tf-header .tf-allsale { order: 5; }
	/* 1.2.0: tap targets at least 24px for text links in the page, footer and tables */
	/* :where() keeps this at the lowest specificity, so buttons, cards and tables keep their own (larger) sizes */
	:where(.tf-content p, .tf-content ul:not(.tf-navbuttons) li, .tf-content td, .tf-footer p, .tf-left p, .tf-right p, .tf-promo p) a, .tf-footer label { display: inline-block; min-height: 24px; line-height: 24px; max-width: 100%; }
	.tf-left .wp-block-image a, .tf-right .wp-block-image a, .tf-header .wp-block-image a, .tf-footer .wp-block-image a, .tf-content .wp-block-image a, .tgbanner a { display: inline-flex; align-items: center; justify-content: center; min-height: 24px; min-width: 24px; max-width: 100%; }
	.tf-content .tf-brandlist li { margin-bottom: 6px; }
	.tf-form td { height: 32px; }
}

/* ---------- 1.2.0 phones only (760px and below): sidebars folded behind "Brands & more"
   (the script in footer.php adds .tf-fold; without the script they show as before) ---------- */
@media (max-width: 760px) {
	.tf-fold .tf-more-btn { display: block; width: 100%; min-height: 48px; margin: 8px 0; border: 0; background: #380072; color: #e4caff;
		font: bold 18px Helvetica, Arial, sans-serif; cursor: pointer; }
	.tf-fold .tf-more-btn::after { content: " \25BE"; }
	.tf-fold.tf-more-open .tf-more-btn::after { content: " \25B4"; }
	.tf-fold:not(.tf-more-open) .tf-left, .tf-fold:not(.tf-more-open) .tf-right { display: none; }
}

/* ---------- 1.2.0 print (the order form and any page): content only ---------- */
@media print {
	.tf-topnav, .tf-left, .tf-right, .tf-footer, .tf-badges, .tf-promo, .tf-allsale, .tf-cta, .tf-more-btn, .tf-print-btn { display: none !important; }
	.tf-page { display: block; width: auto; }
	.tf-header { height: auto; position: static; }
	.tf-banner { position: static; width: auto; height: auto; background: none; border: 0; outline: 0; box-shadow: none; color: #000; font-size: 20px; line-height: 1.3; }
	a, a:link, a:visited { color: #000; text-decoration: none; }
	.tf-form td { height: 24px; }
	.wp-block-table { overflow: visible; }
}

/* ---------- 1.3.0 (2026-11-23, Craig via Ken): site name in the purple banner; section lines right under their heading bars ---------- */
/* Purple banner box (header.php): p.tf-sitename = Settings > General > Site Title, linking home (a paragraph, not a heading),
   over the page's one H1. The box now carries the purple frame; the H1 inside it is plain text. */
.tf-header { height: 88px; }
.tf-bannerbox { position: absolute; left: 104px; top: 2px; width: 560px; height: 56px; box-sizing: border-box; margin: 0; padding: 0 6px;
	display: flex; flex-direction: column; justify-content: center;
	background: #380072; border: 3px solid #006666; outline: 1px solid #33cccc; box-shadow: inset 0 0 0 1px #6500cd; text-align: center; overflow: hidden; }
.tf-header .tf-sitename { margin: 0; font: bold 24px/26px Helvetica, Arial, sans-serif; letter-spacing: .5px; white-space: nowrap; }
.tf-sitename a, .tf-sitename a:link, .tf-sitename a:visited, .tf-sitename a:hover { color: #fff; text-decoration: none; }
.tf-bannerbox .tf-banner { position: static; width: auto; height: auto; margin: 0; padding: 0; background: none; border: 0; outline: 0; box-shadow: none;
	color: #99ffff; font: bold 17px/21px Helvetica, Arial, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tf-bannerbox .tf-banner-mid { font-size: 16px; }
.tf-bannerbox .tf-banner-long { font-size: 15px; }
.tf-header .tf-cta { top: 62px; }
/* the taller box would cover the end of "ALL BRANDS ON SALE!": keep it under the two badges (two short lines) */
.tf-header .tf-allsale { width: 102px; text-align: center; line-height: 12px; }
/* Section heading bar (a button-list grid, e.g. "Native Cigars" + VIEW ALL) followed by the thin line image (line1.gif / line.gif):
   no space under the bar, so the line sits right under it. One rule for every page that uses the pattern. */
.tf-content .tf-grid:has(ul.tf-navbuttons):has(+ .wp-block-image img[src*="/line"][src$=".gif"]) { margin-bottom: 0; }
.tf-content .tf-grid:has(+ .wp-block-image img[src*="/line"][src$=".gif"]) ul.tf-navbuttons { margin-bottom: 0; }
.tf-content .tf-grid:has(ul.tf-navbuttons) + .wp-block-image:has(img[src*="/line"][src$=".gif"]) { margin-top: 3px; }
/* the line GIF (3px tall) was an inline image in a 16px text line, which left 12px of blank space above it */
.tf-content .wp-block-image img[src*="/line"][src$=".gif"] { display: block; }
@media (max-width: 959px) {
	.tf-header { height: auto; }
	.tf-header .tf-allsale { width: 100%; line-height: inherit; }
	.tf-bannerbox { order: 3; position: static; width: 100%; height: auto; min-height: 45px; padding: 6px 8px; }
	.tf-header .tf-sitename { font-size: 24px; line-height: 1.2; white-space: normal; overflow-wrap: anywhere; }
	.tf-bannerbox .tf-banner, .tf-bannerbox .tf-banner-mid, .tf-bannerbox .tf-banner-long { min-height: 0; padding: 0; font-size: 18px; line-height: 1.25; white-space: normal; text-overflow: clip; overflow-wrap: anywhere; }
	.tf-content .tf-grid:has(+ .wp-block-image img[src*="/line"][src$=".gif"]) .tf-card { padding-bottom: 0; }
}
@media print {
	.tf-bannerbox { display: block; position: static; width: auto; height: auto; padding: 0; background: none; border: 0; outline: 0; box-shadow: none; }
	.tf-sitename a, .tf-sitename a:link, .tf-sitename a:visited { color: #000; }
	.tf-bannerbox .tf-banner { color: #000; font-size: 20px; white-space: normal; }
}

/* ---------- 1.3.1 (2026-11-23, Craig via Ken): the purple banner shows only the site name on every page.
   The page's one H1 (its title) moved out of the banner to the top of the content, as a plain centred heading. ---------- */
.tf-header .tf-sitename { font-size: 28px; line-height: 32px; }
.tf-content h1.tf-pagetitle { margin: 4px 0 8px; padding: 0; font: bold 20px/1.25 Helvetica, Arial, sans-serif; color: #000; text-align: center; }
@media (max-width: 959px) {
	.tf-header .tf-sitename { font-size: 26px; }
	.tf-content h1.tf-pagetitle { font-size: 19px; margin: 6px 0 8px; }
}
@media print {
	.tf-content h1.tf-pagetitle { font-size: 18px; }
}

/* ---------- 1.3.2 (2026-11-23, Craig via Ken): on wider screens the section line runs beside "VIEW ALL", on the same row as the heading button.
   Drawn as the last item of the heading row (same 3-band colours as line1.gif); the separate line image under the row is hidden there.
   Phones keep the stacked heading + VIEW ALL with the line under it. ---------- */
@media (min-width: 960px) {
	.tf-content .tf-grid:has(ul.tf-navbuttons):has(+ .wp-block-image img[src*="/line"][src$=".gif"]) > .wp-block-group__inner-container { align-items: center; }
	.tf-content .tf-grid:has(ul.tf-navbuttons):has(+ .wp-block-image img[src*="/line"][src$=".gif"]) > .wp-block-group__inner-container::after {
		content: ""; flex: 1 1 auto; height: 3px; margin: 0 4.5% 0 8px;
		background: linear-gradient(to bottom, #33aa99 0 1px, #005566 1px 2px, #000 2px 3px); }
	.tf-content .tf-grid:has(ul.tf-navbuttons) + .wp-block-image:has(img[src*="/line"][src$=".gif"]) { display: none; }
	.tf-content .tf-grid:has(ul.tf-navbuttons):has(+ .wp-block-image img[src*="/line"][src$=".gif"]) { margin-bottom: 6px; }
}
