
:root {
  --pink-bg: #FFF6F9;
  --pink-soft: #F8D0CB;
  --pink-strong: #F4A8AA;
  --text-main: #4D0000;
  --text-muted: #7A4A4A;
  --card-bg: #ffffff;
  --border-soft: #F8D0CB;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 999px;
  --shadow-soft: 0 18px 40px rgba(0,0,0,0.06);
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top left, #FFE6EE, #FFF6F9);
  color: var(--text-main);
}

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

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

.main-shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 3rem;
}

/* Header / navbar */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.25rem;
  margin: 0 auto 1.5rem;
  max-width: 1040px;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 246, 249, 0.92);
  border-bottom: 1px solid rgba(248, 208, 203, 0.8);
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--pink-soft);
  border: 2px solid var(--text-main);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-circle img {
  width: 120%;
  height: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.25rem;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
}

/* Buttons */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, color 120ms ease;
}

.btn-primary {
  background: var(--text-main);
  color: #fff;
  box-shadow: 0 14px 30px rgba(77,0,0,0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(77,0,0,0.4);
}

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

.btn-secondary:hover {
  background: #FFF1F4;
}

.btn-secondary.small {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

/* Hero */

.hero-card {
  background: linear-gradient(135deg, #FFF0F4, #FFE6EE);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.7rem 1.3rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(248,208,203,0.6);
}

.hero-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.hero-title {
  font-size: 1.7rem;
  line-height: 1.2;
  margin: 0 0 0.8rem;
}

.hero-text {
  font-size: 0.97rem;
  color: var(--text-muted);
  max-width: 40rem;
  margin-bottom: 1.1rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-bullets span::before {
  content: '•';
  margin-right: 0.3rem;
}

/* Best sellers */

.section-card {
  margin-top: 1.7rem;
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(248,208,203,0.7);
  box-shadow: var(--shadow-soft);
}

.section-title {
  margin: 0 0 0.8rem;
  font-size: 1.15rem;
}

.best-seller-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(248,208,203,0.7);
  font-size: 0.95rem;
}

.best-seller-row:last-child {
  border-bottom: none;
}

.best-seller-row .price {
  font-weight: 600;
}

/* Products page */

.page-title {
  font-size: 1.6rem;
  margin: 0 0 0.4rem;
}

.page-intro {
  margin: 0 0 1.2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.products-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 1.2rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid rgba(248,208,203,0.85);
  box-shadow: 0 10px 28px rgba(0,0,0,0.05);
}

.product-image {
  border-radius: 14px;
  margin-bottom: 0.8rem;
  object-fit: cover;
  max-height: 240px;
}

.product-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.product-name {
  margin: 0;
  font-size: 1.05rem;
}

.product-price {
  margin: 0;
  font-weight: 600;
}

.product-description {
  margin: 0.3rem 0 0.6rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* About & contact */

.stack {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.stack h2 {
  font-size: 1.1rem;
  color: var(--text-main);
  margin: 0.4rem 0 0.2rem;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 0.5rem;
  font-size: 0.95rem;
}

.contact-card strong {
  display: block;
  margin-bottom: 0.1rem;
}

/* Footer */

.site-footer {
  margin-top: 2.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(248,208,203,0.8);
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-pill {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(248,208,203,0.9);
  background: #ffffff;
}

/* Dashboard */

.dashboard-shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
}

.dashboard-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(248,208,203,0.9);
  box-shadow: var(--shadow-soft);
  padding: 1.6rem 1.7rem;
}

.dashboard-card h1 {
  margin-top: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.8rem;
  font-size: 0.9rem;
}

th, td {
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid rgba(248,208,203,0.8);
  text-align: left;
}

th {
  background: #FFF6F9;
}

.dashboard-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 0.6rem;
  margin-top: 1rem;
}

.form-grid label {
  font-size: 0.85rem;
  font-weight: 600;
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(248,208,203,0.9);
  font-family: inherit;
  font-size: 0.9rem;
}

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

/* Login box */

.login-box {
  max-width: 360px;
  margin: 4rem auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.7rem;
  border: 1px solid rgba(248,208,203,0.9);
  box-shadow: var(--shadow-soft);
}

.login-box h1 {
  margin-top: 0;
  font-size: 1.3rem;
}

.login-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Responsive */

@media (min-width: 720px) {
  .hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 1.2rem;
    align-items: stretch;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    width: 100%;
    justify-content: space-between;
  }
}
