/* Maker Theme - Handmade & Craft */
/* Rustic, authentic design for artisan products */

@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@400;500;600;700&family=Merriweather:wght@300;400;700&family=Source+Sans+Pro:wght@300;400;600&display=swap');

:root {
  --primary: #92400E;
  --primary-rgb: 146, 64, 14;
  --primary-dark: #78350F;
  --hov-primary: #78350F;
  --soft-primary: rgba(146, 64, 14, 0.1);
  --secondary: #78350F;
  --accent: #D97706;
  --success: #059669;
  --warning: #F59E0B;
  --danger: #DC2626;
  --light: #FFFBEB;
  --dark: #292524;
  --gray: #78716C;
  --gray-light: #D6D3D1;
  --background: #FAFAF9;
  --card-bg: #FFFFFF;
  --border-color: #E7E5E4;
  --border-radius: 4px;
  --header-bg: #292524;
  --footer-bg: #1C1917;
  --font-primary: 'Source Sans Pro', sans-serif;
  --font-heading: 'Bitter', serif;
  --font-accent: 'Merriweather', serif;
  --radius-sm: 0.125rem;
  --radius-md: 0.25rem;
  --radius-lg: 0.375rem;
  --radius-xl: 0.5rem;
}

body {
  font-family: var(--font-primary);
  background: var(--background);
  color: var(--dark);
  line-height: 1.7;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--secondary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* Header */
.top-navbar, header, .header {
  background: var(--header-bg) !important;
  border-bottom: none;
}

.navbar-brand, .logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: #FFFFFF !important;
  letter-spacing: 0.5px;
}

.nav-link {
  font-weight: 400;
  color: rgba(255,255,255,0.85) !important;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.nav-link:hover {
  color: var(--accent) !important;
}

/* Buttons */
.btn-primary, .btn-landing-primary {
  background: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
}

.btn-primary:hover {
  background: var(--secondary);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

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

.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  border-radius: var(--radius-sm);
}

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

/* Cards */
.card, .product-card {
  background: var(--card-bg);
  border: 1px solid #E7E5E4;
  border-radius: var(--radius-md);
  box-shadow: none;
  transition: all 0.2s ease;
}

.card:hover, .product-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(146, 64, 14, 0.1);
}

.product-card .product-image {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
}

.product-card .product-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--secondary);
}

.product-card .product-price {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.125rem;
}

/* Hero Section */
.hero-section, .banner-section {
  background: var(--secondary);
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40' fill='%23D97706' fill-opacity='0.05'/%3E%3C/svg%3E");
}

/* Categories */
.category-card {
  background: var(--card-bg);
  border: 1px solid #E7E5E4;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.2s;
}

.category-card:hover {
  border-color: var(--primary);
  background: #FFFBEB;
}

.category-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* Footer */
footer, .footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 1.5rem;
}

footer h5, .footer h5, .footer-title {
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

footer a, .footer a {
  color: rgba(255,255,255,0.65);
}

footer a:hover, .footer a:hover {
  color: var(--accent);
}

/* Override primary background color for navbar */
.bg-primary {
  background-color: var(--primary) !important;
}

/* Badges */
.badge-primary, .badge.bg-primary {
  background: var(--primary) !important;
}

.badge-sale {
  background: var(--accent);
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
}

/* Forms */
.form-control {
  border: 1px solid #D6D3D1;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(146, 64, 14, 0.1);
}

/* Section styling */
.section-title {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

/* Price styling */
.price-tag {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--primary);
}

.old-price {
  color: var(--gray);
  text-decoration: line-through;
}

/* Handmade badge */
.handmade-badge {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--primary);
  font-size: 0.875rem;
}
