/*
Theme Name: TK's Table
Theme URI: https://tkstable.co.za
Author: TK (and helper)
Author URI: https://tkstable.co.za
Description: A sleeker, modern version of TK's Table WordPress theme inspired by the brand logo.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tks-table
*/

/* --- style.css --- */

body {
  background-color: #ffffff;
  color: #222;
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #1c1c1c;
  margin-bottom: 0.5em;
}

a {
  color: #2e4e2e;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #4d704d;
}

header {
  background-color: #f8f8f8;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #2e4e2e;
  font-family: 'Playfair Display', serif;
}

.tagline {
  font-size: 1rem;
  font-style: italic;
  color: #4d704d;
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  font-weight: 500;
  padding: 0.5rem;
  border-radius: 6px;
}

nav a:hover {
  background-color: #e0f2e9;
}

footer {
  background-color: #f4f4f4;
  color: #333;
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  border-top: 1px solid #ccc;
}

main {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #2e4e2e;
  color: #fff;
  border-radius: 30px;
  text-align: center;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #4d704d;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  list-style: none;
  padding: 0;
}

.woocommerce ul.products li.product {
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  padding: 1rem;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
}
