/* ==========================================================================
   Tailwind Local — static utilities for You Name It
   Only includes classes actually used in the project.
   No build pipeline needed — plain CSS.
   ========================================================================== */

/* ----- Container / Max-width ----- */
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-6xl { max-width: 72rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ----- Display ----- */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

/* ----- Flex Direction & Wrap ----- */
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }

/* ----- Align / Justify ----- */
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.self-start { align-self: flex-start; }

/* ----- Grid Columns ----- */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lg\:col-span-1 { grid-column: span 1 / span 1; }
.lg\:col-span-3 { grid-column: span 3 / span 3; }

/* ----- Gap ----- */
.gap-2 { gap: 0.5rem; }
.gap-2\\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }

/* ----- Space Between (flex column children) ----- */
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.md\:space-y-6 > * + * { margin-top: 1.5rem; }

/* ----- Margin ----- */
.m-0 { margin: 0; }
.my-16 { margin-top: 4rem; margin-bottom: 4rem; }
.md\:my-24 { margin-top: 6rem; margin-bottom: 6rem; }
.mt-5 { margin-top: 1.25rem; }
.mb-5 { margin-bottom: 1.25rem; }
.-mx-5 { margin-left: -1.25rem; margin-right: -1.25rem; }
.lg\:mx-0 { margin-left: 0; margin-right: 0; }

/* ----- Padding ----- */
.p-3\\.5 { padding: 0.875rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-8 { padding: 2rem; }
.md\:p-6 { padding: 1.5rem; }
.md\:p-16 { padding: 4rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.lg\:px-0 { padding-left: 0; padding-right: 0; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-2 { padding-top: 0.5rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-3 { padding-bottom: 0.75rem; }
.lg\:pb-0 { padding-bottom: 0; }

/* ----- Width / Height ----- */
.w-full { width: 100%; }
.w-3\\/4 { width: 75%; }
.w-36 { width: 9rem; }
.w-64 { width: 16rem; }
.md\:w-96 { width: 24rem; }
.h-full { height: 100%; }
.h-3\\/4 { height: 75%; }
.h-36 { height: 9rem; }
.h-64 { height: 16rem; }
.md\:h-96 { height: 24rem; }

/* ----- Position ----- */
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-2 { top: 0.5rem; }
.top-1\\/2 { top: 50%; }
.-top-20 { top: -5rem; }
.right-1 { right: 0.25rem; }
.right-2 { right: 0.5rem; }
.-right-20 { right: -5rem; }
.bottom-4 { bottom: 1rem; }
.-bottom-4 { bottom: -1rem; }
.-bottom-20 { bottom: -5rem; }
.left-2 { left: 0.5rem; }
.-left-20 { left: -5rem; }
.z-10 { z-index: 10; }

/* ----- Font families (matching CSS variables) ----- */
.font-display { font-family: var(--font-display); }
.font-sans { font-family: var(--font-sans); }

/* ----- Typography ----- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.md\:text-left { text-align: left; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.italic { font-style: italic; }
.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-6xl { font-size: 3.75rem; line-height: 1; }
.md\:text-base { font-size: 1rem; line-height: 1.5rem; }
.md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.md\:text-5xl { font-size: 3rem; line-height: 1.2; }
.leading-relaxed { line-height: 1.625; }
.leading-tight { line-height: 1.25; }
.whitespace-nowrap { white-space: nowrap; }

/* ----- Text Color ----- */
.text-white { color: #fff; }

/* ----- Background ----- */
.bg-white { background: #fff; }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-\[--from\] { --tw-gradient-from: var(--from); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255,255,255,0)); }

/* ----- Border Radius ----- */
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.md\:rounded-3xl { border-radius: 1.5rem; }

/* ----- Border ----- */
.border { border-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-none { border-style: none; }

/* ----- Effects ----- */
.opacity-90 { opacity: 0.9; }
.filter { filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); }
.blur-3xl { --tw-blur: blur(64px); }
.backdrop-blur-sm { --tw-backdrop-blur: blur(4px); -webkit-backdrop-filter: var(--tw-backdrop-blur); backdrop-filter: var(--tw-backdrop-blur); }
.backdrop-blur-md { --tw-backdrop-blur: blur(12px); -webkit-backdrop-filter: var(--tw-backdrop-blur); backdrop-filter: var(--tw-backdrop-blur); }
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgba(0,0,0,0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); }

/* ----- Transitions / Animation ----- */
.transition { transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.animate-bounce { animation: tw-bounce 1s infinite; }
.animate-ping { animation: tw-ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }
.animate-pulse { animation: tw-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

@keyframes tw-bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
  50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}
@keyframes tw-ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
@keyframes tw-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ----- Misc ----- */
.cursor-pointer { cursor: pointer; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.lg\:overflow-x-visible { overflow-x: visible; }
.select-none { -webkit-user-select: none; user-select: none; }
.object-cover { object-fit: cover; }
.outline-none { outline: 2px solid transparent; outline-offset: 2px; }
.scroll-smooth { scroll-behavior: smooth; }
.pointer-events-none { pointer-events: none; }

/* ----- Responsive ----- */
@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:hidden { display: none; }
  .md\:inline-block { display: inline-block; }
  .md\:inline-flex { display: inline-flex; }
  .md\:flex { display: flex; }
  .md\:flex-row { flex-direction: row; }
  .md\:text-left { text-align: left; }
  .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\:p-6 { padding: 1.5rem; }
  .md\:p-16 { padding: 4rem; }
  .md\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:gap-6 { gap: 1.5rem; }
  .md\:gap-16 { gap: 4rem; }
  .md\:space-y-6 > * + * { margin-top: 1.5rem; }
  .md\:my-24 { margin-top: 6rem; margin-bottom: 6rem; }
  .md\:w-96 { width: 24rem; }
  .md\:h-96 { height: 24rem; }
  .md\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1.2; }
  .md\:rounded-3xl { border-radius: 1.5rem; }
  .md\:-left-6 { left: -1.5rem; }
  .md\:-bottom-6 { bottom: -1.5rem; }
  .md\:max-w-\[280px\] { max-width: 280px; }
  .md\:max-w-\[440px\] { max-width: 440px; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:col-span-1 { grid-column: span 1 / span 1; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:flex-col { flex-direction: column; }
  .lg\:mx-0 { margin-left: 0; margin-right: 0; }
  .lg\:px-0 { padding-left: 0; padding-right: 0; }
  .lg\:pb-0 { padding-bottom: 0; }
  .lg\:overflow-x-visible { overflow-x: visible; }
}

/* ----- Custom hover utilities (replacing Tailwind arbitrary-value hovers) ----- */
.hover-scale-103:hover { transform: scale(1.03); }
.hover-shadow-gold\/25:hover { box-shadow: 0 4px 14px rgba(139, 105, 20, 0.25); }
.hover-bg-chocolate:hover { background: #4a2f1f !important; }
.hover-bg-accent:hover { background: #8b6914 !important; }
.hover-bg-accent-soft:hover { background: rgba(139, 105, 20, 0.12); }
.hover-border-accent:hover { border-color: #8b6914; }

/* ----- Custom focus utilities ----- */
.focus-border-accent\/50:focus { border-color: rgba(139, 105, 20, 0.5); }
.focus-ring-accent\/10:focus { --tw-ring-color: rgba(139, 105, 20, 0.1); box-shadow: 0 0 0 4px rgba(139, 105, 20, 0.1); }
.focus-ring-4:focus { --tw-ring-offset-shadow: 0 0 0 0 #fff; --tw-ring-shadow: 0 0 0 4px var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); }

/* ----- Custom scrollbar utilities ----- */
.filter-chips::-webkit-scrollbar { display: none; }

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  .animate-bounce,
  .animate-ping,
  .animate-pulse {
    animation: none;
  }
}
