/* Variables */
:root {
  --primary: #ff6b35;
  --primary-dark: #e85a25;
  --bg: #f7f8fb;
  --text: #101828;
  --muted: #667085;
  --card: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

h1, h2, h3, h4 {
  margin: 0 0 12px;
  color: var(--text);
}

p {
  margin: 0 0 12px;
  color: var(--muted);
}

.lead {
  font-size: 1.1rem;
  max-width: 720px;
}

.eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 20px rgba(255, 107, 53, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

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

.btn-link {
  color: var(--primary);
  font-weight: 700;
  padding: 0;
}

.btn-light {
  background: #fff;
  color: var(--text);
}

.icon-btn {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.icon-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--text);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  box-shadow: 0 8px 16px rgba(17, 24, 39, 0.2);
}

.logo-text {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
}

.site-footer .logo {
  color: #fff;
  gap: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: #f1f5f9;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 0.75rem;
  font-weight: 700;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.hamburger span {
  width: 18px;
  height: 2px;
  background: var(--text);
  display: block;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  padding: 0 16px 12px;
  border-bottom: 1px solid var(--border);
}

.mobile-menu a {
  padding: 10px 0;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu.open {
  display: flex;
}

.hero {
  position: relative;
  color: #fff;
  padding: 120px 0;
  min-height: 65vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0 0 24px 24px;
  overflow: hidden;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(16, 24, 40, 0.8), rgba(16, 24, 40, 0.4));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.grid {
  display: grid;
  gap: 24px;
}

.categories-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.why-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card {
  background: var(--card);
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  background: #eef1f6;
}

.card-body {
  padding: 18px;
}

.category-card h3 {
  margin-bottom: 8px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card img {
  height: 220px;
}

.product-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  color: var(--primary);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.price {
  font-weight: 800;
  color: var(--text);
  margin-top: 6px;
}

.deals {
  background: #0f172a;
  color: #fff;
  padding: 80px 0;
}

.deals .section-header h2,
.deals .section-header p {
  color: #fff;
}

.deals-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 0 20px;
}

.deal-card {
  border-radius: 20px;
  padding: 24px;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.25);
}

.deal-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(16, 24, 40, 0.6));
}

.deal-card > div {
  position: relative;
  z-index: 1;
  max-width: 340px;
}

.why-us .icon-card,
.promise .icon-card {
  text-align: center;
  padding: 24px;
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff3ec;
  color: var(--primary);
  font-size: 1.4rem;
  margin: 0 auto 12px;
  border: 1px solid var(--border);
}

.newsletter-card {
  background: linear-gradient(120deg, #fff, #f2f4f7);
  padding: 32px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.05);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  min-width: 240px;
  font-size: 1rem;
}

.form-message {
  font-size: 0.95rem;
  margin-top: 8px;
  color: var(--primary);
}

.site-footer {
  background: #0b1221;
  color: #cbd5e1;
  padding: 50px 0 20px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 10px;
}

.site-footer a {
  display: block;
  color: #cbd5e1;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #fff;
}

.copyright {
  text-align: center;
  margin-top: 24px;
  color: #94a3b8;
}

.page-hero {
  padding: 80px 0 40px;
  background-color: #f8fafc;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.page-hero.with-bg {
  color: #fff;
  border-bottom: none;
  background: linear-gradient(120deg, rgba(16, 24, 40, 0.8), rgba(16, 24, 40, 0.35)), var(--hero-bg, url('assets/img/home-aesthetic.jpg'));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
}

.page-hero.with-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(16, 24, 40, 0.85), rgba(16, 24, 40, 0.35));
}

.page-hero.with-bg .container {
  position: relative;
  z-index: 1;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.05);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
}

.filter-group select {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 1rem;
  color: var(--text);
}

.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
  align-items: start;
}

.product-main img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.thumb {
  width: 90px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.thumb.active,
.thumb:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.stars {
  letter-spacing: 2px;
  color: #f59e0b;
}

.muted {
  color: var(--muted);
}

.price-lg {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.feature-list {
  padding-left: 18px;
  margin: 0 0 16px;
  color: var(--muted);
}

.selectors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.pill-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pill.active {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 8px 18px rgba(255, 107, 53, 0.15);
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px 8px;
}

.qty-btn {
  background: #fff;
  border: none;
  font-size: 1.1rem;
  padding: 6px 10px;
  cursor: pointer;
  color: var(--text);
}

.qty-controls input {
  width: 48px;
  border: none;
  text-align: center;
  font-size: 1rem;
  color: var(--text);
}

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.tab-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.tab-btn {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.2s ease;
}

.tab-btn.active {
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 8px 18px rgba(255, 107, 53, 0.12);
}

.tab-panel {
  display: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}

.tab-panel.active {
  display: block;
}

.related {
  background: #f8fafc;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: center;
}

.about-image img {
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.05);
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff3ec;
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact-card {
  padding: 24px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  font-weight: 700;
  color: var(--text);
  display: grid;
  gap: 6px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 1rem;
  width: 100%;
  background: #fff;
}

.map img {
  border-radius: 12px;
  border: 1px solid var(--border);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  transform: translateY(0);
}

.slide-up {
  transform: translateY(24px);
}

/* Responsive */
@media (max-width: 1024px) {
  .product-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-actions .search-btn,
  .nav-actions .icon-btn:nth-child(2) {
    display: none;
  }

  .hamburger {
    display: inline-flex;
  }

  .hero {
    padding: 100px 0 80px;
  }

  .filter-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-card {
    align-items: flex-start;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-form input,
  .newsletter-form .btn {
    width: 100%;
  }
}
