/* ========================================
   KIRPI 3D — Design System & Global Styles
   ======================================== */

/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap");

/* ── CSS Variables ── */
:root {
  --primary: #8f4e00;
  --primary-container: #ffb86b;
  --dark: #1b1c1c;
  --surface: #fbf9f8;
  --surface-low: #f5f3f3;
  --surface-high: #e4e2e1;
  --text-muted: #857470;
  --outline-variant: #dac2b1;
  --secondary: #4f6073;
  --secondary-container: #d2e4f0;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-ambient: 0 10px 40px rgba(27, 28, 28, 0.06);
  --shadow-card: 0 4px 20px rgba(27, 28, 28, 0.08);
  --transition: 0.2s ease;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", sans-serif;
  background: var(--surface);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  font-family: inherit;
}
input,
textarea,
select {
  font-family: inherit;
}

/* ── Typography ── */
h1,
h2,
h3,
h4,
h5 {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}
h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}
p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Design Tokens ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #8f4e00 0%, #ffb86b 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(143, 78, 0, 0.3);
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(143, 78, 0, 0.4);
}
.btn-secondary {
  background: var(--secondary-container);
  color: var(--dark);
}
.btn-secondary:hover {
  background: #b8d4e8;
}
.btn-ghost {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--outline-variant);
}
.btn-ghost:hover {
  background: var(--surface-high);
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}
.btn-full {
  width: 100%;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  background: var(--secondary-container);
  color: var(--secondary);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.chip-primary {
  background: rgba(143, 78, 0, 0.12);
  color: var(--primary);
}
.chip-success {
  background: #d1fae5;
  color: #065f46;
}
.chip-warning {
  background: #fef3c7;
  color: #92400e;
}
.chip-danger {
  background: #fee2e2;
  color: #991b1b;
}

.form-label {
  display: block;
  margin-bottom: 0.375rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--dark);
}
.input-field, .form-control {
  background: var(--surface-high);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-sm);
  padding: 0.625rem 0.875rem;
  width: 100%;
  font-size: 0.9375rem;
  color: var(--dark);
  transition: all var(--transition);
  font-family: inherit;
}
.input-field:focus, .form-control:focus {
  outline: 2px solid var(--primary);
  border-color: transparent;
  background: #fff;
}
.input-field::placeholder, .form-control::placeholder {
  color: var(--text-muted);
}
textarea.form-control {
  resize: vertical;
}

.glass-nav {
  background: rgba(251, 249, 248, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.shadow-ambient {
  box-shadow: var(--shadow-ambient);
}

/* ── Navbar ── */
.nav-spacer {
  height: 0;
}
.nav-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 72px;
  padding: 0 1.5rem;
}
/* ── Scroll-reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ── Hero badge float animation ── */
@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.hero-img-badge {
  animation: floatBadge 3s ease-in-out infinite;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo img {
  height: 40px;
  width: auto;
}
.nav-logo-text {
  display: flex;
  align-items: center;
}
.logo-kirpi {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--dark);
}
.logo-3d {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.375rem;
  background: linear-gradient(135deg, #8f4e00, #ffb86b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}
.nav-link {
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--dark);
  transition: all var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(143, 78, 0, 0.06);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--dark);
  transition: all var(--transition);
}
.nav-cart:hover {
  background: var(--surface-high);
}
.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--primary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Footer ── */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.85);
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding: 4rem 1.5rem 3rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.footer-logo .logo-kirpi {
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
}
.footer-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--primary);
  color: #fff;
}
.footer-heading {
  font-family: "Manrope", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--primary-container);
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}
.footer-contact svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--primary-container);
}
.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}
.footer-contact a:hover {
  color: var(--primary-container);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 1.5rem;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-admin-link {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.25);
  transition: color var(--transition);
}
.footer-admin-link:hover {
  color: rgba(255, 255, 255, 0.5);
}

/* ── Section Helpers ── */
.section {
  padding: 5rem 0;
}
.section-sm {
  padding: 3rem 0;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header .chip {
  margin-bottom: 0.75rem;
}
.section-header h2 {
  margin-bottom: 0.75rem;
}
.section-header p {
  max-width: 560px;
  margin: 0 auto;
}

/* ── Product Grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(27, 28, 28, 0.12);
}
.product-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface-low);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-img img {
  transform: scale(1.05);
}
.product-card-body {
  padding: 1rem 1.25rem 1.25rem;
}
.product-card-body .chip {
  margin-bottom: 0.5rem;
}
.product-card-name {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 0.375rem;
  line-height: 1.3;
}
.product-card-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  font-family: "Manrope", sans-serif;
}

/* ── Hero Section ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-chip {
  margin-bottom: 1.25rem;
}
.hero-title {
  margin-bottom: 1.25rem;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}
.hero-title span {
  background: linear-gradient(135deg, #8f4e00, #ffb86b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2.25rem;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-img {
  position: relative;
  height: 520px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.hero-img spline-viewer {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(143, 78, 0, 0.2);
}
.hero-img-badge {
  position: absolute;
  bottom: 1.5rem;
  left: -1.5rem;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 0.875rem 1.25rem;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}
.hero-img-badge .badge-num {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
}
.hero-img-badge .badge-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ── Process Steps ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.process-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  position: relative;
}
.process-num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--outline-variant);
  font-family: "Manrope", sans-serif;
}
.process-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(
    135deg,
    rgba(143, 78, 0, 0.1),
    rgba(255, 184, 107, 0.15)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--primary);
}
.process-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}
.process-card p {
  font-size: 0.875rem;
}

/* ── Reviews ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.review-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}
.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
  color: #f59e0b;
}
.review-text {
  font-size: 0.9375rem;
  color: var(--dark);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8f4e00, #ffb86b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
}
.review-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--dark);
}
.review-location {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ── CTA Section ── */
.cta-section {
  position: relative;
  padding: 6rem 0;
  text-align: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 28, 28, 0.72);
}
.cta-content {
  position: relative;
  z-index: 1;
  color: #fff;
}
.cta-content h2 {
  color: #fff;
  margin-bottom: 1rem;
}
.cta-content p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
}

/* ── Instagram Section ── */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  margin-top: 2rem;
}
.instagram-item {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background: var(--surface-high);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  overflow: hidden;
  transition: all var(--transition);
}
.instagram-item:hover {
  transform: scale(0.97);
  opacity: 0.85;
}
.instagram-follow {
  text-align: center;
  margin-top: 1.5rem;
}

/* ── Blog Cards ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(27, 28, 28, 0.12);
}
.blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-low);
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}
.blog-card-body {
  padding: 1.5rem;
}
.blog-card-date {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.blog-card-title {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-footer {
  padding: 0 1.5rem 1.25rem;
}
.blog-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

/* ── Page Hero ── */
.page-hero {
  padding: 4rem 0;
  background: var(--surface-low);
  text-align: center;
}
.page-hero h1 {
  margin-bottom: 0.75rem;
}
.page-hero p {
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.breadcrumb a {
  color: var(--primary);
}

/* ── Product Detail ── */
.product-detail {
  padding: 4rem 0;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.product-gallery {
  position: sticky;
  top: 90px;
}
.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-low);
  aspect-ratio: 1;
  margin-bottom: 0.75rem;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
}
.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-low);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--primary);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-info .chip {
  margin-bottom: 0.75rem;
}
.product-info h1 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 0.5rem;
}
.product-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  font-family: "Manrope", sans-serif;
  margin: 1rem 0;
}
.product-stock {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}
.stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}
.stock-dot.out {
  background: #ef4444;
}
.product-description {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.specs-table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 1.5rem;
}
.specs-table tr {
  border-bottom: 1px solid var(--surface-high);
}
.specs-table td {
  padding: 0.75rem 0;
  font-size: 0.9375rem;
}
.specs-table td:first-child {
  color: var(--text-muted);
  width: 40%;
}
.specs-table td:last-child {
  font-weight: 500;
}
.related-products {
  padding: 4rem 0;
  background: var(--surface-low);
}

/* ── Cart ── */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
  padding: 3rem 0;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin-bottom: 1rem;
}
.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-low);
  flex-shrink: 0;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-info {
  flex: 1;
}
.cart-item-name {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.25rem;
}
.cart-item-price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.0625rem;
}
.cart-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cart-qty button {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--outline-variant);
  background: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.cart-qty button:hover {
  background: var(--surface-high);
}
.cart-qty span {
  min-width: 32px;
  text-align: center;
  font-weight: 600;
}
.cart-remove {
  color: var(--text-muted);
  background: none;
  border: none;
  padding: 4px;
  transition: color var(--transition);
}
.cart-remove:hover {
  color: #ef4444;
}
.cart-summary {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 90px;
}
.cart-summary h3 {
  font-family: "Manrope", sans-serif;
  margin-bottom: 1.25rem;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--surface-high);
  font-size: 0.9375rem;
}
.summary-row:last-of-type {
  border: none;
  font-weight: 700;
  font-size: 1.0625rem;
}
.empty-cart {
  text-align: center;
  padding: 4rem 2rem;
}
.empty-cart-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

/* ── Checkout Form ── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  padding: 3rem 0;
  align-items: start;
}
.form-section {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 1.5rem;
}
.form-section h3 {
  font-family: "Manrope", sans-serif;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--surface-high);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.order-summary-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 90px;
}

/* ── Wizard ── */
.wizard {
  padding: 3rem 0;
}
.wizard-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
  gap: 0;
}
.wizard-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.wizard-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--outline-variant);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: all var(--transition);
  background: #fff;
}
.wizard-step.active .wizard-step-num {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.wizard-step.done .wizard-step-num {
  border-color: #10b981;
  background: #10b981;
  color: #fff;
}
.wizard-step-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}
.wizard-step.active .wizard-step-label {
  color: var(--primary);
}
.wizard-connector {
  width: 60px;
  height: 2px;
  background: var(--surface-high);
  margin: 0 0.5rem;
}
.wizard-panel {
  display: none;
}
.wizard-panel.active {
  display: block;
}
.wizard-card {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}
.wizard-card h2 {
  margin-bottom: 0.5rem;
}
.wizard-card > p {
  margin-bottom: 2rem;
}
.wizard-nav {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: space-between;
}
.upload-area {
  border: 2px dashed var(--outline-variant);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--surface-low);
}
.upload-area:hover {
  border-color: var(--primary);
  background: rgba(143, 78, 0, 0.03);
}
.upload-area.drag-over {
  border-color: var(--primary);
  background: rgba(143, 78, 0, 0.06);
}
.upload-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}
.upload-area p {
  margin-bottom: 0;
  font-size: 0.9375rem;
}
.upload-area span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ── Contact Page ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 4rem 0;
  align-items: start;
}
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-info-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(
    135deg,
    rgba(143, 78, 0, 0.1),
    rgba(255, 184, 107, 0.15)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-info-card h4 {
  font-family: "Manrope", sans-serif;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}
.contact-info-card p,
.contact-info-card a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
}
.contact-form-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}
.contact-form-card h2 {
  margin-bottom: 0.5rem;
}
.contact-form-card > p {
  margin-bottom: 2rem;
}
.success-banner {
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  color: #065f46;
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.error-banner {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  color: #991b1b;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* ── About Page ── */
.about-hero {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--surface-low) 0%, #fff 100%);
}
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.stat-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.stat-num {
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}
.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.value-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.value-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}
.value-card p {
  font-size: 0.875rem;
}

/* ── Policy Pages ── */
.policy-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.policy-content h1 {
  margin-bottom: 0.5rem;
}
.policy-content .policy-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}
.policy-content h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--dark);
}
.policy-content h3 {
  font-size: 1.0625rem;
  margin: 1.5rem 0 0.5rem;
}
.policy-content p {
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}
.policy-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.policy-content ul li {
  margin-bottom: 0.375rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  list-style: disc;
}

/* ── Category Filter ── */
.cat-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.cat-filter {
  padding: 0.5rem 1.125rem;
  border-radius: 9999px;
  border: 1.5px solid var(--outline-variant);
  background: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.cat-filter:hover,
.cat-filter.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ── Cookie Popup ── */
.cookie-popup {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(600px, calc(100vw - 2rem));
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(27, 28, 28, 0.3);
  animation: slideUp 0.3s ease;
}
.cookie-popup-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cookie-icon {
  font-size: 2rem;
}
.cookie-text {
  flex: 1;
  color: rgba(255, 255, 255, 0.85);
}
.cookie-text strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #fff;
}
.cookie-text p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}
.cookie-text a {
  color: var(--primary-container);
}
.cookie-actions {
  display: flex;
  gap: 0.625rem;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ── WhatsApp FAB ── */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* ── Alert / Status Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-pending {
  background: #fef3c7;
  color: #92400e;
}
.badge-confirmed {
  background: #dbeafe;
  color: #1e40af;
}
.badge-processing {
  background: #ede9fe;
  color: #5b21b6;
}
.badge-shipped {
  background: #d1fae5;
  color: #065f46;
}
.badge-delivered {
  background: #d1fae5;
  color: #065f46;
}
.badge-cancelled {
  background: #fee2e2;
  color: #991b1b;
}
.badge-in-progress {
  background: #dbeafe;
  color: #1e40af;
}
.badge-completed {
  background: #d1fae5;
  color: #065f46;
}
.badge-error {
  background: #fee2e2;
  color: #991b1b;
}
.badge-waiting {
  background: #fef3c7;
  color: #92400e;
}

/* ── Admin Layout ── */
.admin-body {
  display: flex;
  min-height: 100vh;
  background: #f0f2f5;
  font-family: "Inter", sans-serif;
}
.admin-sidebar {
  width: 260px;
  background: var(--dark);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  overflow-y: auto;
}
.admin-logo {
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.admin-badge {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--primary);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.admin-nav {
  flex: 1;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all var(--transition);
  text-decoration: none;
}
.admin-nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.admin-nav-link.active {
  background: var(--primary);
  color: #fff;
}
.admin-sidebar-footer {
  padding: 1rem 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-user-info {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.admin-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9375rem;
}
.admin-user-info span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}
.admin-logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition);
}
.admin-logout-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.admin-main {
  margin-left: 260px;
  flex: 1;
}
.admin-header {
  background: #fff;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-header h1 {
  font-size: 1.375rem;
  font-family: "Manrope", sans-serif;
}
.admin-content {
  padding: 2rem;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.stat-widget {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.stat-widget-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-widget-icon.orange {
  background: rgba(143, 78, 0, 0.12);
  color: var(--primary);
}
.stat-widget-icon.blue {
  background: rgba(79, 96, 115, 0.12);
  color: var(--secondary);
}
.stat-widget-icon.green {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}
.stat-widget-icon.purple {
  background: rgba(91, 33, 182, 0.12);
  color: #7c3aed;
}
.stat-widget-num {
  font-family: "Manrope", sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-widget-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.admin-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.admin-card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-card-header h3 {
  font-family: "Manrope", sans-serif;
  font-size: 1.0625rem;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 0.875rem 1.5rem;
  background: #f9f9f9;
  border-bottom: 1px solid #f0f0f0;
}
.admin-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f5f5f5;
  font-size: 0.9375rem;
  vertical-align: middle;
}
.admin-table tr:last-child td {
  border: none;
}
.admin-table tr:hover td {
  background: #fafafa;
}
.admin-table-actions {
  display: flex;
  gap: 0.5rem;
}
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27, 28, 28, 0.5);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal {
  background: #fff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 80px rgba(27, 28, 28, 0.2);
  transform: translateY(20px);
  transition: transform var(--transition);
}
.modal-overlay.open .modal {
  transform: translateY(0);
}
.modal-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--surface-high);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.modal-header h3 {
  font-family: "Manrope", sans-serif;
}
.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.modal-close:hover {
  background: var(--surface-high);
  color: var(--dark);
}
.modal-body {
  padding: 1.75rem;
}
.modal-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--surface-high);
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

/* ── Filament Progress Bar ── */
.filament-row td {
  vertical-align: middle;
}
.progress-bar-wrap {
  background: var(--surface-high);
  border-radius: 9999px;
  height: 8px;
  overflow: hidden;
  width: 140px;
}
.progress-bar-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.5s ease;
}
.progress-bar-fill.ok {
  background: linear-gradient(90deg, #10b981, #34d399);
}
.progress-bar-fill.low {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}
.progress-bar-fill.critical {
  background: linear-gradient(90deg, #ef4444, #f87171);
}
.low-stock-alert {
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: #92400e;
}

/* ── Admin Login ── */
.admin-login-body {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.admin-login-card {
  background: #2a2b2b;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}
.admin-login-logo {
  text-align: center;
  margin-bottom: 2rem;
}
.admin-login-logo .logo-kirpi {
  font-size: 2rem;
}
.admin-login-logo .logo-3d {
  font-size: 2rem;
}
.admin-login-logo p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}
.admin-login-card .form-group label {
  color: rgba(255, 255, 255, 0.7);
}
.admin-login-card .input-field {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.admin-login-card .input-field:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
}
.admin-login-card .input-field::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.login-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: #fca5a5;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

/* ── Image Preview ── */
.img-preview-wrap {
  margin-top: 0.75rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  max-width: 200px;
  background: var(--surface-low);
}
.img-preview-wrap img {
  width: 100%;
  display: block;
}

/* ── Select ── */
select.input-field {
  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='%23857470' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* ── Toggle ── */
.toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}
.toggle input[type="checkbox"] {
  display: none;
}
.toggle-track {
  width: 44px;
  height: 24px;
  background: var(--surface-high);
  border-radius: 9999px;
  position: relative;
  transition: background var(--transition);
}
.toggle-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left var(--transition);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.toggle input:checked ~ .toggle-track {
  background: var(--primary);
}
.toggle input:checked ~ .toggle-track::after {
  left: 23px;
}
.toggle-label {
  font-size: 0.9375rem;
  font-weight: 500;
}

/* ── Pagination ── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 2.5rem;
}
.page-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--outline-variant);
  background: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  transition: all var(--transition);
  text-decoration: none;
}
.page-btn:hover,
.page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ── Alert Box ── */
.alert {
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}
.alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}
.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}
.alert-info {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
}
.alert-warning {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .admin-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  /* ── Navbar mobile ── */
  .nav-container {
    justify-content: space-between;
    gap: 0;
    padding: 0 1rem;
  }
  .nav-actions {
    gap: 0.5rem;
    margin-left: auto;
  }
  /* "Teklif Al" butonu mobilde gizle */
  .nav-actions .btn {
    display: none;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    box-shadow: 0 10px 30px rgba(27, 28, 28, 0.08);
    border-top: 1px solid var(--surface-high);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-hamburger {
    display: flex;
  }
  /* ── Hero mobile ── */
  .hero {
    min-height: auto;
    padding-top: 50px;
    padding-bottom: 2.5rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  /* Spline animasyonu önce, yazı sonra */
  .hero-img {
    order: -1;
    height: 280px;
    border-radius: 0;
    margin: 0 -1.5rem;
    overflow: hidden;
  }
  .hero-content {
    padding-top: 2rem;
  }
  .hero-img-badge {
    left: 1rem;
    bottom: 1rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .about-hero-grid {
    grid-template-columns: 1fr;
  }
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .admin-main {
    margin-left: 0;
  }
  .admin-sidebar {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
  }
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-stats {
    grid-template-columns: 1fr 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ══════════════════════════════════════
   SHOP HERO (Ana Sayfa — E-ticaret)
══════════════════════════════════════ */
.hero-shop {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-shop-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.65);
}
.hero-shop-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27, 28, 28, 0.4) 40%,
    rgba(143, 78, 0, 0.25) 100%
  );
}
.hero-shop-inner {
  position: relative;
  z-index: 1;
  padding: 4rem 1.5rem;
}
.hero-shop-content {
  max-width: 640px;
}
.chip-light {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  backdrop-filter: blur(8px);
  margin-bottom: 1.25rem;
}
.hero-shop-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: #fff;
  margin: 0.75rem 0 1rem;
  line-height: 1.15;
}
.hero-shop-subtitle {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
}
.hero-stat-num {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #ffb86b;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.2rem;
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.25);
}

/* ══════════════════════════════════════
   KATEGORİ KARTLARI
══════════════════════════════════════ */
.section-sm {
  padding: 2rem 0;
}
.cat-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.cat-section-title {
  font-size: 1.25rem;
  font-family: "Manrope", sans-serif;
}
.cat-see-all {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
}
.cat-cards {
  display: flex;
  gap: 0.875rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.cat-cards::-webkit-scrollbar {
  display: none;
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1.5px solid var(--surface-high);
  border-radius: var(--radius-lg);
  min-width: 96px;
  text-align: center;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.cat-card:hover,
.cat-card.active {
  border-color: var(--primary);
  background: rgba(143, 78, 0, 0.06);
  color: var(--primary);
}
.cat-card.active .cat-card-icon svg {
  stroke: var(--primary);
}
.cat-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--surface-low);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-card-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dark);
}
.cat-card.active .cat-card-name {
  color: var(--primary);
}
.cat-card-count {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════
   SECTION HEADER ROW
══════════════════════════════════════ */
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.section-header-row h2 {
  margin: 0;
}
.section-header-row p {
  margin: 0.25rem 0 0;
}

/* ══════════════════════════════════════
   ÜRÜN KARTI — GÜNCELLEMELER
══════════════════════════════════════ */
.product-card {
  position: relative;
}
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--primary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.product-card-btn {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  padding: 0.25rem 0.625rem;
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.product-card:hover .product-card-btn {
  background: var(--primary);
  color: #fff;
}

/* ══════════════════════════════════════
   FEATURES GRID
══════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.feature-card {
  padding: 1.75rem 1.5rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-high);
  transition: box-shadow var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-card);
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(143, 78, 0, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
}
.feature-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
}

/* ══════════════════════════════════════
   ÖDEME SAYFASI — TAMI
══════════════════════════════════════ */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.payment-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--surface-high);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
}
.payment-method input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--primary);
  flex-shrink: 0;
}
.payment-method.active {
  border-color: var(--primary);
  background: rgba(143, 78, 0, 0.04);
}
.pm-content {
  flex: 1;
}
.pm-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  color: var(--dark);
}
.pm-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════
   SİPARİŞ TAKİP — İLERLEME
══════════════════════════════════════ */
.order-progress {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  flex-wrap: wrap;
  gap: 0;
}
.op-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  min-width: 56px;
}
.op-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--surface-high);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--surface);
  color: var(--text-muted);
}
.op-step.done .op-dot {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}
.op-step.current .op-dot {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.op-step.current {
  color: var(--primary);
  font-weight: 600;
}
.op-line {
  flex: 1;
  height: 2px;
  background: var(--surface-high);
  min-width: 24px;
  margin-bottom: 22px;
}
.op-line.done {
  background: #10b981;
}

/* ══════════════════════════════════════
   RESPONSIVE EKLEMELER
══════════════════════════════════════ */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .hero-shop {
    min-height: 380px;
  }
  .hero-shop-inner {
    padding: 3rem 1.5rem;
  }
  .hero-stats {
    gap: 1rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .order-progress {
    gap: 0;
  }
}
