/* Google Fonts Assistant */
@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;600;700&display=swap');

:root {
  /* Color Palette matching Shopify Dawn Theme */
  --color-background: 255, 255, 255;
  --color-foreground: 18, 18, 18;
  --color-shadow: 18, 18, 18;
  --color-button: 18, 18, 18;
  --color-button-text: 255, 255, 255;
  --color-secondary-button: 255, 255, 255;
  --color-secondary-button-text: 18, 18, 18;
  --color-link: 18, 18, 18;
  --color-badge-background: 255, 255, 255;
  --color-badge-foreground: 18, 18, 18;
  --color-badge-border: 18, 18, 18;
  
  --color-border: #e8e8e8;
  --color-light-gray: #f3f3f3;
  --color-dark-bg: #242833;
  --color-green-badge: #22c55e;

  /* Typography */
  --font-body-family: 'Assistant', sans-serif;
  --font-body-weight: 400;
  --font-body-weight-bold: 700;

  --font-heading-family: 'Assistant', sans-serif;
  --font-heading-weight: 400;

  /* Layout */
  --page-width: 1200px;
  --page-padding: 1.5rem;
}

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

html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body-family);
  font-size: 1.6rem;
  line-height: 1.6;
  color: rgba(var(--color-foreground), 0.85);
  background-color: rgb(var(--color-background));
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.3rem;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
  color: rgb(var(--color-foreground));
}

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

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

.page-width {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 var(--page-padding);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Global Button Styles */
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0.1rem solid rgb(var(--color-button));
  padding: 1.2rem 3rem;
  cursor: pointer;
  font-family: var(--font-body-family);
  font-size: 1.5rem;
  letter-spacing: 0.1rem;
  text-decoration: none;
  background-color: rgb(var(--color-button));
  color: rgb(var(--color-button-text));
  transition: box-shadow 0.2s ease, transform 0.1s ease, background-color 0.2s ease;
  border-radius: 0;
}

.button:hover {
  box-shadow: 0 0 0 0.1rem rgb(var(--color-button));
  opacity: 0.9;
}

.button--secondary {
  background-color: rgb(var(--color-secondary-button));
  color: rgb(var(--color-secondary-button-text));
  border-color: rgba(var(--color-foreground), 0.2);
}

.button--secondary:hover {
  border-color: rgb(var(--color-foreground));
}

.badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  font-size: 1.2rem;
  border-radius: 4rem;
  border: 0.1rem solid var(--color-border);
  background-color: rgb(var(--color-badge-background));
  color: rgb(var(--color-badge-foreground));
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.badge--sale {
  background-color: var(--color-dark-bg);
  color: #fff;
  border: none;
}

/* Visually Hidden */
.visually-hidden {
  position: absolute !important;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
}
