@charset "UTF-8";
/* 
  tfp2.css – CLEAN VERSION
  Rebuilt 2026-01
  Old version saved as: tfp2 old.css
*/

/* =========================================================
   Base / Reset
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  background-color: #D9D0B1;
  color: #111;
  text-align: center; /* keep your overall centered vibe */
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}


img {
  max-width: 100%;
  height: auto;
}

a, a:visited {
  color: inherit;
  text-decoration: none;
}

/* =========================================================
   Typography
   ========================================================= */
h1, h2, h3, h4 {
  margin: 0;
}

h2 {
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 0.25rem;
  padding-top: 0.25rem;
  color: #218AE7;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(12, 12, 0, 0.2);
}

h1 {
  font-weight: 800;
  font-size: 2.5rem;
  margin: 0.5rem 0 0.75rem 0;
  text-transform: uppercase;
  text-shadow: 12px 0 10px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.125em;
}

h3 {
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 12px 0 8px rgba(0, 0, 0, 0.2);
  color: #0D0E0D;
}

h4 {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: #218AE7;
}

/* =========================================================
   Header / Navigation
   (Matches your current markup: <header class="site-header">
    <div class="header-inner"> ... <nav class="site-nav"><ul>...)
   ========================================================= */
.site-header {
  padding: 18px 14px;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Nav list layout — single line until phone */
.site-header .site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  flex-wrap: nowrap;              /* 🔑 stay on one line */
  justify-content: center;
  align-items: center;

  gap: clamp(6px, 1.2vw, 18px);   /* adaptive spacing */
}

/* Link look — scales smoothly */
.site-header .site-nav a,
.site-header .site-nav a.hover-link {
  text-transform: uppercase;
  letter-spacing: clamp(0.05em, 0.25vw, 0.15em);
  color: #8B0808;
  font-weight: 700;

  font-size: clamp(0.85rem, 1.05vw, 1.15rem);  /* 🔑 adaptive size */
  padding: clamp(4px, 0.8vw, 8px) clamp(6px, 1vw, 10px);

  line-height: 1.2;
  display: inline-block;
  white-space: nowrap;            /* 🔑 never break words */
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-header .site-nav a:hover,
.site-header .site-nav a.hover-link:hover {
  color: #218AE7;
}

/* Phone layout — stack vertically */
@media (max-width: 600px) {
  .site-header .site-nav ul {
    flex-direction: column;
    gap: 6px;
  }

  .site-header .site-nav a,
  .site-header .site-nav a.hover-link {
    font-size: 1.05rem;
    padding: 6px 10px;
  }
}

/* Phone nav behavior */
@media (max-width: 600px) {
  .site-header .site-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .site-header .site-nav li {
    margin: 0;
  }

  .site-header .site-nav a,
  .site-header .site-nav a.hover-link {
    font-size: 1.1rem;
    padding: 6px 8px;
  }
}

/* =========================================================
   Hover Tooltip Links (uses --after-content in your HTML)
   ========================================================= */
.hover-link {
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hover-link::after {
  content: var(--after-content);
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: pre-wrap;
  background-color: #333;
  color: #fff;
  padding: 10px 12px;
  border-radius: 6px;
  pointer-events: none;
  width: max-content;
  max-width: 280px;
  text-align: center;
  font-size: 0.9rem;
  z-index: 20;
}

.hover-link:hover::after {
  opacity: 1;
}

/* =========================================================
   Image helper(s)
   ========================================================= */
.artwork {
  display: block;
  margin: 10px auto;
  max-width: 220px; /* controls your grin image size */
  width: 55%;
  height: auto;
}

@media (max-width: 600px) {
  .artwork {
    max-width: 180px;
    width: 65%;
  }
}

/* =========================================================
   Main (optional hook if you use <main class="site-main">)
   ========================================================= */
.site-main {
  flex: 1;
    padding: 10px 14px;
}

/* =========================================================
   Footer (Matches your new footer HTML)
   ========================================================= */
.site-footer {
  padding: 20px 14px;
  margin-top: 32px;
  background: linear-gradient(-45deg, rgb(255,91,127) 0%, rgb(255,213,86) 100%);
  color: #111;
  text-align: center;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  display: inline-block;
}

.footer-meta,
.footer-legal {
  margin: 6px 0;
  font-size: 0.95rem;
}

.footer-legal {
  opacity: 0.85;
}

/* Phone footer behavior */
@media (max-width: 600px) {
  .footer-links {
    flex-direction: column;
    gap: 6px;
  }

  .footer-links a {
    font-size: 1.1rem;
    padding: 6px 8px;
  }
    
 
.home-icon{
  margin-right: 12px;
}

.home-icon .hover-link::after{
  font-size: 0.7rem;
}
/* ===== Header nav: one line until phone ===== */

/* UL becomes a single-row flex bar */
.site-header .site-nav ul{
  display: flex !important;
  flex-wrap: nowrap !important;         /* stay on one line */
  justify-content: center;
  align-items: center;
  gap: clamp(6px, 1.2vw, 16px);         /* tight, responsive spacing */
  padding: 0;
  margin: 0;
  list-style: none;
}

/* Remove old block spacing coming from legacy rules */
.site-header .site-nav li{
  margin: 0 !important;
  padding: 0 !important;
  display: block;
}

/* Make link size adapt smoothly so it fits */
.site-header .site-nav a{
  display: inline-block;
  padding: clamp(4px, 0.8vw, 10px) clamp(6px, 1vw, 14px);
  font-size: clamp(0.85rem, 1.05vw, 1.05rem);
  letter-spacing: clamp(0.04em, 0.25vw, 0.12em);
  white-space: nowrap;                  /* prevent “Leather” breaking */
}

/* Home icon stays compact */
.site-header .home-icon{
  margin-right: clamp(6px, 1vw, 14px);
}

/* Phone: switch to stacked menu */
@media (max-width: 600px){
  .site-header .site-nav ul{
    flex-direction: column !important;
    gap: 6px;
  }

  .site-header .site-nav a{
    font-size: 1.05rem;
    padding: 6px 10px;
  }
}
 
    a.lw-btn { display:inline-block !important; }
    

 }


/* FORCE HOME ICON SIZE (wins over global img rules) */
.home-icon img{
  width: 44px !important;
  max-width: 44px !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
}

  /* Buy Now button — force normal + hover */
a.lw-btn{
  background-color: #8A6821 !important;
  color: #ffffff !important;
  padding: 8px 14px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}

a.lw-btn:hover{
  background-color: #8B0808 !important;
  color: #ffffff !important;
}

/* Leatherwork buttons */
.leather-page a.lw-btn {
  background-color: #218AE7; /* blue */
}

/* Art / bookmarks buttons */
.Art-page a.lw-btn {
  background-color: #E91717; /* tan */
}

/* Hover (shared or separate) */
.leather-page a.lw-btn:hover,
.yardsale-page a.lw-btn:hover {
  background-color: #8B0808;
}
/* ========= BUY BUTTON FINAL OVERRIDE  ========= */

/* Base button look (same on every page) */
a.lw-btn{
  display:inline-block;
  padding:8px 14px;
  border-radius:4px;
  font-weight:700;
  font-family: inherit;
  text-decoration:none;
  line-height:1.2;
  color:#ffffff !important;
}

/* Default color if a page doesn't have a body class */
a.lw-btn{ background-color:#218AE7 !important; }

/* Hover (always works) */
a.lw-btn:hover{ background-color:#8B0808 !important; }

/* Per-page colors (optional — only apply if you add body classes) */
body.leather-page a.lw-btn{ background-color:#8A6821 !important; }   /* brown */
body.art-page a.lw-btn{ background-color:#218AE7 !important; }       /* blue */
body.yardsale-page a.lw-btn{ background-color:#C2A46D !important; }  /* tan */

/* ===== HOVER TOOLTIP FIX (NAV LINKS) ===== */
a.hover-link{
  position: relative;
}

a.hover-link::after{
  content: var(--after-content);
  position: absolute;
  left: 50%;
  top: 110%;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  white-space: pre-wrap;

  background: #333;
  color: #fff;
  padding: 8px 10px;
  border-radius: 6px;
  z-index: 9999;

  transition: opacity .2s ease;
}

a.hover-link:hover::after{
  opacity: 1;
}
/* ===== BUY BUTTON HOVER FIX ===== */
a.lw-btn{
  transition: background-color .2s ease, color .2s ease;
}

a.lw-btn:hover{
  background-color:#8B0808 ;
  color:#ffffff ;
}

/* ===== GLOBAL HOVER RESTORE ===== */

/* Links */
a:hover{
  color:#218AE7;
}

/* Buy buttons */
a.lw-btn:hover{
  background-color:#8B0808;
  color:#ffffff;
}

/* ===== FORCE BUY BUTTON HOVER (place at very bottom) ===== */
a.lw-btn{
  transition: background-color .2s ease, color .2s ease;
}

a.lw-btn:hover{
  background-color: #8B0808 !important;
  color: #ffffff !important;
}
body.art-page a.lw-btn:hover,
body.leather-page a.lw-btn:hover,
body.yardsale-page a.lw-btn:hover{
  background-color:#8B0808 !important;
  color:#ffffff !important;
}
