/*
Theme Name: PaintBox
Theme URI: https://paintbox.lk
Author: PaintBox Artist
Author URI: https://paintbox.lk
Description: A vibrant art store theme for Sri Lankan artist. Features WooCommerce integration, cart drawer, checkout modal, order tracking, FAQ, testimonials, and admin dashboard.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: paintbox
Tags: e-commerce, art, woocommerce, one-page, portfolio
*/

/* ================================================================
   DESIGN TOKENS
================================================================ */
:root {
  --ink: #0d0d0d;
  --canvas: #faf8f4;
  --warm: #f5f0e8;
  --accent: #e05c2a;
  --accent2: #2a6ee0;
  --gold: #c8962a;
  --muted: #6b6560;
  --border: rgba(13,13,13,0.12);
  --card: #fff;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --r: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.09);
}

/* ================================================================
   RESET & BASE
================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ================================================================
   NAV
================================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,244,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5vw;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--ink); text-decoration: none;
}
.site-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--muted);
  font-size: 0.9rem; font-weight: 500; transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.btn-cart {
  display: flex; align-items: center; gap: 6px;
  background: var(--ink); color: #fff;
  border: none; border-radius: 50px;
  padding: 8px 18px; font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: background .2s;
  font-family: var(--font-body);
}
.btn-cart:hover { background: var(--accent); }
.cart-count {
  background: var(--accent); color: #fff;
  border-radius: 50%; width: 18px; height: 18px;
  font-size: 11px; display: inline-flex; align-items: center; justify-content: center;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  font-size: 1.5rem; color: var(--ink);
}

/* ================================================================
   HERO
================================================================ */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 90vh; overflow: hidden;
}
.hero-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 5vw 4vw 5vw 8vw;
}
.hero-tag {
  display: inline-block;
  background: var(--warm); border: 1px solid var(--border);
  border-radius: 50px; padding: 5px 14px;
  font-size: 0.75rem; font-weight: 500; color: var(--muted);
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.1; margin-bottom: 1.2rem; color: var(--ink);
}
.hero h1 em { color: var(--accent); font-style: italic; }
.hero p { color: var(--muted); font-size: 1.05rem; max-width: 420px; margin-bottom: 2rem; line-height: 1.7; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image { position: relative; overflow: hidden; background: #0d0d0d; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; transition: transform 6s ease; }
.hero-image:hover img { transform: scale(1.04); }
.hero-badge {
  position: absolute; bottom: 2rem; left: 2rem;
  background: rgba(250,248,244,0.95); backdrop-filter: blur(8px);
  border-radius: var(--r); padding: 12px 16px;
  border: 1px solid var(--border); font-size: 0.85rem;
}
.hero-badge strong { display: block; font-weight: 700; color: var(--accent); font-size: 1.1rem; }

/* ================================================================
   BUTTONS
================================================================ */
.btn-primary {
  background: var(--ink); color: #fff;
  border: none; border-radius: var(--r);
  padding: 14px 28px; font-size: 0.95rem; font-weight: 500;
  cursor: pointer; transition: all .2s; font-family: var(--font-body);
  text-decoration: none; display: inline-block;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--border); border-radius: var(--r);
  padding: 13px 26px; font-size: 0.95rem; font-weight: 500;
  cursor: pointer; transition: all .2s; font-family: var(--font-body);
  text-decoration: none; display: inline-block;
}
.btn-outline:hover { border-color: var(--ink); }

/* ================================================================
   SECTIONS
================================================================ */
.section { padding: 5rem 8vw; }
.section-alt { background: var(--warm); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag {
  font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 0.6rem; display: block;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.2; color: var(--ink);
}
.section-header p { color: var(--muted); margin-top: 0.8rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ================================================================
   PRODUCT GRID
================================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.product-card {
  background: var(--card); border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); transition: all .3s; cursor: pointer;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-img { position: relative; overflow: hidden; aspect-ratio: 4/3; background: #1a1a1a; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: #fff;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.5px;
  padding: 4px 10px; border-radius: 50px; text-transform: uppercase;
}
.wishlist-btn {
  position: absolute; top: 12px; right: 12px;
  background: rgba(250,248,244,0.9); border: none;
  width: 34px; height: 34px; border-radius: 50%;
  cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.wishlist-btn:hover { background: #fff; transform: scale(1.1); }
.product-info { padding: 1.2rem; }
.product-category { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.product-title { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 4px; }
.product-dims { font-size: 0.8rem; color: var(--muted); margin-bottom: 10px; }
.product-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border);
}
.product-price { font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.product-price small { font-size: 0.75rem; color: var(--muted); font-weight: 400; display: block; }
.add-cart-btn {
  background: var(--ink); color: #fff; border: none; border-radius: 8px;
  padding: 8px 16px; font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: background .2s; font-family: var(--font-body);
}
.add-cart-btn:hover { background: var(--accent); }

/* Coming Soon card */
.coming-soon-card {
  background: var(--warm); border: 2px dashed var(--border);
  border-radius: 16px; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 3rem 2rem;
  min-height: 320px; color: var(--muted);
}
.coming-soon-card .cs-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.coming-soon-card h3 { font-family: var(--font-display); color: var(--ink); margin-bottom: 0.5rem; }

/* ================================================================
   FEATURES STRIP
================================================================ */
.features-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.feature-item { padding: 2rem 1.5rem; border-right: 1px solid var(--border); text-align: center; }
.feature-item:last-child { border-right: none; }
.feature-icon { font-size: 1.8rem; margin-bottom: 0.7rem; }
.feature-item h4 { font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.feature-item p { font-size: 0.8rem; color: var(--muted); }

/* ================================================================
   ABOUT
================================================================ */
.about-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap img { width: 100%; border-radius: 20px; aspect-ratio: 3/4; object-fit: cover; }
.about-quote-box {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--accent); color: #fff;
  border-radius: 16px; padding: 20px 24px;
  max-width: 220px; font-family: var(--font-display);
  font-style: italic; font-size: 0.95rem; line-height: 1.5;
}
.about-text h2 { font-family: var(--font-display); font-size: 2.2rem; line-height: 1.15; margin-bottom: 1.2rem; }
.about-text p { color: var(--muted); margin-bottom: 1rem; line-height: 1.8; }
.about-stats { display: flex; gap: 2rem; margin-top: 2rem; }
.stat-item strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--accent); }
.stat-item span { font-size: 0.82rem; color: var(--muted); }

/* ================================================================
   PROCESS
================================================================ */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.step { background: var(--card); border-radius: 16px; padding: 1.8rem 1.5rem; border: 1px solid var(--border); position: relative; }
.step-num { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: rgba(224,92,42,0.12); line-height: 1; margin-bottom: 0.5rem; }
.step h4 { font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ================================================================
   TESTIMONIALS
================================================================ */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonial { background: var(--card); border-radius: 16px; padding: 1.8rem; border: 1px solid var(--border); }
.stars { color: var(--gold); margin-bottom: 0.8rem; font-size: 0.9rem; }
.testimonial p { font-family: var(--font-display); font-style: italic; color: var(--ink); line-height: 1.7; margin-bottom: 1rem; font-size: 0.95rem; }
.reviewer { display: flex; align-items: center; gap: 10px; }
.reviewer-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--warm); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem; color: var(--accent);
}
.reviewer-name { font-weight: 600; font-size: 0.85rem; }
.reviewer-loc { font-size: 0.75rem; color: var(--muted); }

/* ================================================================
   FAQ
================================================================ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 1.2rem 0; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  color: var(--ink); font-family: var(--font-body);
}
.faq-q::after { content: '+'; font-size: 1.3rem; color: var(--muted); transition: transform .2s; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { display: none; padding: 0 0 1.2rem; color: var(--muted); font-size: 0.9rem; line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ================================================================
   CONTACT
================================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info h3 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 1rem; }
.contact-info p { color: var(--muted); line-height: 1.8; margin-bottom: 1.5rem; }
.contact-links { display: flex; flex-direction: column; gap: 0.8rem; }
.contact-link {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
  font-size: 0.9rem; transition: color .2s;
}
.contact-link:hover { color: var(--accent); }
.contact-link-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--warm); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 0.82rem; font-weight: 500; color: var(--muted); }
.form-field input,
.form-field textarea,
.form-field select {
  padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: 8px; font-size: 0.9rem; font-family: var(--font-body);
  background: var(--card); color: var(--ink);
  transition: border-color .2s; width: 100%;
}
.form-field input:focus,
.form-field textarea:focus { outline: none; border-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 120px; }

/* ================================================================
   ORDER TRACKING
================================================================ */
.track-box {
  max-width: 520px; margin: 0 auto 2rem;
  display: flex; gap: 12px;
}
.track-box input {
  flex: 1; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: 10px; font-size: 0.95rem; font-family: var(--font-body);
  background: var(--card); color: var(--ink);
}
.track-box input:focus { outline: none; border-color: var(--accent); }
.order-status-bar {
  max-width: 680px; margin: 0 auto;
  background: var(--card); border-radius: 16px; padding: 2rem;
  border: 1px solid var(--border); display: none;
}
.status-timeline { display: flex; justify-content: space-between; margin-top: 1.5rem; position: relative; }
.status-timeline::before {
  content: ''; position: absolute; top: 18px; left: 0; right: 0;
  height: 2px; background: var(--border); z-index: 0;
}
.status-step { display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 1; }
.status-dot {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--warm); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.status-dot.done { background: var(--accent); border-color: var(--accent); }
.status-label { font-size: 0.72rem; color: var(--muted); text-align: center; }

/* ================================================================
   CART DRAWER
================================================================ */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 200; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 95vw;
  background: var(--canvas); z-index: 201;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
  padding: 1.5rem; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-header h3 { font-family: var(--font-display); font-size: 1.3rem; }
.cart-close {
  background: none; border: none; font-size: 1.4rem; cursor: pointer;
  color: var(--muted); line-height: 1;
}
.cart-body { flex: 1; overflow-y: auto; padding: 1.2rem; }
.cart-empty { text-align: center; padding: 4rem 2rem; color: var(--muted); }
.ce-icon { font-size: 3rem; margin-bottom: 1rem; }
.cart-item {
  display: flex; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; background: #1a1a1a; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 2px; }
.cart-item-info p { font-size: 0.8rem; color: var(--muted); }
.qty-control { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.qty-btn {
  width: 26px; height: 26px; border-radius: 6px;
  border: 1px solid var(--border); background: none;
  cursor: pointer; font-size: 1rem; line-height: 1;
}
.qty-num { font-weight: 600; font-size: 0.9rem; }
.cart-item-price { font-weight: 700; font-size: 1rem; white-space: nowrap; }
.cart-footer { padding: 1.2rem; border-top: 1px solid var(--border); }
.cart-totals { margin-bottom: 1rem; }
.cart-row { display: flex; justify-content: space-between; font-size: 0.88rem; margin-bottom: 6px; }
.cart-row.total { font-weight: 700; font-size: 1rem; border-top: 1px solid var(--border); padding-top: 8px; margin-top: 8px; }
.checkout-btn {
  width: 100%; padding: 14px; background: var(--accent); color: #fff;
  border: none; border-radius: var(--r); font-size: 1rem; font-weight: 600;
  cursor: pointer; font-family: var(--font-body); transition: background .2s;
}
.checkout-btn:hover { background: #c44d21; }

/* ================================================================
   MODALS
================================================================ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 300; display: flex; align-items: center; justify-content: center;
  padding: 1rem; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--canvas); border-radius: 20px;
  padding: 2rem; max-width: 540px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  transform: scale(0.95); transition: transform .3s;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem;
}
.modal-header h3 { font-family: var(--font-display); font-size: 1.4rem; }
.modal-close {
  background: none; border: none; font-size: 1.5rem;
  cursor: pointer; color: var(--muted); line-height: 1;
}
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.modal-field { display: flex; flex-direction: column; gap: 6px; }
.modal-field.full { grid-column: 1 / -1; }
.modal-field label { font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.modal-field input,
.modal-field select,
.modal-field textarea {
  padding: 10px 12px; border: 1.5px solid var(--border);
  border-radius: 8px; font-family: var(--font-body);
  font-size: 0.88rem; color: var(--ink); background: var(--card);
}
.modal-field input:focus,
.modal-field select:focus { outline: none; border-color: var(--accent); }
.order-summary-items { margin-bottom: 1.5rem; }
.osi-row { display: flex; justify-content: space-between; font-size: 0.88rem; padding: 6px 0; border-bottom: 1px solid var(--border); }
.osi-row.total { font-weight: 700; border-bottom: none; }
.pay-btn {
  width: 100%; padding: 14px; background: var(--accent); color: #fff;
  border: none; border-radius: var(--r); font-size: 1rem; font-weight: 600;
  cursor: pointer; font-family: var(--font-body); margin-top: 1rem; transition: background .2s;
}
.pay-btn:hover { background: #c44d21; }
.success-modal-content { text-align: center; padding: 1rem 0; }
.success-icon { font-size: 4rem; margin-bottom: 1rem; }
.success-modal-content h3 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 0.5rem; color: var(--accent); }
.success-modal-content p { color: var(--muted); margin-bottom: 0.5rem; }

/* ================================================================
   PRODUCT DETAIL MODAL
================================================================ */
.product-detail-content { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.product-detail-imgs .main-img { width: 100%; border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; }
.thumb-row { display: flex; gap: 8px; margin-top: 8px; }
.thumb-row img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; }
.thumb-row img:hover { border-color: var(--accent); }
.product-detail-info h2 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 4px; }
.product-detail-info .price { font-size: 1.6rem; font-weight: 700; color: var(--accent); margin: 8px 0 12px; }
.product-detail-info p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; margin-bottom: 12px; }
.product-meta-list { list-style: none; margin-bottom: 16px; }
.product-meta-list li { font-size: 0.82rem; color: var(--muted); padding: 4px 0; border-bottom: 1px solid var(--border); }
.product-meta-list li span { font-weight: 600; color: var(--ink); }
.add-cart-large {
  width: 100%; padding: 14px; background: var(--ink); color: #fff;
  border: none; border-radius: var(--r); font-size: 1rem; font-weight: 600;
  cursor: pointer; font-family: var(--font-body); transition: background .2s;
}
.add-cart-large:hover { background: var(--accent); }

/* ================================================================
   ADMIN PANEL
================================================================ */
.admin-section { padding: 5rem 8vw; }
.admin-login-box {
  max-width: 380px; margin: 0 auto;
  background: var(--card); border-radius: 20px; padding: 2.5rem;
  border: 1px solid var(--border); text-align: center;
}
.admin-login-box h2 { font-family: var(--font-display); margin-bottom: 0.5rem; }
.admin-login-box p { color: var(--muted); font-size: 0.88rem; margin-bottom: 1.5rem; }
.admin-login-box input {
  width: 100%; padding: 12px; border: 1.5px solid var(--border);
  border-radius: 8px; font-family: var(--font-body); font-size: 0.9rem; margin-bottom: 1rem;
}
.admin-dashboard { display: none; }
.admin-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 2rem; overflow-x: auto; }
.admin-tab {
  padding: 10px 20px; background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 500;
  color: var(--muted); white-space: nowrap; transition: color .2s;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.admin-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.admin-content { display: none; }
.admin-content.active { display: block; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.admin-table th { text-align: left; padding: 10px 12px; background: var(--warm); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.status-pill { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: 0.72rem; font-weight: 600; }
.s-confirmed { background: #fef9c3; color: #854d0e; }
.s-processing { background: #dbeafe; color: #1e40af; }
.s-shipped { background: #dcfce7; color: #166534; }
.s-delivered { background: #f0fdf4; color: #15803d; }
.status-select { padding: 4px 8px; border: 1px solid var(--border); border-radius: 6px; font-size: 0.8rem; font-family: var(--font-body); }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 600px; }
.admin-form-grid .field { display: flex; flex-direction: column; gap: 5px; }
.admin-form-grid .field.full { grid-column: 1/-1; }
.admin-form-grid label { font-size: 0.78rem; font-weight: 500; color: var(--muted); }
.admin-form-grid input,
.admin-form-grid select,
.admin-form-grid textarea {
  padding: 9px 12px; border: 1.5px solid var(--border);
  border-radius: 8px; font-family: var(--font-body); font-size: 0.88rem;
}
.success-msg { display: none; background: #dcfce7; color: #166534; padding: 10px 16px; border-radius: 8px; font-size: 0.88rem; margin-top: 1rem; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.astat { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 1.2rem; text-align: center; }
.astat .num { font-family: var(--font-display); font-size: 2rem; color: var(--accent); }
.astat .lbl { font-size: 0.78rem; color: var(--muted); }

/* ================================================================
   TOAST
================================================================ */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff;
  padding: 12px 24px; border-radius: 50px;
  font-size: 0.88rem; z-index: 999;
  opacity: 0; transition: all .3s; pointer-events: none; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ================================================================
   FOOTER
================================================================ */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,0.7);
  padding: 4rem 8vw 2rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-top: 0.8rem; }
.footer-social { display: flex; gap: 10px; margin-top: 1.2rem; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.1); border: none; color: #fff;
  font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s; text-decoration: none;
}
.social-btn:hover { background: var(--accent); }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.88rem; transition: color .2s; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; }
.footer-badges { display: flex; gap: 8px; }
.fbadge { background: rgba(255,255,255,0.1); border-radius: 6px; padding: 4px 10px; font-size: 0.75rem; }

/* ================================================================
   NEWSLETTER
================================================================ */
.newsletter-box {
  background: var(--ink); border-radius: 20px; padding: 3rem;
  text-align: center; color: #fff;
}
.newsletter-box h2 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 0.6rem; }
.newsletter-box p { color: rgba(255,255,255,0.6); margin-bottom: 1.5rem; }
.newsletter-form { display: flex; max-width: 400px; margin: 0 auto; gap: 10px; }
.newsletter-form input {
  flex: 1; padding: 12px 16px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1); color: #fff;
  font-family: var(--font-body);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button {
  padding: 12px 20px; background: var(--accent); color: #fff;
  border: none; border-radius: 10px; font-weight: 600; cursor: pointer;
  font-family: var(--font-body); transition: background .2s; white-space: nowrap;
}
.newsletter-form button:hover { background: #c44d21; }

/* ================================================================
   WOOCOMMERCE OVERRIDES
================================================================ */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info {
  border-top-color: var(--accent);
}
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce button.button.alt,
.woocommerce #payment #place_order {
  background-color: var(--ink);
  color: #fff;
  border-radius: var(--r);
  font-family: var(--font-body);
  font-weight: 500;
  padding: 10px 20px;
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce #payment #place_order:hover {
  background-color: var(--accent);
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.5rem;
}
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before {
  color: var(--gold);
}
.woocommerce ul.products li.product .price { color: var(--ink); }
.woocommerce ul.products li.product:hover { transform: translateY(-4px); }
.woocommerce ul.products li.product { transition: transform .3s; }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image { min-height: 50vw; }
  .hero-text { padding: 4rem 6vw; }
  .about-strip { grid-template-columns: 1fr; gap: 2rem; }
  .about-quote-box { right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .product-detail-content { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.nav-open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--canvas); border-bottom: 1px solid var(--border);
    padding: 1rem 5vw; gap: 1rem;
  }
  .section { padding: 3.5rem 6vw; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .admin-form-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   WORDPRESS ALIGNMENT CLASSES
================================================================ */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.82rem; color: var(--muted); text-align: center; margin-top: 4px; }
