/*
Theme Name: Fashion & Home
Theme URI: https://fashionandhome.example
Author: Devesol
Author URI: https://devesol.pl
Description: Industrial-chic WooCommerce theme for Fashion & Home — curated furniture, home décor and health supplements. Black + amber palette, Outfit typeface, bold uppercase headings.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
WC requires at least: 8.0
WC tested up to: 9.0
Text Domain: fashion-and-home
Tags: e-commerce, one-column, two-columns, custom-menu, featured-images, translation-ready
*/

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  --color-black: #1a1a1a;
  --color-accent: #d97706;
  --color-accent-dark: #b45309;
  --color-emerald: #059669;
  --color-emerald-dark: #047857;
  --color-bg: #f9fafb;
  --color-text: #111827;
  --color-white: #ffffff;
  --color-border: #e5e7eb;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1280px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.woocommerce-page,
body.single-product { background-color: var(--color-white); }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color 0.2s ease, background-color 0.2s ease; }

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 800; }

button, input, select, textarea { font-family: inherit; font-size: 100%; }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-black);
  box-shadow: 0 0 0 2px rgba(26, 26, 26, 0.12);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

/* ---- Custom scrollbar --------------------------------------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #aaa; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #666; }

/* ============================================================
   3. TYPOGRAPHY UTILITIES
   ============================================================ */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  display: block;
}

.eyebrow--emerald { color: var(--color-emerald-dark); }

.heading-xl {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.heading-lg {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary { background: var(--color-black); color: var(--color-white); }
.btn-primary:hover { background: var(--color-accent); color: var(--color-white); }

.btn-white { background: var(--color-white); color: var(--color-black); }
.btn-white:hover { background: var(--color-accent); color: var(--color-white); }

.btn-outline { background: transparent; color: var(--color-white); border-color: var(--color-white); }
.btn-outline:hover { background: var(--color-white); color: var(--color-black); }

.btn-accent { background: var(--color-accent); color: var(--color-white); }
.btn-accent:hover { background: var(--color-accent-dark); }

.btn-block { display: block; width: 100%; }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.7rem; }
.btn-disabled, .btn:disabled {
  background: #e5e7eb; color: #9ca3af; cursor: not-allowed;
}

/* ============================================================
   5. HEADER / NAVIGATION
   ============================================================ */
.site-header {
  background: var(--color-black);
  color: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 500;
  border-bottom: 1px solid #27272a;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.site-logo {
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
}
.site-logo:hover { color: var(--color-accent); }

.primary-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

.primary-menu li > a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #d1d5db;
}
.primary-menu li > a:hover { color: var(--color-accent); }
.primary-menu li.menu-item-object-product_cat a:hover { color: var(--color-emerald); }

@media (min-width: 768px) {
  .primary-menu { display: flex; }
  .menu-toggle { display: none; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ---- Mini cart --------------------------------------------- */
.mini-cart-wrapper { position: relative; }

.mini-cart-toggle {
  display: flex;
  align-items: center;
  position: relative;
  padding: 0.5rem;
  color: #d1d5db;
}
.mini-cart-toggle:hover { color: var(--color-white); }
.mini-cart-toggle svg { width: 1.5rem; height: 1.5rem; }

.cart-count.is-hidden { display: none; }

.cart-count {
  position: absolute;
  top: 0.05rem;
  right: 0.05rem;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 9999px;
  height: 1.15rem;
  min-width: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 0.2rem;
}

.mini-cart-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  padding-top: 0.75rem;
  width: 320px;
  z-index: 50;
}
.mini-cart-wrapper:hover .mini-cart-dropdown,
.mini-cart-wrapper:focus-within .mini-cart-dropdown { display: block; }

.mini-cart-panel {
  background: var(--color-white);
  color: var(--color-text);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.35);
  border: 1px solid var(--color-border);
}

.mini-cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #f9fafb;
  border-bottom: 1px solid #f3f4f6;
}
.mini-cart-head h3 { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.mini-cart-head span { font-size: 0.7rem; color: #9ca3af; }

.mini-cart-items { max-height: 14rem; overflow-y: auto; }
.mini-cart-items li {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f3f4f6;
}
.mini-cart-items li:hover { background: #f9fafb; }
.mini-cart-items img {
  height: 3rem; width: 3rem; object-fit: contain; background: #f3f4f6;
  border: 1px solid var(--color-border); border-radius: 4px; flex-shrink: 0;
}
.mini-cart-item-info { margin-left: 0.75rem; min-width: 0; }
.mini-cart-item-info p { margin: 0; font-size: 0.85rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-cart-item-info span { font-size: 0.75rem; color: #6b7280; }

.mini-cart-empty { padding: 1.5rem; text-align: center; color: #9ca3af; font-size: 0.9rem; }

.mini-cart-footer { padding: 1rem; border-top: 1px solid #f3f4f6; background: #f9fafb; }
.mini-cart-subtotal { display: flex; justify-content: space-between; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.75rem; }

/* ---- Mobile menu --------------------------------------------- */
.menu-toggle {
  background: none; border: none; padding: 0.5rem; color: #d1d5db; cursor: pointer;
}
.menu-toggle svg { width: 1.5rem; height: 1.5rem; }

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  border-top: 1px solid #27272a;
}
.mobile-menu.is-open { max-height: 24rem; }
.mobile-menu ul { padding: 0.75rem 1.5rem; }
.mobile-menu li > a {
  display: block; padding: 0.5rem 0; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.05em; color: #d1d5db;
}
.mobile-menu li > a:hover { color: var(--color-accent); }

@media (min-width: 768px) { .mobile-menu { display: none; } }

/* ============================================================
   6. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #111827;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.6), rgba(0,0,0,.3) 50%, rgba(0,0,0,.6));
}
.hero__content { position: relative; z-index: 1; max-width: 56rem; margin: 0 auto; padding: 0 1.5rem; text-align: center; color: var(--color-white); }
.hero__content p { max-width: 34rem; margin: 1.5rem auto 2.5rem; font-size: 1.125rem; font-weight: 300; color: #d1d5db; line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.hero .text-accent { color: var(--color-accent); }

.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  animation: bounceDown 1.6s ease-in-out infinite; color: rgba(255,255,255,.6);
}
@keyframes bounceDown { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ============================================================
   7. SECTIONS
   ============================================================ */
.section { padding: 5rem 0; }
.section--dark { background: #111827; color: var(--color-white); }
.section--emerald { background: #ecfdf5; }
.section--white { background: var(--color-white); }

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1rem; margin-bottom: 3rem;
}
.section-head a { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-accent); white-space: nowrap; }
.section-head a:hover { color: var(--color-black); }
.section--emerald .section-head a { color: var(--color-emerald-dark); }

.quote-block { max-width: 56rem; margin: 0 auto; text-align: center; font-size: 1.375rem; font-weight: 300; font-style: italic; color: #d1d5db; margin-bottom: 2.5rem; }

.trust-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem; }
.trust-badge { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center; }
.trust-badge svg { width: 2rem; height: 2rem; color: var(--color-accent); }
.trust-badge strong { font-size: 0.875rem; font-weight: 500; }
.trust-badge span { font-size: 0.75rem; color: #9ca3af; }

.cta-block { max-width: 42rem; margin: 0 auto; text-align: center; }
.cta-block p { color: #9ca3af; font-weight: 300; font-size: 1.125rem; line-height: 1.7; margin: 1.5rem 0 2rem; }

/* ============================================================
   8. PRODUCT GRID / CARDS
   ============================================================ */
.product-grid,
ul.products {
  display: grid !important;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin: 0 !important;
  padding: 0 !important;
}
@media (min-width: 640px) { .product-grid, ul.products { grid-template-columns: repeat(2, 1fr) !important; } }
@media (min-width: 1024px) { .product-grid, ul.products { grid-template-columns: repeat(4, 1fr) !important; } }
.shop-page ul.products { grid-template-columns: repeat(1,1fr) !important; }
@media (min-width: 640px) { .shop-page ul.products { grid-template-columns: repeat(2,1fr) !important; } }
@media (min-width: 1024px) { .shop-page ul.products { grid-template-columns: repeat(3,1fr) !important; } }
@media (min-width: 1280px) { .shop-page ul.products { grid-template-columns: repeat(4,1fr) !important; } }

.product-card,
ul.products li.product {
  background: var(--color-white);
  border: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  list-style: none;
}
.product-card:hover, ul.products li.product:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,.1); transform: translateY(-4px); }

.product-card__image,
ul.products li.product a.woocommerce-LoopProduct-link {
  position: relative;
  display: block;
  width: 100%;
  padding-bottom: 100%; /* square — a bit shorter than the original 4:5, and pairs better with object-fit: contain on mismatched photos */
  overflow: hidden;
  background: #f3f4f6;
}
.product-card__image img,
ul.products li.product img {
  position: absolute; inset: 0; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
  margin: 0 !important;
}
.product-card__image:hover img,
ul.products li.product a.woocommerce-LoopProduct-link:hover img { transform: scale(1.05); }

.product-card__placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: #f3f4f6; color: #d1d5db;
}

.product-card__body,
ul.products li.product .product-card__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card__cat { font-size: 0.7rem; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 0.25rem; }
.product-card__title {
  font-size: 0.875rem; font-weight: 600; line-height: 1.35; margin: 0 0 0.5rem; flex: 1;
}
.product-card__title a:hover { color: var(--color-accent); }
.product-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 0.75rem; border-top: 1px solid #f3f4f6;
}
.product-card__price,
.product-card__footer .price { font-size: 1rem; font-weight: 700; color: var(--color-text); }
.product-card__price ins { text-decoration: none; }
.product-card__price del { color: #9ca3af; font-weight: 400; font-size: 0.85rem; margin-right: 0.35rem; }

/* WooCommerce add-to-cart button inside loop cards */
ul.products li.product .add_to_cart_button,
.product-card .add-to-cart-btn {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  background: var(--color-black);
  color: var(--color-white) !important;
  padding: 0.4rem 0.85rem;
  border: none;
  cursor: pointer;
}
ul.products li.product .add_to_cart_button:hover,
.product-card .add-to-cart-btn:hover { background: var(--color-accent); }
ul.products li.product .button.loading::after { display: none; }

/* Skeleton loading */
.skeleton { background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%); background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite; border-radius: 4px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ============================================================
   9. SHOP / ARCHIVE PAGE
   ============================================================ */
.shop-header { text-align: center; margin-bottom: 2.5rem; }
.shop-header p { color: #6b7280; font-size: 0.875rem; }

.shop-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 2rem; }
.shop-tabs a {
  padding: 0.5rem 1rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em;
  font-weight: 700; background: #f3f4f6; color: #4b5563;
}
.shop-tabs a:hover { background: #e5e7eb; }
.shop-tabs a.is-active { background: var(--color-black); color: var(--color-white); }
.shop-tabs a.is-active--emerald { background: var(--color-emerald); color: var(--color-white); }

.woocommerce-result-count,
.woocommerce-ordering { display: none; } /* keep the shop page minimal, like the original design */

.woocommerce-notices-wrapper { max-width: var(--max-width); margin: 1.5rem auto 0; padding: 0 1.5rem; }

/* ============================================================
   10. SINGLE PRODUCT
   ============================================================ */
.breadcrumb { font-size: 0.85rem; color: #9ca3af; margin-bottom: 2rem; }
.breadcrumb a:hover { color: #374151; }
.breadcrumb span.current { color: #374151; }

.product-detail { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .product-detail { grid-template-columns: 1fr 1fr; align-items: flex-start; } }

.product-detail__image { width: 100%; aspect-ratio: 4/5; background: #f3f4f6; overflow: hidden; }
.product-detail__image img,
.product-detail__image .woocommerce-product-gallery,
.product-detail__image .woocommerce-product-gallery__wrapper,
.product-detail__image .woocommerce-product-gallery__image { width: 100%; height: 100%; }
.product-detail__image img { object-fit: contain; }
.product-detail__image .woocommerce-product-gallery { position: relative; }

/* ---- Summary column (hook-driven: title, price, stock, excerpt, cart) --- */
.summary .product_title { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 1rem; }
.summary .price { display: block; font-size: 1.875rem; font-weight: 300; color: var(--color-text); margin: 0 0 1.5rem; }
.summary .price del { font-size: 1.1rem; color: #9ca3af; margin-right: .5rem; font-weight: 300; }
.summary .price ins { text-decoration: none; }

.summary p.stock { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 1.5rem; font-size: 0.875rem; font-weight: 500; }
.summary p.stock::before { content: ''; width: 0.5rem; height: 0.5rem; border-radius: 9999px; background: #22c55e; flex-shrink: 0; }
.summary p.stock.in-stock,
.summary p.stock.available-on-backorder { color: #16a34a; }
.summary p.stock.out-of-stock { color: #ef4444; }
.summary p.stock.out-of-stock::before { background: #f87171; }

.summary .woocommerce-product-details__short-description { margin-bottom: 2rem; padding-top: 1.5rem; border-top: 1px solid #f3f4f6; color: #4b5563; line-height: 1.7; }
.summary .woocommerce-product-details__short-description p:first-child { margin-top: 0; }

.summary form.cart { display: flex; align-items: stretch; gap: 0.75rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.summary form.cart .quantity { display: flex; align-items: stretch; border: 1px solid #d1d5db; }
.summary form.cart .quantity .qty { width: 3.5rem; text-align: center; border: none; -moz-appearance: textfield; }
.summary form.cart button.single_add_to_cart_button {
  flex: 1; min-width: 10rem; background: var(--color-black); color: var(--color-white) !important;
  padding: 0.85rem 2rem; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 700; font-size: 0.8rem; border: none; cursor: pointer;
}
.summary form.cart button.single_add_to_cart_button:hover { background: var(--color-accent); }
.summary form.cart button.single_add_to_cart_button.disabled { background: #e5e7eb; color: #9ca3af !important; cursor: not-allowed; }

.summary .product_meta { padding-top: 1.5rem; border-top: 1px solid #f3f4f6; font-size: 0.8rem; color: #9ca3af; }
.summary .product_meta > span { display: block; margin-bottom: 0.35rem; }
.summary .product_meta a:hover { color: var(--color-black); }

.product-meta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; padding-top: 1.5rem; margin-bottom: 1.5rem; border-top: 1px solid #f3f4f6; font-size: 0.875rem; }
.product-meta-grid strong { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: #9ca3af; margin-bottom: 0.25rem; font-weight: 700; }

.shipping-note { border-top: 1px solid #f3f4f6; padding-top: 1.5rem; font-size: 0.875rem; color: #6b7280; }
.shipping-note p { margin: 0.25rem 0; }

.back-link-wrap { margin-top: 1rem; }
.back-link { display: inline-block; font-size: 0.85rem; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.05em; }
.back-link:hover { color: var(--color-black); }

/* WooCommerce default tabs / related products, restyled minimally */
.woocommerce-tabs { margin-top: 4rem; border-top: 1px solid var(--color-border); padding-top: 2rem; }
.woocommerce-tabs ul.tabs { display: flex; gap: 2rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--color-border); }
.woocommerce-tabs ul.tabs li { padding-bottom: 0.75rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; color: #9ca3af; cursor: pointer; }
.woocommerce-tabs ul.tabs li.active { color: var(--color-black); border-bottom: 2px solid var(--color-black); }
.related.products { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--color-border); }
.related.products > h2 { font-size: 1.5rem; text-transform: uppercase; margin-bottom: 2rem; }

/* ============================================================
   11. CART / CHECKOUT
   ============================================================ */
.cart-collaterals,
.woocommerce-cart-form { background: transparent; }

table.shop_table { width: 100%; border-collapse: collapse; }
table.shop_table th { text-align: left; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: #9ca3af; padding-bottom: 1rem; border-bottom: 1px solid var(--color-border); }
table.shop_table td { padding: 1.25rem 0.5rem; border-bottom: 1px solid var(--color-border); vertical-align: middle; }
table.shop_table td.product-thumbnail img { width: 5rem; height: 5rem; object-fit: contain; background: #f9fafb; border: 1px solid var(--color-border); }
table.shop_table td.product-name a { font-weight: 600; }
table.shop_table td.product-name a:hover { color: var(--color-accent); }
table.shop_table .quantity input.qty { width: 3.5rem; text-align: center; border: 1px solid #d1d5db; padding: 0.4rem; }
table.shop_table .product-remove a { color: #9ca3af; }
table.shop_table .product-remove a:hover { color: #dc2626; }

.cart-collaterals .cart_totals { background: var(--color-white); border: 1px solid var(--color-border); padding: 1.5rem; }
.cart_totals h2 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1.25rem; }
.cart_totals table { border: none; }
.cart_totals table th, .cart_totals table td { border: none; border-top: 1px solid var(--color-border); padding: 0.75rem 0; }
.wc-proceed-to-checkout a.checkout-button {
  display: block; width: 100%; text-align: center; background: var(--color-black); color: var(--color-white);
  padding: 1rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; font-size: 0.85rem;
}
.wc-proceed-to-checkout a.checkout-button:hover { background: var(--color-accent); }

.woocommerce-checkout #payment { background: var(--color-white); border: 1px solid var(--color-border); }
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  border: 1px solid #d1d5db; padding: 0.6rem 0.75rem; width: 100%;
}
.woocommerce-checkout #place_order {
  background: var(--color-black); color: var(--color-white); text-transform: uppercase;
  letter-spacing: 0.1em; font-weight: 700; padding: 1rem 2rem; border: none;
}
.woocommerce-checkout #place_order:hover { background: var(--color-accent); }

.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-top-color: var(--color-accent) !important;
  background: var(--color-white);
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--color-accent) !important; }

/* ============================================================
   12. EMPTY STATES
   ============================================================ */
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 6rem 1rem; text-align: center; }
.empty-state svg { width: 4rem; height: 4rem; color: #d1d5db; margin-bottom: 1.5rem; }
.empty-state p { color: #6b7280; font-size: 1.125rem; margin-bottom: 1.5rem; }

/* ============================================================
   13. FOOTER
   ============================================================ */
.site-footer { background: var(--color-black); color: #9ca3af; padding: 3.5rem 0; border-top: 1px solid #27272a; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; font-size: 0.875rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand h3 { color: var(--color-white); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.footer-brand p { max-width: 22rem; line-height: 1.7; }

.footer-col h4 { color: var(--color-white); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a:hover { color: var(--color-white); }

.newsletter-form { display: flex; }
.newsletter-form input {
  background: #27272a; border: none; color: var(--color-white); padding: 0.6rem 0.75rem; width: 100%; font-size: 0.875rem;
}
.newsletter-form input:focus { box-shadow: 0 0 0 1px var(--color-accent); }
.newsletter-form button {
  background: var(--color-accent); color: var(--color-white); border: none; padding: 0 1rem;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; flex-shrink: 0;
}
.newsletter-form button:hover { background: var(--color-accent-dark); }
.footer-note { margin-top: 1rem; font-size: 0.75rem; color: #6b7280; }

.site-footer__bottom {
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #27272a;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  font-size: 0.75rem; text-align: center;
}
@media (min-width: 768px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; } }
.site-footer__bottom p:last-child { color: #6b7280; }

/* ============================================================
   14. BLOG / PAGE / 404
   ============================================================ */
.entry-content { max-width: 48rem; margin: 0 auto; padding: 4rem 0; line-height: 1.75; }
.entry-content h1, .entry-content h2, .entry-content h3 { text-transform: uppercase; margin: 2rem 0 1rem; }
.entry-content img { margin: 1.5rem 0; }

.blog-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 4rem 0; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
.blog-card__thumb { aspect-ratio: 4/3; background: #f3f4f6; overflow: hidden; margin-bottom: 1rem; }
.blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card h2 { font-size: 1.25rem; text-transform: none; margin-bottom: 0.5rem; }
.blog-card h2 a:hover { color: var(--color-accent); }
.blog-card .entry-meta { font-size: 0.75rem; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }

.not-found { text-align: center; padding: 6rem 1.5rem; }
.not-found h1 { font-size: 6rem; color: #e5e7eb; }
