/* ==========================================================================
   Printable3D - Core Design System & Stylesheet
   Clean, modern, minimalist e-commerce catalogue for 3D printed goods.
   ========================================================================== */

/* --- Fonts & CSS Custom Properties --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Color Palette */
  --bg-body: #FAFBFB;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-muted: #E2E8F0;

  --text-main: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-subtle: #94A3B8;
  --text-inverse: #FFFFFF;

  --border-light: #E2E8F0;
  --border-subtle: #F1F5F9;
  --border-focus: #0F172A;

  /* Brand Accents */
  --brand-orange: #EA580C;
  --brand-orange-light: #FFF7ED;
  --brand-orange-hover: #C2410C;
  --brand-dark: #0F172A;
  --brand-dark-hover: #1E293B;

  /* WhatsApp Green */
  --whatsapp-green: #25D366;
  --whatsapp-hover: #20BA56;
  --whatsapp-dark: #075E54;
  --whatsapp-bg: #E8F8EE;

  /* Status & Badges */
  --badge-bg: #F1F5F9;
  --badge-text: #334155;
  --badge-accent-bg: #FEF3C7;
  --badge-accent-text: #92400E;

  /* Elevation Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 20px 32px -6px rgba(15, 23, 42, 0.12);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max: 1240px;
  --header-height: 72px;
  --announcement-height: 38px;
}

/* --- Global Reset & Box Sizing --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-main);
  background-color: var(--bg-body);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

img, svg, picture, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* --- Container & Grid Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* --- Announcement Bar --- */
.announcement-bar {
  background-color: var(--brand-dark);
  color: #F8FAFC;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  text-align: center;
  position: relative;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.announcement-bar a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #38BDF8;
  font-weight: 600;
  margin-left: 0.35rem;
}

.announcement-bar a:hover {
  color: #7DD3FC;
}

/* --- Navigation Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.5rem;
}

/* Brand Logo */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-icon-box {
  width: 38px;
  height: 38px;
  background: var(--brand-dark);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-dark);
  line-height: 1.1;
}

.brand-title span {
  color: var(--brand-orange);
}

.brand-sub {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Nav Links - Desktop */
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-dark);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--brand-dark);
  border-radius: 2px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-header-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  background-color: var(--whatsapp-green);
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 700;
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.btn-header-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.btn-header-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Mobile Toggle Button */
.btn-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background-color: var(--bg-surface);
  color: var(--text-main);
  transition: background-color var(--transition-fast);
}

@media (min-width: 860px) {
  .btn-mobile-toggle {
    display: none;
  }
}

.btn-mobile-toggle:hover {
  background-color: var(--bg-subtle);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background-color: #FFFFFF;
  z-index: 200;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: right var(--transition-slow);
  padding: 1.5rem;
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
}

.btn-drawer-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.drawer-link {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.drawer-link:hover,
.drawer-link.active {
  background-color: var(--bg-subtle);
  color: var(--brand-dark);
}

.drawer-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 190;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal);
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* --- Common Button Component Classes --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--brand-dark);
  color: var(--text-inverse);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--brand-dark-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: var(--text-muted);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-sm {
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  background-color: var(--badge-bg);
  color: var(--badge-text);
}

.badge-bestseller {
  background-color: #FEF3C7;
  color: #92400E;
}

.badge-new {
  background-color: #E0E7FF;
  color: #3730A3;
}

.badge-trending {
  background-color: #FCE7F3;
  color: #9D174D;
}

.badge-tech {
  background-color: #E0F2FE;
  color: #0369A1;
}

/* --- Hero Section --- */
.hero-section {
  padding: 3rem 0 4rem;
  background: radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(56, 189, 248, 0.05) 0%, transparent 40%),
              #FFFFFF;
  border-bottom: 1px solid var(--border-light);
}

@media (min-width: 900px) {
  .hero-section {
    padding: 5rem 0 6rem;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  align-self: flex-start;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  background-color: var(--brand-orange);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.2);
}

.hero-title {
  font-size: 2.25rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-dark);
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.hero-title span.highlight {
  color: var(--brand-orange);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 0.5rem;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-trust-item svg {
  color: var(--brand-orange);
  width: 18px;
  height: 18px;
}

/* Hero Visual / Interactive Showcase */
.hero-visual {
  position: relative;
}

.hero-card-featured {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-card-media {
  position: relative;
  background-color: var(--bg-subtle);
  aspect-ratio: 4/3;
  overflow: hidden;
}

.hero-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-card-featured:hover .hero-card-media img {
  transform: scale(1.04);
}

.hero-badge-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 5;
}

.hero-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-spec-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: -0.02em;
}

.hero-floating-stat {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-md);
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hero-floating-stat {
    display: flex;
  }
}

.stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--brand-orange-light);
  color: var(--brand-orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

/* --- Section Headers --- */
.section-header {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.section-header.text-center {
  text-align: center;
  align-items: center;
}

.section-tag {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-orange);
}

.section-title {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-dark);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
}

.section-header-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .section-header-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

/* --- Product Categories Section --- */
.categories-section {
  padding: 4rem 0;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.category-card {
  background-color: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.category-card:hover {
  background-color: #FFFFFF;
  border-color: var(--text-muted);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.category-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  transition: all var(--transition-fast);
}

.category-card:hover .category-icon-box {
  background-color: var(--brand-dark);
  color: #FFFFFF;
  border-color: var(--brand-dark);
}

.category-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.category-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Product Grid & Cards --- */
.products-section {
  padding: 4rem 0;
}

/* Mobile-first: 2 columns on mobile (min-width: 340px) as requested! */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 360px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

/* Product Card Component */
.product-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: var(--bg-subtle);
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-media img {
  transform: scale(1.05);
}

.product-badge-pos {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 2;
}

.product-content {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.4rem;
}

@media (min-width: 640px) {
  .product-content {
    padding: 1.15rem;
    gap: 0.5rem;
  }
}

.product-cat {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.6em;
}

@media (min-width: 640px) {
  .product-title {
    font-size: 1.05rem;
  }
}

.product-title a:hover {
  color: var(--brand-orange);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.rating-stars {
  color: #F59E0B;
  display: flex;
  align-items: center;
}

.rating-stars svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.product-desc-short {
  display: none;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .product-desc-short {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.product-price {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.product-price-original {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  text-decoration: line-through;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .product-actions {
    flex-direction: row;
    gap: 0.5rem;
  }
}

.btn-card-view {
  flex: 1;
  padding: 0.55rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-body);
  color: var(--text-main);
  text-align: center;
  transition: all var(--transition-fast);
}

.btn-card-view:hover {
  background-color: var(--bg-subtle);
  border-color: var(--text-muted);
}

.btn-card-whatsapp {
  flex: 1;
  padding: 0.55rem;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background-color: var(--whatsapp-green);
  color: #FFFFFF;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
}

.btn-card-whatsapp:hover {
  background-color: var(--whatsapp-hover);
}

.btn-card-whatsapp svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* --- Features / Why 3D Printing Section --- */
.features-section {
  padding: 4.5rem 0;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-item {
  padding: 1.75rem;
  background-color: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition-fast);
}

.feature-item:hover {
  border-color: #CBD5E1;
  background-color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--brand-orange-light);
  color: var(--brand-orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Custom 3D Print CTA Banner --- */
.cta-banner-section {
  padding: 4rem 0;
  background-color: var(--bg-body);
}

.cta-banner-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .cta-banner-card {
    padding: 3.5rem 3rem;
  }
}

.cta-banner-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cta-banner-title {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .cta-banner-title {
    font-size: 2.5rem;
  }
}

.cta-banner-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #CBD5E1;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* --- Filter & Search Toolbar (Shop Page) --- */
.shop-toolbar {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-xs);
}

.search-input-wrap {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-body);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.search-input:focus {
  background-color: #FFFFFF;
  border-color: var(--brand-dark);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.filter-categories-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.category-filter-btn {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background-color: var(--bg-body);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.category-filter-btn:hover {
  background-color: var(--bg-subtle);
  color: var(--text-main);
}

.category-filter-btn.active {
  background-color: var(--brand-dark);
  color: #FFFFFF;
  border-color: var(--brand-dark);
}

.shop-meta-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 640px) {
  .shop-meta-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.results-count {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.sort-select-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.sort-select {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  background-color: var(--bg-surface);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-md);
  margin: 2rem 0;
}

.empty-state-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  color: var(--text-muted);
}

.empty-state-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.empty-state-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto 1.5rem;
}

/* --- Product Detail Page --- */
.product-detail-section {
  padding: 2.5rem 0 4rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.breadcrumbs a:hover {
  color: var(--brand-dark);
}

.breadcrumbs svg {
  width: 12px;
  height: 12px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

/* Detail Gallery */
.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-main-image-wrap {
  position: relative;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.detail-main-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.detail-thumbnails {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
}

.detail-thumb {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-light);
  background-color: var(--bg-subtle);
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--transition-fast);
}

.detail-thumb.active {
  border-color: var(--brand-dark);
}

.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Detail Info */
.detail-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail-header-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.5rem;
}

.detail-title {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .detail-title {
    font-size: 2.25rem;
  }
}

.detail-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.detail-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.detail-original-price {
  font-size: 1.125rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.detail-tax-notice {
  font-size: 0.8125rem;
  color: #059669;
  font-weight: 600;
}

/* Color Picker */
.swatch-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.swatch-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.selected-color-name {
  font-weight: 600;
  color: var(--brand-orange);
}

.swatches-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.swatch-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  outline: 2px solid var(--border-light);
  cursor: pointer;
  position: relative;
  transition: transform var(--transition-fast), outline-color var(--transition-fast);
}

.swatch-btn:hover {
  transform: scale(1.1);
}

.swatch-btn.active {
  outline: 2px solid var(--brand-dark);
  transform: scale(1.1);
}

/* Quantity & CTA Box */
.order-action-box {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.quantity-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quantity-label {
  font-size: 0.875rem;
  font-weight: 700;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.btn-qty {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  transition: background-color var(--transition-fast);
}

.btn-qty:hover {
  background-color: var(--bg-subtle);
}

.qty-display {
  width: 44px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9375rem;
}

.btn-whatsapp-order {
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  background-color: var(--whatsapp-green);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-order:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-order svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.order-guarantee-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

/* Specifications Table */
.specs-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #FFFFFF;
}

.specs-title {
  padding: 1rem 1.25rem;
  background-color: var(--bg-body);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9375rem;
  font-weight: 700;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-subtle);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table th {
  text-align: left;
  padding: 0.75rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  width: 35%;
  background-color: #FAFAFA;
}

.specs-table td {
  padding: 0.75rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-main);
  font-family: 'JetBrains Mono', monospace;
}

/* --- About Us Page --- */
.about-hero {
  padding: 4rem 0 3rem;
  text-align: center;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
}

.about-story-section {
  padding: 4.5rem 0;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-story-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.story-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.story-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-dark);
  letter-spacing: -0.02em;
}

.story-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.stat-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.stat-box-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--brand-orange);
  line-height: 1.1;
}

.stat-box-desc {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* --- Contact Us Page --- */
.contact-section {
  padding: 3.5rem 0 5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
  }
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-channel-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: all var(--transition-fast);
}

.contact-channel-card:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.contact-channel-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-whatsapp-bg {
  background-color: var(--whatsapp-bg);
  color: var(--whatsapp-green);
}

.icon-email-bg {
  background-color: #EFF6FF;
  color: #2563EB;
}

.icon-insta-bg {
  background-color: #FDF2F8;
  color: #DB2777;
}

.contact-channel-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-channel-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.contact-channel-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brand-dark);
}

.contact-channel-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Contact / WhatsApp Form */
.contact-form-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
  .contact-form-card {
    padding: 2.5rem;
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-body);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  background-color: #FFFFFF;
  border-color: var(--brand-dark);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* FAQ Accordion */
.faq-section {
  padding: 4rem 0;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background-color: var(--bg-body);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: #CBD5E1;
  background-color: #FFFFFF;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
}

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* --- Site Footer --- */
.site-footer {
  background-color: #0F172A;
  color: #94A3B8;
  padding: 4.5rem 0 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 3rem;
  }
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand-title {
  color: #FFFFFF;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-brand-title span {
  color: var(--brand-orange);
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col-title {
  color: #FFFFFF;
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #94A3B8;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.footer-contact-item svg {
  color: var(--brand-orange);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: #64748B;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Floating WhatsApp Button for quick access */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--whatsapp-green);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.floating-whatsapp-btn:hover {
  background-color: var(--whatsapp-hover);
  transform: scale(1.08);
}

.floating-whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* --- Toast Notification --- */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: #0F172A;
  color: #FFFFFF;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* --- Strict Mobile Overflow Protection --- */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .btn {
    min-height: 44px; /* Touch-friendly tap targets */
  }

  .product-price {
    font-size: 1rem;
  }

  .btn-card-view, .btn-card-whatsapp {
    min-height: 38px;
  }
}
