/* Layout Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.hidden {
    display: none;
}

.grid {
    display: grid;
}

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

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

/* Spacing Utilities */
.p-2 {
    padding: 0.5rem;
}

.p-3 {
    padding: 0.75rem;
}

.p-4 {
    padding: 1rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.-mt-6 {
    margin-top: -1.5rem;
}

.-mt-8 {
    margin-top: -2rem;
}

/* Position */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.z-50 {
    z-index: 50;
}

/* Text Utilities */
.text-center {
    text-align: center;
}

.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;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-serif {
    font-family: var(--font-serif);
}

.text-primary {
    color: var(--primary);
}

.text-muted-foreground {
    color: var(--muted-foreground);
}

.text-white {
    color: white;
}

/* Effects */
.shadow-sm {
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

.backdrop-blur-md {
    backdrop-filter: blur(8px);
}

/* Backgrounds */
.bg-background {
    background-color: var(--background);
}

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

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

.bg-primary-10 {
    background-color: oklch(0.35 0.08 15 / 0.1);
}

/* 10% opacity */
.bg-muted {
    background-color: var(--muted);
}

/* Rounded */
.rounded-lg {
    border-radius: var(--radius-md);
}

.rounded-xl {
    border-radius: var(--radius-lg);
}

.rounded-full {
    border-radius: var(--radius-full);
}

/* Border */
.border {
    border: 1px solid var(--border);
}

/* Missing Positioning & Transform Utilities */
.top-1 {
    top: 0.25rem;
}

.top-1\/2 {
    top: 50%;
}

.right-1 {
    right: 0.25rem;
}

.right-2 {
    right: 0.5rem;
}

.bottom-0 {
    bottom: 0;
}

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

.-translate-y-1\/2 {
    transform: translateY(-50%);
}

.mb-8 {
    margin-bottom: 2rem;
}

/* Gray Utilities for V0 Compatibility */
.bg-gray-100 {
    background-color: #f3f4f6;
}

.text-gray-700 {
    color: #374151;
}

/* Missing Utilities for Info Page V0 Design */
.w-28 {
    width: 7rem;
}

.h-28 {
    height: 7rem;
}

.rounded-3xl {
    border-radius: 1.5rem;
}

.gap-6 {
    gap: 1.5rem;
}

.space-y-6>*+* {
    margin-top: 1.5rem;
}

.p-5 {
    padding: 1.25rem;
}

.border-border\/50 {
    border-color: color-mix(in oklch, var(--border), transparent 50%);
}

/* Additional Positioning Utilities */
.mt-1 {
    margin-top: 0.25rem;
}

.mt-0\.5 {
    margin-top: 0.125rem;
}
/* Gradient Utilities */
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.via-primary\/95 { --tw-gradient-via: color-mix(in oklch, var(--primary), transparent 5%); var(--tw-gradient-stops): var(--tw-gradient-from), var(--tw-gradient-via), var(--tw-gradient-to, rgb(255 255 255 / 0)); }
.to-primary\/80 { --tw-gradient-to: color-mix(in oklch, var(--primary), transparent 20%); }

/* Text Utilities */
.text-balance { text-wrap: balance; }

/* Spacing Overrides */
.-mt-6 { margin-top: -1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }

/* Missing Utilities for Scan Page Refactor */
.bg-primary\/90:hover { background-color: color-mix(in oklch, var(--primary), transparent 10%); }
.border-b { border-bottom-width: 1px; }
.divide-y > * + * { border-top-width: 1px; }
.divide-border\/50 > * + * { border-top-color: color-mix(in oklch, var(--border), transparent 50%); }
.hover\:bg-accent\/50:hover { background-color: color-mix(in oklch, var(--accent), transparent 50%); }
.line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.bg-primary\/5 { background-color: color-mix(in oklch, var(--primary), transparent 95%); }
.bg-primary\/20 { background-color: color-mix(in oklch, var(--primary), transparent 80%); }
.bg-accent\/5 { background-color: color-mix(in oklch, var(--accent), transparent 95%); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.from-primary\/5 { --tw-gradient-from: color-mix(in oklch, var(--primary), transparent 95%); var(--tw-gradient-stops): var(--tw-gradient-from), var(--tw-gradient-to, rgb(255 255 255 / 0)); }
.to-primary\/10 { --tw-gradient-to: color-mix(in oklch, var(--primary), transparent 90%); }
.to-accent\/5 { --tw-gradient-to: color-mix(in oklch, var(--accent), transparent 95%); }
.border-primary\/10 { border-color: color-mix(in oklch, var(--primary), transparent 90%); }
.text-primary\/40 { color: color-mix(in oklch, var(--primary), transparent 60%); }
.mr-2 { margin-right: 0.5rem; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

/* Spacing Utilities */
.p-8 { padding: 2rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }

/* Icon Stroke Width */
.stroke-\[1\.5\] { stroke-width: 1.5px; }

/* Green Utilities for Promo Buttons */
.bg-green-600 { background-color: rgb(22 163 74); }
.hover\:bg-green-700:hover { background-color: rgb(21 128 61); }

/* Yellow Utilities for Stars */
.text-yellow-300 { color: rgb(253 224 71); }
.fill-yellow-300 { fill: rgb(253 224 71); }

/* Utility Classes */
.hidden { display: none !important; }

/* Image Utilities */
.w-24 { width: 6rem; }
.h-24 { height: 6rem; }
.object-cover { object-fit: cover; }
.bg-gray-100 { background-color: #f3f4f6; }

/* Custom Colors for Promo Page */
.text-wine-red { color: #5C232C; }
.bg-wine-red { background-color: #5C232C; }
.bg-wine-red-5 { background-color: rgba(92, 35, 44, 0.05); }
.bg-wine-red-10 { background-color: rgba(92, 35, 44, 0.1); }
.text-gold { color: #FCD34D; }
.fill-gold { fill: #FCD34D; }
.bg-background-off-white { background-color: #F9F9F9; }
.text-dark-gray { color: #1A1A1A; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Additional Spacing */
.mt-3 { margin-top: 0.75rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-3 { margin-bottom: 0.75rem; }
.gap-1\.5 { gap: 0.375rem; }
.text-right { text-align: right; }
.leading-tight { line-height: 1.25; }

/* Use consistent spacing */
.mt-5 { margin-top: 1.25rem; }
.pt-1 { padding-top: 0.25rem; }
.text-lg-title { font-size: 1.125rem; line-height: 1.5rem; } /* Custom larger title */

/* Refinement Utilities */
.gap-6 { gap: 1.5rem; }
.pb-6 { padding-bottom: 1.5rem; }
.mb-0\.5 { margin-bottom: 0.125rem; }
.leading-snug { line-height: 1.375; }
.p-6 { padding: 1.5rem; } /* Reduced from p-8 */

/* Visual Effects */
.grayscale { filter: grayscale(100%); }
.text-muted-gold { color: #C5A065; } /* Muted gold for locked state */

/* Missing Border Utilities */
.border-none { border-style: none; }

/* Expanded Spacing Utilities */
.space-y-8 > * + * { margin-top: 2rem; }

/* Height Utilities */
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-12 { height: 3rem; }

/* Smaller Height Utilities */
.h-8 { height: 2rem; }

/* Yellow Utilities for Interested Button */
.bg-yellow-400 { background-color: #facc15; }
.hover\:bg-yellow-500:hover { background-color: #eab308; }
.text-yellow-900 { color: #713f12; }
