/*
Theme Name: Boot Hub
Theme URI: https://boothub.com
Author: Boot Hub
Author URI: https://boothub.com
Description: A premium leather goods WooCommerce theme for Boot Hub — shoes, jackets, bags & accessories.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: boothub
Tags: e-commerce, woocommerce, leather, shop, minimal
*/

/* =============================================
   BOOT HUB — CORE STYLES
   ============================================= */

:root {
  --ink:       #1a1208;
  --tan:       #b07d4a;
  --cream:     #f5efe6;
  --parchment: #e8ddd0;
  --mid:       #7a6050;
  --display:   'Cormorant Garamond', serif;
  --body:      'Inter', sans-serif;
  --radius:    2px;
  --max:       1320px;
  --shadow:    0 8px 32px rgba(26,18,8,0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--body); background: var(--cream); color: var(--ink); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--body); cursor: pointer; }
ul { list-style: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 5vw; }
.section-eye { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--tan); margin-bottom: 0.6rem; display: block; }
.section-title { font-family: var(--display); font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 300; line-height: 1.08; margin-bottom: 1rem; }

/* ---- BUTTONS ---- */
.btn { display: inline-block; padding: 0.9rem 2.2rem; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; transition: all 0.22s; border: none; }
.btn-dark  { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--tan); }
.btn-outline { border: 1px solid var(--ink); color: var(--ink); background: none; }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-tan { background: var(--tan); color: var(--cream); }
.btn-tan:hover { background: #c4924f; }

/* ---- TOPBAR ---- */
.topbar { background: var(--ink); color: rgba(245,239,230,0.7); text-align: center; padding: 0.5rem 1rem; font-size: 0.72rem; letter-spacing: 0.1em; }
.topbar a { color: var(--tan); }

/* ---- HEADER / NAV ---- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(245,239,230,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--parchment);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 5vw; max-width: var(--max); margin: 0 auto;
}
.site-logo { font-family: var(--display); font-size: 1.6rem; font-weight: 700; letter-spacing: 0.1em; color: var(--ink); }
.site-logo span { color: var(--tan); }
.site-logo img { height: 40px; width: auto; }

.main-nav ul { display: flex; gap: 2.4rem; }
.main-nav a { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.65; transition: opacity 0.2s; }
.main-nav a:hover, .main-nav .current-menu-item a { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 1.2rem; }
.header-search { background: none; border: none; font-size: 1rem; opacity: 0.5; transition: opacity 0.2s; }
.header-search:hover { opacity: 1; }
.woo-cart-link { position: relative; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid var(--ink); padding: 0.55rem 1.1rem; transition: all 0.2s; }
.woo-cart-link:hover { background: var(--ink); color: var(--cream); }
.cart-count { position: absolute; top: -6px; right: -6px; background: var(--tan); color: #fff; font-size: 0.6rem; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.hamburger { display: none; background: none; border: none; font-size: 1.3rem; }

/* ---- HERO ---- */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 88vh; align-items: center;
  padding: 4rem 5vw; gap: 5rem; max-width: var(--max); margin: 0 auto;
}
.hero-eyebrow { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.hero-eyebrow span { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.5; }
.hero-line { flex: 1; height: 1px; background: var(--parchment); }
.hero h1 { font-family: var(--display); font-size: clamp(3.2rem, 5.5vw, 6rem); font-weight: 300; line-height: 1.04; margin-bottom: 1.6rem; }
.hero h1 em { font-style: italic; color: var(--tan); }
.hero-sub { font-size: 0.92rem; line-height: 1.85; opacity: 0.58; max-width: 40ch; margin-bottom: 2.5rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 2rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--parchment); }
.trust-item { font-size: 0.72rem; letter-spacing: 0.06em; opacity: 0.5; }
.trust-item strong { display: block; font-size: 1.1rem; font-family: var(--display); opacity: 1; color: var(--ink); margin-bottom: 0.15rem; }

.hero-media { position: relative; height: 600px; }
.hero-img-main {
  position: absolute; top: 0; left: 5%; width: 78%; height: 88%;
  background: linear-gradient(145deg,#c4945a 0%,#7a4a20 40%,#3d2210 100%);
  overflow: hidden;
}
.hero-img-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-accent {
  position: absolute; bottom: 0; right: 0; width: 50%; height: 56%;
  background: linear-gradient(145deg,#2c1a08 0%,#5a3820 50%,#8a5830 100%);
  box-shadow: var(--shadow); overflow: hidden;
}
.hero-img-accent img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; bottom: 22%; left: -4%;
  background: var(--tan); color: var(--cream);
  padding: 1rem 1.4rem; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(176,125,74,0.35);
  z-index: 2;
}
.img-placeholder { width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:3rem;opacity:0.2; }

/* ---- CATEGORIES BAR ---- */
.categories-bar { background: var(--ink); padding: 3.5rem 5vw; }
.categories-bar .container { display: flex; align-items: center; gap: 3rem; }
.cat-label-head { color: rgba(245,239,230,0.4); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; white-space: nowrap; flex-shrink: 0; }
.cat-pills { display: flex; gap: 1rem; flex-wrap: wrap; }
.cat-pill {
  padding: 0.6rem 1.6rem; border: 1px solid rgba(245,239,230,0.15); color: rgba(245,239,230,0.6);
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  transition: all 0.2s; cursor: pointer;
}
.cat-pill:hover, .cat-pill.active { background: var(--tan); border-color: var(--tan); color: #fff; }

/* ---- PRODUCTS SECTION ---- */
.products-section { padding: 6rem 0; }
.products-section .container {}
.products-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3rem; }
.products-header .right { font-size: 0.78rem; letter-spacing: 0.08em; opacity: 0.5; }

.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8rem; }

.product-card { position: relative; cursor: pointer; }
.product-card-img { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--parchment); margin-bottom: 1rem; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-img .img-placeholder { transition: transform 0.5s; }
.product-card:hover .product-card-img .img-placeholder { transform: scale(1.05); }

.product-actions {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(26,18,8,0.85); padding: 0.9rem;
  transform: translateY(100%); transition: transform 0.28s;
  display: flex; gap: 0.5rem;
}
.product-card:hover .product-actions { transform: translateY(0); }
.product-actions .btn { flex: 1; padding: 0.7rem; font-size: 0.68rem; text-align: center; }

.product-badge { position: absolute; top: 0.8rem; left: 0.8rem; background: var(--tan); color: #fff; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.6rem; }
.product-badge.sale { background: #c0392b; }
.product-wish { position: absolute; top: 0.8rem; right: 0.8rem; background: var(--cream); border: none; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; opacity: 0; transition: opacity 0.2s; }
.product-card:hover .product-wish { opacity: 1; }

.product-meta-row { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.42; margin-bottom: 0.25rem; }
.product-name { font-family: var(--display); font-size: 1.1rem; margin-bottom: 0.35rem; }
.product-price { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.product-price .old { text-decoration: line-through; opacity: 0.35; }
.product-price .sale-price { color: #c0392b; font-weight: 600; }

/* ---- BANNER STRIP ---- */
.banner-strip { background: var(--parchment); padding: 2rem 5vw; }
.banner-strip .container { display: flex; justify-content: space-around; align-items: center; gap: 2rem; flex-wrap: wrap; }
.strip-item { display: flex; align-items: center; gap: 0.8rem; }
.strip-icon { font-size: 1.4rem; }
.strip-text strong { display: block; font-size: 0.8rem; font-weight: 500; }
.strip-text span { font-size: 0.7rem; opacity: 0.5; }

/* ---- FEATURED ---- */
.featured { padding: 6rem 0; background: var(--ink); }
.featured .section-title { color: var(--cream); }
.featured-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; margin-top: 3rem; }
.featured-main { position: relative; aspect-ratio: 4/3; background: linear-gradient(145deg,#5c3418 0%,#2a1408 100%); overflow: hidden; }
.featured-main img { width:100%;height:100%;object-fit:cover; }
.featured-main-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,18,8,0.7) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; }
.featured-main-overlay h3 { font-family: var(--display); font-size: 2rem; color: var(--cream); font-weight: 300; }
.featured-main-overlay p { color: rgba(245,239,230,0.6); font-size: 0.82rem; margin: 0.4rem 0 1rem; }
.featured-side { display: flex; flex-direction: column; gap: 2rem; }
.featured-card { position: relative; flex: 1; background: linear-gradient(145deg,#3c2210 0%,#1e1008 100%); overflow: hidden; }
.featured-card img { width:100%;height:100%;object-fit:cover; }
.featured-card-label { position: absolute; bottom: 1.2rem; left: 1.2rem; }
.featured-card-label h4 { font-family: var(--display); font-size: 1.3rem; color: var(--cream); font-weight: 300; }
.featured-card-label p { font-size: 0.72rem; color: rgba(245,239,230,0.5); }

/* ---- STORY / ABOUT ---- */
.story-section { padding: 7rem 0; }
.story-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; align-items: center; }
.story-visuals { position: relative; height: 500px; }
.story-img-a { position: absolute; top: 0; left: 0; width: 70%; height: 85%; background: linear-gradient(135deg,#6b3f1e 0%,#2c160a 100%); }
.story-img-a img { width:100%;height:100%;object-fit:cover; }
.story-img-b { position: absolute; bottom: 0; right: 0; width: 52%; height: 58%; background: linear-gradient(135deg,#a07048 0%,#4a2c12 100%); box-shadow: var(--shadow); }
.story-img-b img { width:100%;height:100%;object-fit:cover; }
.story-stat-box { position: absolute; top: 28%; right: -8%; background: var(--cream); padding: 1.3rem 1.6rem; box-shadow: var(--shadow); text-align: center; border: 1px solid var(--parchment); }
.stat-big { font-family: var(--display); font-size: 2.8rem; font-weight: 700; color: var(--tan); line-height: 1; }
.stat-sm { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.45; }
.story-text p { font-size: 0.91rem; line-height: 1.9; opacity: 0.6; margin-bottom: 1.1rem; }
.story-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2.5rem; }
.pillar { background: var(--parchment); padding: 1.2rem; }
.pillar-icon { font-size: 1.3rem; margin-bottom: 0.4rem; }
.pillar-name { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; margin-bottom: 0.2rem; }
.pillar-desc { font-size: 0.78rem; opacity: 0.5; line-height: 1.5; }

/* ---- TESTIMONIALS ---- */
.testimonials { background: var(--parchment); padding: 6rem 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 3rem; }
.testimonial-card { background: var(--cream); padding: 2rem; border: 1px solid rgba(176,125,74,0.1); }
.stars { color: var(--tan); margin-bottom: 1rem; font-size: 0.85rem; }
.testimonial-text { font-family: var(--display); font-size: 1.1rem; line-height: 1.55; margin-bottom: 1.2rem; font-style: italic; }
.testimonial-author { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.45; }
.testimonial-author strong { display: block; opacity: 1; font-style: normal; margin-bottom: 0.1rem; font-size: 0.8rem; font-family: var(--display); color: var(--ink); font-weight: 400; }

/* ---- NEWSLETTER ---- */
.newsletter { background: var(--ink); padding: 5rem 0; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
.newsletter-text h2 { font-family: var(--display); font-size: 2.4rem; color: var(--cream); font-weight: 300; }
.newsletter-text h2 em { font-style: italic; color: var(--tan); }
.newsletter-text p { color: rgba(245,239,230,0.45); font-size: 0.85rem; margin-top: 0.4rem; }
.newsletter-form { display: flex; gap: 0; min-width: 340px; }
.newsletter-form input { flex: 1; padding: 1rem 1.4rem; background: rgba(245,239,230,0.07); border: 1px solid rgba(245,239,230,0.15); color: var(--cream); font-family: var(--body); font-size: 0.85rem; outline: none; }
.newsletter-form input::placeholder { color: rgba(245,239,230,0.3); }
.newsletter-form button { padding: 1rem 1.8rem; background: var(--tan); color: #fff; border: none; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--body); transition: background 0.2s; }
.newsletter-form button:hover { background: #c4924f; }

/* ---- FOOTER ---- */
.site-footer { background: #110d06; color: rgba(245,239,230,0.45); padding: 5rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand .footer-logo { font-family: var(--display); font-size: 1.6rem; color: var(--cream); margin-bottom: 1rem; }
.footer-brand .footer-logo span { color: var(--tan); }
.footer-brand p { font-size: 0.82rem; line-height: 1.8; max-width: 26ch; }
.footer-col h4 { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream); margin-bottom: 1.3rem; }
.footer-col li { margin-bottom: 0.65rem; }
.footer-col a { font-size: 0.82rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--tan); }
.footer-bottom { border-top: 1px solid rgba(245,239,230,0.07); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.75rem; }
.footer-social { display: flex; gap: 1.5rem; }
.footer-social a { transition: color 0.2s; }
.footer-social a:hover { color: var(--tan); }
.footer-payments { display: flex; gap: 0.5rem; align-items: center; }
.payment-badge { background: rgba(245,239,230,0.08); border: 1px solid rgba(245,239,230,0.1); padding: 0.25rem 0.6rem; font-size: 0.65rem; letter-spacing: 0.08em; border-radius: 2px; }

/* ---- WOOCOMMERCE OVERRIDES ---- */
.woocommerce .woocommerce-ordering select,
.woocommerce-page .woocommerce-ordering select { border: 1px solid var(--parchment); padding: 0.5rem 1rem; font-family: var(--body); background: var(--cream); }
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button { background: var(--ink) !important; color: var(--cream) !important; font-family: var(--body); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.75rem; border-radius: 0; padding: 0.9rem 2rem; transition: background 0.2s; }
.woocommerce a.button:hover,
.woocommerce button.button:hover { background: var(--tan) !important; }
.woocommerce a.button.alt,
.woocommerce button.button.alt { background: var(--tan) !important; }
.woocommerce a.button.alt:hover { background: var(--ink) !important; }
.woocommerce .star-rating span::before { color: var(--tan); }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span { border-radius: 0; font-family: var(--body); }
.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--tan); border-color: var(--tan); color: #fff; }
.woocommerce .products .product .price { color: var(--tan); }
.woocommerce-cart table.cart { font-family: var(--body); }
.woocommerce #respond input#submit { background: var(--ink) !important; color: var(--cream) !important; border-radius: 0; }
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle { background: var(--tan); }
.woocommerce .widget_price_filter .ui-slider-range { background: var(--tan); }

/* ---- SHOP PAGE ---- */
.shop-header { background: var(--parchment); padding: 4rem 0 3rem; }
.shop-header h1 { font-family: var(--display); font-size: clamp(2.5rem,4vw,4rem); font-weight: 300; }
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; padding: 4rem 0; }
.shop-sidebar { }
.sidebar-widget { margin-bottom: 2.5rem; }
.sidebar-widget h3 { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1.2rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--parchment); }

/* ---- SINGLE PRODUCT ---- */
.single-product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding: 4rem 0; }
.product-gallery-thumb-list { display: flex; gap: 0.6rem; margin-top: 0.8rem; }
.product-gallery-thumb { width: 70px; height: 85px; object-fit: cover; cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s; }
.product-gallery-thumb.active { border-color: var(--tan); }
.single-product-price { font-family: var(--display); font-size: 2rem; color: var(--tan); margin: 1rem 0; }
.size-grid { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1.2rem 0; }
.size-btn { width: 44px; height: 44px; border: 1px solid var(--parchment); background: none; font-size: 0.78rem; cursor: pointer; transition: all 0.18s; }
.size-btn:hover, .size-btn.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.add-to-cart-row { display: flex; gap: 1rem; margin-top: 1.5rem; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--parchment); }
.qty-control button { width: 40px; height: 48px; background: none; border: none; font-size: 1.1rem; cursor: pointer; }
.qty-control input { width: 48px; text-align: center; border: none; border-left: 1px solid var(--parchment); border-right: 1px solid var(--parchment); font-family: var(--body); font-size: 0.9rem; }

/* ---- MOBILE NAV ---- */
.mobile-nav { display: none; position: fixed; inset: 0; background: var(--cream); z-index: 500; flex-direction: column; padding: 5rem 2rem 2rem; gap: 2rem; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: var(--display); font-size: 2rem; font-weight: 300; opacity: 0.7; }
.mobile-nav a:hover { opacity: 1; color: var(--tan); }
.mobile-nav-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 2rem 5vw 4rem; }
  .hero-media { height: 320px; }
  .main-nav { display: none; }
  .hamburger { display: block; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .featured-grid { grid-template-columns: 1fr; }
  .story-inner { grid-template-columns: 1fr; }
  .story-visuals { height: 300px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .newsletter-inner { flex-direction: column; }
  .newsletter-form { min-width: unset; width: 100%; }
  .shop-layout { grid-template-columns: 1fr; }
  .single-product-layout { grid-template-columns: 1fr; }
  .categories-bar .container { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.6rem; }
}
