/* ===========================================
   Thread & Thimble Supply - Main Stylesheet
   =========================================== */

/* --- CSS Variables --- */
:root {
  --primary: #1a4d2e;
  --primary-dark: #133b23;
  --primary-light: #2d6b44;
  --secondary: #b55a5a;
  --secondary-light: #c97a7a;
  --accent: #d4a574;
  --text: #1a1a1a;
  --text-secondary: #555555;
  --text-muted: #888888;
  --bg: #ffffff;
  --bg-cream: #faf8f5;
  --bg-warm: #f5f3ef;
  --border: #e5e2dc;
  --border-light: #f0eeea;
  --success: #2d6b44;
  --error: #b55a5a;
  --warning: #c9963a;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
  --container: 1280px;
  --container-narrow: 800px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
button { cursor: pointer; font-family: inherit; }
input, select, textarea {
  font-family: inherit;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  background: var(--bg);
  color: var(--text);
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,77,46,0.1);
}
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
ul, ol { list-style: none; }

/* --- Layout --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); }
.section { padding: 72px 0; }
.section-header { text-align: center; margin-bottom: 48px; max-width: 640px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-family: var(--font-heading); font-size: 32px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.section-header p { color: var(--text-secondary); font-size: 16px; }
.section-tag { display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--secondary); margin-bottom: 12px; }
.section-footer { text-align: center; margin-top: 40px; }
.page-header { background: var(--bg-cream); padding: 48px 0 40px; }
.page-header h1 { font-family: var(--font-heading); font-size: 36px; font-weight: 600; margin-bottom: 8px; }
.page-header .page-desc { color: var(--text-secondary); font-size: 16px; }
.breadcrumb { margin-bottom: 16px; }
.breadcrumb ol { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb li { font-size: 13px; color: var(--text-muted); }
.breadcrumb li a:hover { color: var(--primary); }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 8px; color: var(--border); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: white; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: white; }
.btn-secondary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background: var(--primary); color: white; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--bg-cream); }
.btn-text { background: none; border: none; color: var(--text-secondary); padding: 8px 12px; text-decoration: underline; text-underline-offset: 3px; }
.btn-text:hover { color: var(--primary); }
.btn-block { width: 100%; }
.btn svg { flex-shrink: 0; }

/* --- Announcement Bar --- */
.announcement-bar { background: var(--primary); color: white; text-align: center; padding: 8px 0; font-size: 13px; font-weight: 500; }
.announcement-bar p { margin: 0; }

/* --- Header --- */
.header { background: var(--bg); border-bottom: 1px solid var(--border-light); position: sticky; top: 0; z-index: 100; }
.header-container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 40px; width: auto; }
.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a { display: block; padding: 8px 12px; font-size: 13px; font-weight: 500; color: var(--text); border-radius: var(--radius-sm); transition: all var(--transition); white-space: nowrap; }
.nav-list a:hover { background: var(--bg-cream); color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-sm); color: var(--text); transition: all var(--transition); position: relative; }
.icon-btn:hover { background: var(--bg-cream); color: var(--primary); }
.cart-btn .cart-count { position: absolute; top: 2px; right: 2px; background: var(--secondary); color: white; font-size: 10px; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.mobile-menu-toggle { display: none; background: none; border: none; padding: 8px; color: var(--text); }

/* --- Mobile Menu --- */
.mobile-menu { position: fixed; top: 0; left: 0; width: 320px; max-width: 85vw; height: 100vh; background: var(--bg); z-index: 200; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; }
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border-light); }
.mobile-menu-close { background: none; border: none; padding: 8px; color: var(--text); }
.mobile-nav { padding: 12px 0; }
.mobile-nav a { display: block; padding: 12px 20px; font-size: 15px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--border-light); }
.mobile-nav a:hover { background: var(--bg-cream); color: var(--primary); }
.mobile-menu-footer { padding: 16px 20px; border-top: 1px solid var(--border-light); }
.mobile-menu-footer a { display: block; padding: 8px 0; font-size: 14px; color: var(--text-secondary); }
.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 199; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.mobile-overlay.active { opacity: 1; visibility: visible; }

/* --- Hero --- */
.hero { position: relative; background: var(--bg-cream); overflow: hidden; }
.hero-pattern { position: absolute; inset: 0; opacity: 0.03; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero .container { position: relative; z-index: 1; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 80px 0; }
.hero-tag { display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--secondary); margin-bottom: 16px; }
.hero h1 { font-family: var(--font-heading); font-size: 48px; font-weight: 700; line-height: 1.15; color: var(--text); margin-bottom: 20px; }
.hero-desc { font-size: 17px; color: var(--text-secondary); margin-bottom: 32px; max-width: 500px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-trust .trust-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-secondary); }
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-product-showcase { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; width: 100%; }
.showcase-item { animation: floatUp 0.8s ease forwards; opacity: 0; transform: translateY(30px); animation-delay: var(--delay); }
.showcase-img { aspect-ratio: 3/4; border-radius: var(--radius-lg); object-fit: cover; object-position: center; box-shadow: var(--shadow-md); width: 100%; height: 100%; }

@keyframes floatUp { to { opacity: 1; transform: translateY(0); } }

/* --- Categories --- */
.section-categories { background: var(--bg); }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-card { display: block; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); transition: all var(--transition); text-decoration: none; }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.category-img { aspect-ratio: 16/10; object-fit: cover; object-position: center; width: 100%; display: block; }
.category-info { padding: 16px; }
.category-info h3 { font-family: var(--font-heading); font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.category-count { font-size: 13px; color: var(--text-muted); }

/* --- Product Grid --- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { background: var(--bg); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-light); transition: all var(--transition); position: relative; }
.product-card:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateY(-2px); }
.product-image { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-cream); cursor: pointer; }
.product-image .p-img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.4s ease; }
.product-card:hover .product-image .p-img { transform: scale(1.05); }
.product-badge { position: absolute; top: 10px; left: 10px; background: var(--secondary); color: white; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px; z-index: 2; }
.product-badge.badge-new { background: var(--primary); }
.product-badge.badge-sale { background: var(--secondary); }
.product-badge.badge-bundle { background: var(--accent); color: var(--text); }
.product-actions-hover { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%) translateY(10px); opacity: 0; transition: all var(--transition); display: flex; gap: 6px; z-index: 2; }
.product-card:hover .product-actions-hover { opacity: 1; transform: translateX(-50%) translateY(0); }
.btn-quick-add { background: var(--bg); color: var(--text); border: none; padding: 8px 16px; font-size: 12px; font-weight: 600; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); white-space: nowrap; }
.btn-quick-add:hover { background: var(--primary); color: white; }
.product-info { padding: 16px; }
.product-category-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 4px; }
.product-name { font-family: var(--font-heading); font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.product-name:hover { color: var(--primary); }
.product-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.product-price-row { display: flex; align-items: center; gap: 8px; }
.product-price { font-size: 16px; font-weight: 700; color: var(--text); }
.product-compare { font-size: 14px; color: var(--text-muted); text-decoration: line-through; }

/* --- Essentials Section --- */
.section-essentials { background: var(--bg-cream); }

/* --- Beginner Kits Section --- */
.section-kits { background: var(--bg); }
.kits-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.kits-content h2 { font-family: var(--font-heading); font-size: 32px; font-weight: 600; margin-bottom: 16px; }
.kits-content p { color: var(--text-secondary); margin-bottom: 24px; }
.kits-features { list-style: none; margin-bottom: 32px; }
.kits-features li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--text); font-size: 15px; }
.kits-features li svg { color: var(--primary); flex-shrink: 0; }
.kits-image { border-radius: var(--radius-lg); overflow: hidden; }
.kits-img-bg { aspect-ratio: 4/3; object-fit: cover; object-position: center; border-radius: var(--radius-lg); width: 100%; display: block; }

/* --- Featured Section --- */
.section-featured { background: var(--bg-cream); }

/* --- Bundles Section --- */
.bundle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.bundle-card { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: all var(--transition); }
.bundle-card:hover { box-shadow: var(--shadow-md); border-color: transparent; }
.bundle-image { aspect-ratio: 1; overflow: hidden; }
.bundle-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.bundle-info { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.bundle-info h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.bundle-info p { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; }
.bundle-price { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.bundle-save { font-size: 13px; color: var(--secondary); font-weight: 600; margin-bottom: 16px; }
.bundle-items { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }

/* --- Tools Section --- */
.section-tools { background: var(--bg); }

/* --- Embroidery Section --- */
.section-embroidery { background: var(--bg-cream); }
.embroidery-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.embroidery-image { border-radius: var(--radius-lg); overflow: hidden; }
.embroidery-img-bg { aspect-ratio: 4/3; object-fit: cover; object-position: center; border-radius: var(--radius-lg); width: 100%; display: block; }
.embroidery-content h2 { font-family: var(--font-heading); font-size: 32px; font-weight: 600; margin-bottom: 16px; }
.embroidery-content p { color: var(--text-secondary); margin-bottom: 28px; }
.embroidery-features { display: grid; gap: 16px; margin-bottom: 32px; }
.ef-item strong { display: block; font-size: 15px; color: var(--text); margin-bottom: 2px; }
.ef-item span { font-size: 14px; color: var(--text-secondary); }

/* --- Storage Section --- */
.section-storage { background: var(--bg); }

/* --- Trust Section --- */
.section-trust { background: var(--bg-cream); }
.trust-layout { max-width: 900px; margin: 0 auto; text-align: center; }
.trust-content h2 { font-family: var(--font-heading); font-size: 32px; font-weight: 600; margin-bottom: 16px; }
.trust-content > p { color: var(--text-secondary); margin-bottom: 40px; max-width: 640px; margin-left: auto; margin-right: auto; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: left; }
.trust-item-box { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg); }
.trust-item-box svg { color: var(--primary); margin-bottom: 12px; }
.trust-item-box h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.trust-item-box p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* --- Tips Section --- */
.section-tips { background: var(--bg); }
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tip-card { padding: 32px; border: 1px solid var(--border); border-radius: var(--radius-md); text-align: center; transition: all var(--transition); }
.tip-card:hover { box-shadow: var(--shadow-md); border-color: transparent; }
.tip-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bg-cream); color: var(--primary); margin-bottom: 16px; }
.tip-card h3 { font-family: var(--font-heading); font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.tip-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* --- FAQ Preview --- */
.section-faq-preview { background: var(--bg-cream); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 20px 0; font-size: 16px; font-weight: 500; color: var(--text); background: none; border: none; cursor: pointer; text-align: left; }
.faq-question:hover { color: var(--primary); }
.faq-icon { transition: transform 0.3s ease; flex-shrink: 0; margin-left: 16px; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-answer.active { max-height: 300px; padding-bottom: 20px; }
.faq-answer p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* --- FAQ Page --- */
.faq-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; }
.faq-sidebar { position: sticky; top: 100px; align-self: start; }
.faq-sidebar h3 { font-family: var(--font-heading); font-size: 18px; font-weight: 600; margin-bottom: 16px; }
.faq-nav { display: flex; flex-direction: column; gap: 4px; margin-bottom: 32px; }
.faq-nav a { display: block; padding: 8px 12px; font-size: 14px; color: var(--text-secondary); border-radius: var(--radius-sm); transition: all var(--transition); }
.faq-nav a:hover { background: var(--bg-cream); color: var(--primary); }
.faq-contact-box { padding: 24px; background: var(--bg-cream); border-radius: var(--radius-md); }
.faq-contact-box h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.faq-contact-box p { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; }
.faq-section-title { font-family: var(--font-heading); font-size: 24px; font-weight: 600; margin: 40px 0 20px; }
.faq-section-title:first-of-type { margin-top: 0; }

/* --- Product Section --- */
.product-section { padding-top: 32px; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 24px; }
.product-images { position: sticky; top: 100px; align-self: start; }
.product-main-image { aspect-ratio: 1; background: var(--bg-cream); border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; }
.product-main-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.product-thumbnails { display: flex; gap: 8px; }
.product-thumb { width: 72px; height: 72px; border-radius: var(--radius-sm); border: 2px solid transparent; cursor: pointer; overflow: hidden; transition: all var(--transition); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.product-thumb:hover, .product-thumb.active { border-color: var(--primary); }
.product-info { padding-top: 8px; }
.product-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.product-category { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.product-title { font-family: var(--font-heading); font-size: 28px; font-weight: 600; margin-bottom: 8px; }
.product-subtitle { font-size: 15px; color: var(--text-secondary); margin-bottom: 16px; }
.product-price-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.product-price { font-size: 24px; font-weight: 700; }
.product-compare { font-size: 18px; color: var(--text-muted); text-decoration: line-through; }
.product-save { font-size: 14px; font-weight: 600; color: var(--secondary); }
.product-sku-stock { display: flex; gap: 16px; margin-bottom: 24px; font-size: 13px; color: var(--text-muted); }
.product-stock.in-stock { color: var(--success); }
.product-stock.out-stock { color: var(--error); }
.product-actions { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.quantity-selector { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.qty-btn { width: 40px; height: 44px; background: var(--bg-cream); border: none; font-size: 18px; font-weight: 500; color: var(--text); display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.qty-btn:hover { background: var(--border); }
.qty-input { width: 50px; height: 44px; border: none; text-align: center; font-weight: 600; font-size: 15px; -moz-appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.btn-add-cart { padding: 12px 36px; }
.product-shipping-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); padding: 12px 0; margin-bottom: 20px; }

/* --- Product Accordion --- */
.product-accordion { border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 0; font-size: 15px; font-weight: 600; color: var(--text); background: none; border: none; cursor: pointer; }
.accordion-trigger:hover { color: var(--primary); }
.accordion-icon { transition: transform 0.3s ease; }
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(180deg); }
.accordion-content { overflow: hidden; transition: max-height 0.3s ease; }
.accordion-body { padding-bottom: 20px; font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.accordion-body ul { list-style: disc; padding-left: 20px; margin: 8px 0; }
.accordion-body ul li { margin-bottom: 4px; }
.accordion-body p { margin-bottom: 8px; }

/* --- Product FAQ --- */
.section-product-faq { background: var(--bg-cream); padding: 48px 0; }
.section-related { padding: 48px 0; }

/* --- Contact Page --- */
.contact-section { padding: 48px 0 72px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h2 { font-family: var(--font-heading); font-size: 28px; font-weight: 600; margin-bottom: 16px; }
.contact-info > p { color: var(--text-secondary); margin-bottom: 32px; }
.contact-methods { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-method { display: flex; gap: 16px; }
.contact-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--bg-cream); color: var(--primary); flex-shrink: 0; }
.contact-detail h4 { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.contact-detail p { font-size: 14px; color: var(--text); }
.contact-detail a { color: var(--primary); }
.contact-note { font-size: 13px; color: var(--text-muted); }
.contact-help-box { padding: 24px; background: var(--bg-cream); border-radius: var(--radius-md); }
.contact-help-box h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.contact-help-box p { font-size: 14px; color: var(--text-secondary); }
.contact-form-wrapper { padding: 32px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg); }
.contact-form-wrapper h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 600; margin-bottom: 20px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .form-group { margin-bottom: 16px; }
.contact-form label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--text); }
.contact-form .form-note { font-size: 12px; color: var(--text-muted); margin-top: 12px; }

/* --- Track Order Page --- */
.track-section { padding: 48px 0 72px; }
.track-layout { max-width: 640px; margin: 0 auto; }
.track-form-wrapper { text-align: center; }
.track-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--bg-cream); color: var(--primary); margin-bottom: 20px; }
.track-form-wrapper h2 { font-family: var(--font-heading); font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.track-form-wrapper > p { color: var(--text-secondary); margin-bottom: 32px; }
.track-form { max-width: 480px; margin: 0 auto 32px; text-align: left; }
.track-form .form-group { margin-bottom: 16px; }
.track-form label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.track-help { padding: 24px; background: var(--bg-cream); border-radius: var(--radius-md); text-align: left; }
.track-help h4 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.track-help p { font-size: 14px; color: var(--text-secondary); }

/* Track Result */
.track-result { margin-top: 40px; }
.track-result-header { text-align: center; margin-bottom: 32px; }
.track-status-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--success); color: white; padding: 8px 16px; border-radius: 20px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.track-status-badge.status-delivered { background: var(--primary); }
.track-result-header h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.track-timeline { position: relative; padding-left: 28px; margin-bottom: 32px; }
.track-timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.timeline-step { position: relative; margin-bottom: 24px; }
.timeline-step:last-child { margin-bottom: 0; }
.timeline-dot { position: absolute; left: -28px; top: 4px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border); background: var(--bg); z-index: 1; }
.timeline-step.completed .timeline-dot { background: var(--success); border-color: var(--success); }
.timeline-step.completed .timeline-dot::after { content: ''; position: absolute; top: 4px; left: 4px; width: 4px; height: 7px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.timeline-content h4 { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.timeline-content p { font-size: 13px; color: var(--text-muted); }
.track-shipping-info { padding: 24px; background: var(--bg-cream); border-radius: var(--radius-md); margin-bottom: 24px; }
.track-shipping-info h4 { font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.shipping-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.shipping-info-item { display: flex; flex-direction: column; }
.shipping-label { font-size: 12px; color: var(--text-muted); }
.shipping-value { font-size: 14px; font-weight: 500; color: var(--text); }

/* --- Story Page --- */
.story-section { padding: 48px 0 72px; }
.story-intro { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.story-intro h2 { font-family: var(--font-heading); font-size: 32px; font-weight: 600; line-height: 1.3; }
.story-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.story-block-reverse .story-text { order: 2; }
.story-block-reverse .story-image { order: 1; }
.story-image { border-radius: var(--radius-lg); overflow: hidden; }
.story-img { aspect-ratio: 4/3; border-radius: var(--radius-lg); }
.workspace-img { background: linear-gradient(135deg, #e8ddd0, #d4c4b0); }
.quality-img { background: linear-gradient(135deg, #d4e0d4, #c0d4c0); }
.community-img { background: linear-gradient(135deg, #ddd4e0, #c8bdd0); }
.story-text h3 { font-family: var(--font-heading); font-size: 24px; font-weight: 600; margin-bottom: 16px; }
.story-text p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.7; }
.story-values { text-align: center; margin-bottom: 48px; }
.story-values h3 { font-family: var(--font-heading); font-size: 24px; font-weight: 600; margin-bottom: 32px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { padding: 32px 24px; border: 1px solid var(--border); border-radius: var(--radius-md); }
.value-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--bg-cream); color: var(--primary); margin-bottom: 16px; }
.value-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.story-cta { text-align: center; padding: 48px; background: var(--bg-cream); border-radius: var(--radius-md); }
.story-cta h3 { font-family: var(--font-heading); font-size: 24px; font-weight: 600; margin-bottom: 20px; }

/* --- Policy Pages --- */
.policy-section { padding: 48px 0 72px; }
.policy-content h2 { font-family: var(--font-heading); font-size: 22px; font-weight: 600; margin: 32px 0 16px; color: var(--text); }
.policy-content h3 { font-size: 17px; font-weight: 600; margin: 24px 0 12px; }
.policy-content p { color: var(--text-secondary); margin-bottom: 12px; line-height: 1.7; }
.policy-content ul { margin: 12px 0; padding-left: 24px; list-style: disc; }
.policy-content ul li { color: var(--text-secondary); margin-bottom: 8px; line-height: 1.6; }
.policy-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.policy-updated { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; display: block; }
.policy-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.policy-table th, .policy-table td { padding: 12px 16px; text-align: left; border: 1px solid var(--border); font-size: 14px; }
.policy-table th { background: var(--bg-cream); font-weight: 600; color: var(--text); }
.policy-table td { color: var(--text-secondary); }
.policy-footer { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted); }

/* --- Cart Page --- */
.cart-section { padding: 32px 0 72px; }
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; }
.cart-header-row { display: grid; grid-template-columns: 1fr 120px 100px; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.cart-item { display: grid; grid-template-columns: 1fr 120px 100px; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border-light); align-items: center; }
.cart-item-product { display: flex; gap: 16px; }
.cart-item-image { width: 80px; height: 80px; border-radius: var(--radius-sm); background: var(--bg-cream); flex-shrink: 0; overflow: hidden; }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cart-item-details h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.cart-item-details p { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.cart-item-remove { font-size: 12px; color: var(--secondary); background: none; border: none; text-decoration: underline; cursor: pointer; padding: 0; }
.cart-item-remove:hover { color: var(--error); }
.cart-item-qty { display: flex; align-items: center; }
.cart-item-qty .quantity-selector { height: 36px; }
.cart-item-qty .qty-btn { width: 32px; height: 36px; font-size: 14px; }
.cart-item-qty .qty-input { width: 40px; height: 36px; font-size: 14px; }
.cart-item-total { font-weight: 600; text-align: right; }
.cart-actions { display: flex; justify-content: space-between; padding-top: 20px; }
.cart-empty { text-align: center; padding: 64px 0; }
.cart-empty .empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 80px; height: 80px; border-radius: 50%; background: var(--bg-cream); color: var(--text-muted); margin-bottom: 20px; }
.cart-empty h2 { font-family: var(--font-heading); font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.cart-empty p { color: var(--text-secondary); margin-bottom: 24px; }
.cart-summary { padding: 28px; background: var(--bg-cream); border-radius: var(--radius-md); height: fit-content; position: sticky; top: 100px; }
.cart-summary h3 { font-family: var(--font-heading); font-size: 18px; font-weight: 600; margin-bottom: 20px; }
.summary-lines { margin-bottom: 16px; }
.summary-line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.summary-line span:first-child { color: var(--text-secondary); }
.shipping-progress { margin-bottom: 16px; }
.progress-bar { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; margin-bottom: 8px; }
.progress-fill { height: 100%; background: var(--primary); border-radius: 3px; transition: width 0.4s ease; }
.shipping-progress p { font-size: 12px; color: var(--text-muted); }
.summary-total { display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border); font-size: 18px; font-weight: 700; }
.summary-note { font-size: 12px; color: var(--text-muted); margin: 12px 0 20px; }
.btn-checkout { padding: 16px; font-size: 16px; }
.summary-trust { display: flex; justify-content: center; gap: 16px; margin-top: 16px; }
.summary-trust .trust-item { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-muted); }
.cart-recommendations { margin-top: 48px; }
.cart-recommendations h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 600; margin-bottom: 20px; }

/* --- Newsletter --- */
.section-newsletter { background: var(--bg-cream); padding: 48px 0; }
.newsletter-box { max-width: 640px; margin: 0 auto; text-align: center; }
.newsletter-box h2 { font-family: var(--font-heading); font-size: 28px; font-weight: 600; margin-bottom: 12px; }
.newsletter-box > p { color: var(--text-secondary); margin-bottom: 24px; }
.newsletter-form { display: flex; gap: 8px; margin-bottom: 12px; }
.newsletter-form input { flex: 1; }
.newsletter-note { font-size: 12px; color: var(--text-muted); }

/* --- Footer --- */
.footer { background: var(--bg-warm); border-top: 1px solid var(--border); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { display: inline-block; margin-bottom: 16px; }
.footer-logo img { height: 36px; }
.footer-tagline { font-family: var(--font-heading); font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.footer-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.footer-contact { font-size: 14px; }
.footer-contact a { color: var(--primary); }
.footer-nav h4 { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }
.footer-nav ul li { margin-bottom: 8px; }
.footer-nav ul li a { font-size: 14px; color: var(--text-secondary); transition: color var(--transition); }
.footer-nav ul li a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding: 24px 0; text-align: center; }
.footer-bottom p { font-size: 13px; color: var(--text-muted); }
.footer-legal { margin-top: 4px; font-size: 12px; }

/* --- Live Chat --- */
.live-chat { position: fixed; bottom: 24px; right: 24px; z-index: 150; }
.chat-toggle { width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: white; border: none; box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.chat-toggle:hover { background: var(--primary-dark); transform: scale(1.05); }
.chat-window { position: absolute; bottom: 72px; right: 0; width: 360px; max-width: calc(100vw - 48px); height: 480px; background: var(--bg); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; }
.chat-window.active { opacity: 1; visibility: visible; transform: translateY(0); }
.chat-header { display: flex; align-items: center; justify-content: space-between; padding: 16px; background: var(--primary); color: white; }
.chat-title { display: flex; align-items: center; gap: 10px; }
.chat-status { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; flex-shrink: 0; }
.chat-title strong { display: block; font-size: 14px; }
.chat-subtitle { display: block; font-size: 12px; opacity: 0.8; }
.chat-close { background: none; border: none; color: white; padding: 4px; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.chat-message { max-width: 85%; padding: 12px 16px; border-radius: var(--radius-md); font-size: 14px; line-height: 1.5; }
.chat-message-bot { background: var(--bg-cream); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-message-user { background: var(--primary); color: white; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-message p { margin-bottom: 4px; }
.chat-time { font-size: 11px; opacity: 0.6; }
.chat-suggestions { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 8px; }
.chat-suggestion { font-size: 12px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 20px; background: var(--bg); cursor: pointer; transition: all var(--transition); }
.chat-suggestion:hover { border-color: var(--primary); color: var(--primary); }
.chat-input-area { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border-light); }
.chat-input { flex: 1; border: 1px solid var(--border); border-radius: 20px; padding: 8px 16px; font-size: 14px; }
.chat-input:focus { border-color: var(--primary); }
.chat-send { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: white; border: none; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-send:hover { background: var(--primary-dark); }

/* --- Toast --- */
.toast { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--text); color: white; padding: 12px 24px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 160; white-space: nowrap; }
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* --- Checkout Header --- */
.checkout-header { background: var(--bg); border-bottom: 1px solid var(--border-light); padding: 16px 0; }
.checkout-header .container { display: flex; align-items: center; justify-content: space-between; }
.checkout-logo img { height: 36px; }
.checkout-steps { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.checkout-steps .step.active { color: var(--primary); font-weight: 600; }
.back-to-cart { font-size: 13px; color: var(--text-secondary); }

/* --- Checkout Footer --- */
.checkout-footer { border-top: 1px solid var(--border-light); padding: 24px 0; margin-top: 48px; text-align: center; }
.checkout-footer p { font-size: 12px; color: var(--text-muted); }
.checkout-legal-links { display: flex; justify-content: center; gap: 16px; margin-top: 8px; }
.checkout-legal-links a { font-size: 12px; color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }

/* --- Checkbox Labels --- */
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); cursor: pointer; margin-bottom: 12px; }
.checkbox-label input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); flex-shrink: 0; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 36px; }
  .hero-visual { order: -1; }
  .hero-product-showcase { max-width: 500px; margin: 0 auto; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .kits-layout, .embroidery-layout { grid-template-columns: 1fr; gap: 40px; }
  .kits-image, .embroidery-image { order: -1; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .tips-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .story-block { grid-template-columns: 1fr; gap: 32px; }
  .story-block-reverse .story-text, .story-block-reverse .story-image { order: unset; }
  .values-grid { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-sidebar { position: static; }
}

@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .section-header h2 { font-size: 26px; }
  .hero h1 { font-size: 30px; }
  .hero-content { padding: 48px 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .bundle-grid { grid-template-columns: 1fr; }
  .bundle-card { grid-template-columns: 1fr 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-header h1 { font-size: 28px; }
  .chat-window { width: calc(100vw - 48px); right: -12px; }
  .product-layout { grid-template-columns: 1fr; }
  .product-images { position: static; }
  .product-title { font-size: 22px; }
  .cart-header-row { display: none; }
  .cart-item { grid-template-columns: 1fr; gap: 12px; }
  .cart-item-total { text-align: left; }
  .story-intro h2 { font-size: 24px; }
  .checkout-steps { display: none; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .product-grid { grid-template-columns: 1fr; }
  .bundle-card { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .btn { padding: 10px 20px; font-size: 13px; }
}
