/* ==========================================================================
   Vielle Beauty — base.css
   Global setup: design tokens, reset, base typography.
   No section-specific layout here — header/footer/home/product CSS ship
   in their own files as those build-order steps are completed.
   ========================================================================== */

:root {
  --container: 1300px;
  --pad-x-desktop: 28px;
  --pad-x-tablet: 20px;
  --pad-x-mobile: 16px;

  --brand-primary: #ffbec6;
  --brand-accent: #e0577c;
  --text-main: #3a2b30;
  --text-soft: #6b4650;
  --bg-soft: #fdf3f6;
  --bg-soft-2: #fde8ee;
  --border-soft: #f6d3de;

  --font-body: "Poppins", "Noto Sans Bengali", sans-serif;
  --font-display: "Cormorant Garamond", serif;
}

/* Reset ------------------------------------------------------------------ */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-main);
  background: #ffffff;
}

h1, h2, h3, h4, h5, h6,
p, ul, ol, figure, blockquote {
  margin: 0 0 0 0;
  padding: 0;
}

ul, ol {
  list-style: none;
  padding: 0;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

/* Layout primitive -------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x-desktop);
}

@media (max-width: 992px) {
  .container {
    padding-inline: var(--pad-x-tablet);
  }
}

@media (max-width: 576px) {
  .container {
    padding-inline: var(--pad-x-mobile);
  }
}

/* Accessibility ------------------------------------------------------------ */

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  background: var(--brand-accent);
  color: #fff;
  padding: 10px 16px;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}
