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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f4f5fb;
  color: #111827;
}

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

.container {
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4f46e5, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}

.brand-text-title {
  font-weight: 700;
  font-size: 18px;
}

.brand-text-sub {
  font-size: 11px;
  color: #6b7280;
}

.nav-links {
  display: flex;
  gap: 16px;
  font-size: 14px;
  align-items: center;
}

.nav-links a {
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4f46e5, #ec4899);
  transition: width 0.15s ease;
}

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

.nav-active {
  font-weight: 700;
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .nav-links {
    flex-wrap: wrap;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5, #ec4899);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(79, 70, 229, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(79, 70, 229, 0.55);
}

.btn-outline {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.8);
  color: #111827;
}

.btn-outline:hover {
  background: #f9fafb;
}

/* Hero & page hero */
.hero {
  padding: 40px 0 30px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: center;
}

.hero-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #4f46e5;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 16px;
}

.hero-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eef2ff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  color: #4338ca;
  margin-bottom: 16px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.hero-meta {
  font-size: 12px;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-visual {
  border-radius: 22px;
  background: radial-gradient(circle at 0 0, #e0e7ff, #fdf2ff, #fefce8);
  padding: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
}

.hero-badge {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
}

.hero-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  padding: 16px;
}

.hero-card-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.hero-card-text {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 10px;
}

.hero-card-price {
  font-size: 16px;
  font-weight: 700;
  color: #16a34a;
  margin-bottom: 6px;
}

.hero-card-meta {
  font-size: 12px;
  color: #6b7280;
}

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Generic sections */
.section {
  padding: 28px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
}

.section-subtitle {
  font-size: 13px;
  color: #6b7280;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.product-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
}

.product-image-wrapper {
  position: relative;
  background: #e5e7eb;
  height: 190px;
  overflow: hidden;
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  background: rgba(15, 23, 42, 0.85);
  color: #f9fafb;
  padding: 3px 8px;
  border-radius: 999px;
}

.product-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-name {
  font-size: 14px;
  font-weight: 600;
}

.product-desc {
  font-size: 13px;
  color: #6b7280;
}

.product-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-top: 4px;
}

.product-price {
  font-weight: 700;
  color: #16a34a;
  font-size: 15px;
}

.product-rating {
  color: #f59e0b;
}

.product-actions {
  margin-top: 8px;
}

/* Page hero */
.page-hero {
  padding: 30px 0 14px;
}

.breadcrumbs {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 6px;
}

.breadcrumbs a {
  color: #6b7280;
}

.breadcrumbs a:hover {
  color: #4f46e5;
}

.page-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.page-subtitle {
  font-size: 13px;
  color: #6b7280;
}

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 22px;
}

.product-detail-media {
  border-radius: 22px;
  background: radial-gradient(circle at 0 0, #e0e7ff, #fdf2ff, #fefce8);
  padding: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
}

.product-detail-media img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

.product-detail-info {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
}

.product-detail-price {
  font-size: 18px;
  font-weight: 700;
  color: #16a34a;
  margin: 8px 0;
}

.product-detail-meta {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 10px;
}

.product-detail-description {
  font-size: 13px;
  color: #111827;
  margin-bottom: 10px;
}

.product-detail-bullets {
  font-size: 13px;
  margin-bottom: 12px;
}

.product-detail-bullets li {
  margin-left: 18px;
  margin-bottom: 4px;
}

/* Simple text card */
.card {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 22px;
}

.form-group {
  margin-bottom: 12px;
}

label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  padding: 8px 12px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  background: #ffffff;
}

textarea {
  border-radius: 14px;
  min-height: 100px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.3);
}

.contact-aside {
  font-size: 13px;
  color: #4b5563;
}

/* Footer */
footer {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  padding: 18px 0 22px;
  font-size: 12px;
  color: #6b7280;
  margin-top: 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

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

@media (max-width: 880px) {
  .product-detail,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
