

:root {
  --page-bg: #f5f3f0;
  --card-bg: #ffffff;
  --accent: #111827;
  --accent-soft: #9ca3af;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-soft: #e5e7eb;
  --radius-xl: 1.3rem;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, #f8f4ee, #f5f3f0 45%, #ebe5dd 100%);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Helvetica Neue", sans-serif;
  color: var(--text-main);
}


.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 243, 240, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.85);
  animation: headerFade 0.5s ease forwards;
}

.header-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0.9rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  font-size: 0.96rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
  position: relative;
}


.brand::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.24rem;
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, #111827, #6b7280);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.22rem;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-active {
  color: var(--accent);
}

.nav-active::after {
  width: 100%;
}

@media (max-width: 720px) {
  .header-inner {
    padding-inline: 1.1rem;
  }

  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}



.page-wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 2.8rem 1.7rem 3.8rem;
}

.section-heading {
  font-size: 1.7rem;
  margin-bottom: 0.6rem;
}

.hero-subtitle {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.2rem;
}


.section-title {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 1.1rem;
}



.accessories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

@media (max-width: 900px) {
  .accessories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .accessories-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(229, 231, 235, 1);
  padding: 1.1rem 1.1rem 1.2rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}


.card:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.22);
  border-color: #d1d5db;
  background: #fdfdfd;
}

.card-thumb {
  border-radius: 0.9rem;
  border: 1px solid rgba(209, 213, 219, 0.95);
  padding: 0;
  overflow: hidden;
  background: #f9fafb; 
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto; 
}

.card-thumb img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.card-thumb {
  height: auto; /* let it grow with the image */
}
.card-title {
  font-size: 0.98rem;
  font-weight: 600;
}

.card-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}



@keyframes headerFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
