/* ==========================================================
   PetShed Zone — Main Stylesheet
   ==========================================================
   Provides complete styling independent of Tailwind CDN.
   Tailwind Play CDN in base.html is an enhancement layer;
   this stylesheet ensures the site looks styled even when
   the CDN is blocked, slow, or unavailable.
   ========================================================== */

/* ---------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   --------------------------------------------------------- */
:root {
  /* Primary — warm orange */
  --color-primary-50: #fef7ee;
  --color-primary-100: #fdedd3;
  --color-primary-200: #f9d7a5;
  --color-primary-300: #f5ba6e;
  --color-primary-400: #f09333;
  --color-primary-500: #ec7a12;
  --color-primary-600: #dd5f0a;
  --color-primary-700: #b7470b;
  --color-primary-800: #91390f;
  --color-primary-900: #753010;
  --color-primary-950: #401606;

  /* Accent — fresh green */
  --color-accent-50: #f0fdf4;
  --color-accent-100: #dbfde7;
  --color-accent-200: #b9f8cf;
  --color-accent-300: #82f1ab;
  --color-accent-400: #44df7d;
  --color-accent-500: #1ac45b;
  --color-accent-600: #0ea148;
  --color-accent-700: #107e3a;
  --color-accent-800: #136432;
  --color-accent-900: #11522b;

  /* Neutral — stone palette */
  --color-stone-50: #fafaf9;
  --color-stone-100: #f5f5f4;
  --color-stone-200: #e7e5e4;
  --color-stone-300: #d6d3d1;
  --color-stone-400: #a8a29e;
  --color-stone-500: #78716c;
  --color-stone-600: #57534e;
  --color-stone-700: #44403c;
  --color-stone-800: #292524;
  --color-stone-900: #1c1917;
  --color-stone-950: #0c0a09;

  /* Semantic — red, green, blue, yellow */
  --color-red-50: #fef2f2;
  --color-red-100: #fee2e2;
  --color-red-400: #f87171;
  --color-red-500: #ef4444;
  --color-red-600: #dc2626;
  --color-red-700: #b91c1c;
  --color-green-50: #f0fdf4;
  --color-green-400: #4ade80;
  --color-green-600: #16a34a;
  --color-green-700: #15803d;
  --color-blue-50: #eff6ff;
  --color-blue-400: #60a5fa;
  --color-blue-600: #2563eb;
  --color-blue-700: #1d4ed8;
  --color-yellow-50: #fefce8;
  --color-yellow-400: #facc15;
  --color-yellow-600: #ca8a04;

  /* Typography */
  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radii */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}


/* ---------------------------------------------------------
   2. Base Reset & Element Styles
   --------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--color-stone-50);
  color: var(--color-stone-800);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Headings */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-stone-800);
}

h1 { font-size: 1.875rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

/* Links */
a {
  color: var(--color-primary-600);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--color-primary-700);
}

/* Paragraphs */
p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--color-stone-600);
}

/* Buttons */
button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
}

/* Tables */
table {
  border-collapse: collapse;
  width: 100%;
}
th {
  text-align: left;
  font-weight: 600;
}

/* Form elements */
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="tel"],
textarea,
select {
  width: 100%;
  border: 1px solid var(--color-stone-300);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--color-stone-800);
  background-color: #fff;
  transition: border-color 0.15s ease;
  outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  border-color: var(--color-primary-500);
}

input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--color-primary-500);
}

/* Quantity input spinner removal */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}


/* ---------------------------------------------------------
   3. Layout & Container Utilities
   --------------------------------------------------------- */
.max-w-6xl { max-width: 72rem;  margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem;  margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem;  margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem;  margin-left: auto; margin-right: auto; }
.max-w-sm  { max-width: 24rem;  margin-left: auto; margin-right: auto; }

/* Flexbox */
.flex           { display: flex; }
.flex-1         { flex: 1 1 0%; }
.flex-shrink-0  { flex-shrink: 0; }
.flex-col       { flex-direction: column; }
.flex-wrap      { flex-wrap: wrap; }
.items-center   { align-items: center; }
.items-start    { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.justify-end     { justify-content: flex-end; }

/* Grid */
.grid        { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Gap */
.gap-2  { gap: 0.5rem; }
.gap-3  { gap: 0.75rem; }
.gap-4  { gap: 1rem; }
.gap-6  { gap: 1.5rem; }
.gap-8  { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Space-y (vertical rhythm for flex/grid children) */
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* Order (flex/grid item ordering) */
.order-1 { order: 1; }
.order-2 { order: 2; }

/* Display helpers */
.block        { display: block; }
.inline-block { display: inline-block; }
.inline       { display: inline; }
.hidden       { display: none; }
.overflow-hidden { overflow: hidden; }

/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky   { position: sticky; }
.top-0    { top: 0; }
.z-50     { z-index: 50; }
.-top-2   { top: -0.5rem; }
.-right-2 { right: -0.5rem; }


/* ---------------------------------------------------------
   4. Spacing Utilities
   --------------------------------------------------------- */
/* Padding — all sides */
.p-0  { padding: 0; }
.p-3  { padding: 0.75rem; }
.p-4  { padding: 1rem; }
.p-6  { padding: 1.5rem; }
.p-8  { padding: 2rem; }

/* Padding — horizontal */
.px-2 { padding-left: 0.5rem;  padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem;    padding-right: 1rem; }
.px-6 { padding-left: 1.5rem;  padding-right: 1.5rem; }
.px-8 { padding-left: 2rem;    padding-right: 2rem; }

/* Padding — vertical */
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem;  padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem;    padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem;  padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem;    padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-16 { padding-top: 4rem;   padding-bottom: 4rem; }
.py-24 { padding-top: 6rem;   padding-bottom: 6rem; }

/* Padding — one side */
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.pr-4 { padding-right: 1rem; }
.pl-4 { padding-left: 1rem; }

/* Margin — all sides */
.m-0  { margin: 0; }

/* Margin — horizontal auto */
.mx-auto { margin-left: auto; margin-right: auto; }

/* Margin — top */
.mt-1  { margin-top: 0.25rem; }
.mt-2  { margin-top: 0.5rem; }
.mt-3  { margin-top: 0.75rem; }
.mt-4  { margin-top: 1rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }

/* Margin — bottom */
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

/* Margin — right */
.mr-2 { margin-right: 0.5rem; }
.mr-4 { margin-right: 1rem; }

/* Margin — left */
.ml-2 { margin-left: 0.5rem; }
.ml-4 { margin-left: 1rem; }


/* ---------------------------------------------------------
   5. Typography Utilities
   --------------------------------------------------------- */
.text-xs   { font-size: 0.75rem;   line-height: 1rem; }
.text-sm   { font-size: 0.875rem;  line-height: 1.25rem; }
.text-base { font-size: 1rem;      line-height: 1.5rem; }
.text-lg   { font-size: 1.125rem;  line-height: 1.75rem; }
.text-xl   { font-size: 1.25rem;   line-height: 1.75rem; }
.text-2xl  { font-size: 1.5rem;    line-height: 2rem; }
.text-3xl  { font-size: 1.875rem;  line-height: 2.25rem; }
.text-4xl  { font-size: 2.25rem;   line-height: 2.5rem; }
.text-5xl  { font-size: 3rem;      line-height: 1; }
.text-6xl  { font-size: 3.75rem;   line-height: 1; }
.text-8xl  { font-size: 6rem;      line-height: 1; }
.text-9xl  { font-size: 8rem;      line-height: 1; }

.font-medium    { font-weight: 500; }
.font-semibold  { font-weight: 600; }
.font-bold      { font-weight: 700; }
.font-normal    { font-weight: 400; }
.font-light     { font-weight: 300; }

.leading-tight    { line-height: 1.25; }
.leading-relaxed  { line-height: 1.625; }
.leading-none     { line-height: 1; }
.leading-normal   { line-height: 1.5; }

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

.line-through     { text-decoration: line-through; }
.no-underline     { text-decoration: none; }
.underline        { text-decoration: underline; }
.whitespace-nowrap { white-space: nowrap; }
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Text colors */
.text-white        { color: #fff; }
.text-black        { color: #000; }
.text-stone-300    { color: var(--color-stone-300); }
.text-stone-400    { color: var(--color-stone-400); }
.text-stone-500    { color: var(--color-stone-500); }
.text-stone-600    { color: var(--color-stone-600); }
.text-stone-700    { color: var(--color-stone-700); }
.text-stone-800    { color: var(--color-stone-800); }
.text-primary-500  { color: var(--color-primary-500); }
.text-primary-600  { color: var(--color-primary-600); }
.text-primary-700  { color: var(--color-primary-700); }
.text-primary-800  { color: var(--color-primary-800); }
.text-red-500      { color: var(--color-red-500); }
.text-red-600      { color: var(--color-red-600); }
.text-red-700      { color: var(--color-red-700); }
.text-green-600    { color: var(--color-green-600); }
.text-blue-600     { color: var(--color-blue-600); }
.text-blue-700     { color: var(--color-blue-700); }
.text-yellow-600   { color: var(--color-yellow-600); }


/* ---------------------------------------------------------
   6. Background Colors
   --------------------------------------------------------- */
.bg-white        { background-color: #fff; }
.bg-transparent  { background-color: transparent; }

.bg-stone-50  { background-color: var(--color-stone-50); }
.bg-stone-100 { background-color: var(--color-stone-100); }
.bg-stone-200 { background-color: var(--color-stone-200); }
.bg-stone-800 { background-color: var(--color-stone-800); }

.bg-primary-50  { background-color: var(--color-primary-50); }
.bg-primary-100 { background-color: var(--color-primary-100); }
.bg-primary-500 { background-color: var(--color-primary-500); }
.bg-primary-600 { background-color: var(--color-primary-600); }

.bg-accent-50  { background-color: var(--color-accent-50); }

.bg-red-50     { background-color: var(--color-red-50); }
.bg-red-100    { background-color: var(--color-red-100); }
.bg-green-50   { background-color: var(--color-green-50); }
.bg-green-600  { background-color: var(--color-green-600); }
.bg-blue-50    { background-color: var(--color-blue-50); }
.bg-yellow-50  { background-color: var(--color-yellow-50); }

.bg-amber-50   { background-color: #fffbeb; }

/* Hero gradient */
.bg-gradient-to-br {
  background: linear-gradient(to bottom right, #fffbeb, #fff, #f0fdf4);
}


/* ---------------------------------------------------------
   7. Border Utilities
   --------------------------------------------------------- */
.border       { border: 1px solid var(--color-stone-300); }
.border-0     { border: 0; }
.border-2     { border-width: 2px; }
.border-b     { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: var(--color-stone-300); }
.border-t     { border-top-width: 1px; border-top-style: solid; border-top-color: var(--color-stone-300); }
.border-l     { border-left-width: 1px; border-left-style: solid; border-left-color: var(--color-stone-300); }
.border-r     { border-right-width: 1px; border-right-style: solid; border-right-color: var(--color-stone-300); }

.border-stone-100   { border-color: var(--color-stone-100); }
.border-stone-200   { border-color: var(--color-stone-200); }
.border-stone-300   { border-color: var(--color-stone-300); }
.border-stone-700   { border-color: var(--color-stone-700); }
.border-primary-500 { border-color: var(--color-primary-500); }
.border-white       { border-color: #fff; }

.rounded        { border-radius: var(--radius-sm); }
.rounded-md     { border-radius: var(--radius-md); }
.rounded-lg     { border-radius: var(--radius-lg); }
.rounded-xl     { border-radius: var(--radius-xl); }
.rounded-2xl    { border-radius: var(--radius-2xl); }
.rounded-full   { border-radius: 9999px; }

/* Divide */
.divide-y > * + * { border-top: 1px solid var(--color-stone-100); }
.divide-stone-100 > * + * { border-top-color: var(--color-stone-100); }


/* ---------------------------------------------------------
   8. Shadow Utilities
   --------------------------------------------------------- */
.shadow-sm  { box-shadow: var(--shadow-sm); }
.shadow-md  { box-shadow: var(--shadow-md); }
.shadow-lg  { box-shadow: var(--shadow-lg); }
.shadow-none { box-shadow: none; }


/* ---------------------------------------------------------
   9. Sizing Utilities (width / height)
   --------------------------------------------------------- */
.w-full  { width: 100%; }
.w-auto  { width: auto; }
.w-5     { width: 1.25rem; }
.w-6     { width: 1.5rem; }
.w-8     { width: 2rem; }
.w-10    { width: 2.5rem; }
.w-12    { width: 3rem; }
.w-14    { width: 3.5rem; }
.w-16    { width: 4rem; }
.w-20    { width: 5rem; }
.w-48    { width: 12rem; }

.h-3  { height: 0.75rem; }
.h-4  { height: 1rem; }
.h-5  { height: 1.25rem; }
.h-6  { height: 1.5rem; }
.h-8  { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }

.aspect-square { aspect-ratio: 1 / 1; }
.object-contain { object-fit: contain; }
.object-cover   { object-fit: cover; }
.min-w-0 { min-width: 0; }
.min-h-screen { min-height: 100vh; }


/* ---------------------------------------------------------
   10. Hover, Focus & Interactive State Utilities
   --------------------------------------------------------- */
.transition {
  transition: all 0.15s ease;
}
.transition-colors {
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.transition-shadow {
  transition: box-shadow 0.15s ease;
}
.transition-transform {
  transition: transform 0.15s ease;
}
.duration-200 { transition-duration: 0.2s; }
.duration-300 { transition-duration: 0.3s; }

/* Hover: backgrounds */
.hover\:bg-primary-600:hover { background-color: var(--color-primary-600); }
.hover\:bg-primary-700:hover { background-color: var(--color-primary-700); }
.hover\:bg-green-700:hover   { background-color: var(--color-green-700); }
.hover\:bg-stone-50:hover    { background-color: var(--color-stone-50); }
.hover\:bg-stone-100:hover   { background-color: var(--color-stone-100); }
.hover\:bg-stone-200:hover   { background-color: var(--color-stone-200); }
.hover\:bg-white:hover       { background-color: #fff; }
.hover\:bg-gray-50:hover     { background-color: #f9fafb; }

/* Hover: text */
.hover\:text-primary-600:hover { color: var(--color-primary-600); }
.hover\:text-primary-700:hover { color: var(--color-primary-700); }
.hover\:text-white:hover       { color: #fff; }
.hover\:text-red-500:hover     { color: var(--color-red-500); }
.hover\:text-red-700:hover     { color: var(--color-red-700); }
.hover\:text-blue-700:hover    { color: var(--color-blue-700); }
.hover\:text-stone-700:hover   { color: var(--color-stone-700); }
.hover\:text-stone-900:hover   { color: var(--color-stone-900); }

/* Hover: borders */
.hover\:border-primary-500:hover { border-color: var(--color-primary-500); }

/* Hover: shadows */
.hover\:shadow-md:hover { box-shadow: var(--shadow-md); }
.hover\:shadow-lg:hover { box-shadow: var(--shadow-lg); }

/* Group hover — parent with .group triggers child hover effects */
.group { position: relative; }
.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}
.group:hover .group-hover\:text-primary-600 {
  color: var(--color-primary-600);
}

/* Focus states */
.focus\:outline-none:focus { outline: none; }
.focus\:border-primary-500:focus { border-color: var(--color-primary-500); }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--color-primary-200); }
.focus\:ring-primary-500:focus { box-shadow: 0 0 0 3px rgba(236, 122, 18, 0.3); }

/* Disabled state */
.opacity-50 { opacity: 0.5; }
.cursor-not-allowed { cursor: not-allowed; }
.cursor-pointer { cursor: pointer; }


/* ---------------------------------------------------------
   11. Component Styles
   --------------------------------------------------------- */

/* --- Navigation bar --- */
/* The sticky nav from base.html uses these classes together */
.sticky.top-0.z-50 {
  background-color: #fff;
  border-bottom: 1px solid var(--color-stone-200);
}

/* --- Primary button (action CTA) --- */
/* Matches pattern: bg-primary-500 hover:bg-primary-600 text-white font-semibold py-3 px-6 rounded-lg */
.btn-primary,
a.bg-primary-500,
button.bg-primary-500 {
  display: inline-block;
  background-color: var(--color-primary-500);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  cursor: pointer;
  border: none;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-sm);
  line-height: 1.5;
}
.btn-primary:hover,
a.bg-primary-500:hover,
button.bg-primary-500:hover {
  background-color: var(--color-primary-600);
  color: #fff;
  box-shadow: var(--shadow-md);
}

/* --- Secondary outline button --- */
/* Matches: border-2 border-stone-300 hover:border-primary-500 */
.btn-outline,
a.border-2.border-stone-300 {
  display: inline-block;
  border: 2px solid var(--color-stone-300);
  color: var(--color-stone-700);
  font-weight: 500;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.15s ease;
  line-height: 1.5;
}
.btn-outline:hover,
a.border-2.border-stone-300:hover {
  border-color: var(--color-primary-500);
}

/* --- Category filter pills --- */
/* Matches: px-4 py-2 rounded-full text-sm font-medium */
.filter-pill,
.px-4.py-2.rounded-full {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  background-color: var(--color-stone-200);
  color: var(--color-stone-600);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.filter-pill:hover,
.px-4.py-2.rounded-full:hover {
  background-color: var(--color-stone-300);
}

/* --- Status / category badge pills --- */
/* Matches: text-xs bg-*-* px-2 py-0.5 rounded (inline badge) */
.badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
}

/* --- Cart badge (absolute positioned count) --- */
.absolute.-top-2.-right-2 {
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-500);
  color: #fff;
}

/* --- Admin table row hover --- */
tr.hover\:bg-stone-50:hover {
  background-color: var(--color-stone-50);
}

/* --- Admin status badges (inline pill in table cells) --- */
/* Matches: text-*-600 bg-*-50 text-xs font-medium px-2 py-1 rounded */
.text-yellow-600.bg-yellow-50,
.text-blue-600.bg-blue-50,
.text-green-600.bg-green-50,
.text-red-600.bg-red-50 {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* --- Cart item remove button --- */
button.hover\:text-red-500 {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.25rem;
}

/* --- Quantity stepper container --- */
.border.rounded-lg.flex.items-center {
  display: inline-flex;
  align-items: center;
}

/* --- Hero section inline badge --- */
.bg-primary-100.text-primary-800.text-sm.font-semibold.px-3.py-1.rounded-full {
  display: inline-block;
}


/* ---------------------------------------------------------
   12. Responsive — md: breakpoint (768px)
   --------------------------------------------------------- */
@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:inline-block { display: inline-block; }
  .md\:hidden { display: none; }
  .md\:flex { display: flex; }
  .md\:flex-row { flex-direction: row; }

  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .md\:order-1 { order: 1; }
  .md\:order-2 { order: 2; }

  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:col-span-3 { grid-column: span 3 / span 3; }

  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-9xl { font-size: 8rem; line-height: 1; }

  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }

  .md\:w-1\/2 { width: 50%; }
  .md\:w-1\/3 { width: 33.333333%; }
  .md\:w-2\/3 { width: 66.666667%; }

  .md\:mt-0 { margin-top: 0; }
  .md\:mb-0 { margin-bottom: 0; }

  .md\:text-left { text-align: left; }
}

/* sm: breakpoint (640px) */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:inline { display: inline; }
  .sm\:w-auto { width: auto; }
}


/* ---------------------------------------------------------
   13. Stripe Card Element
   --------------------------------------------------------- */
.StripeElement {
  padding: 12px;
  border: 1px solid #d6d3d1;
  border-radius: 8px;
  background: white;
}
.StripeElement--focus {
  border-color: #f09333;
}
.StripeElement--invalid {
  border-color: #ef4444;
}


/* ---------------------------------------------------------
   14. Scroll Behavior
   --------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}
