/* OMWEAR storefront refinement. Direction: clothing, quiet surfaces, deliberate seams.
 * Unslop process by Damir Sokolovsky (@heydamir), CC BY 4.0.
 */
.omwear-storefront {
    --om-ink: #242724;
    --om-secondary: #565b55;
    --om-muted: #686e66;
    --om-paper: #fcfbf8;
    --om-raised: #f3f2ed;
    --om-line: #e2e3dc;
    color: var(--om-ink);
    background: var(--om-paper);
    font-weight: 400;
    font-variant-numeric: tabular-nums;
}
.omwear-storefront .bg-white { background-color: var(--om-paper); }
.omwear-storefront .bg-stone-50, .omwear-storefront .bg-stone-100 { background-color: var(--om-raised); }
.omwear-storefront .bg-slate-900 { background-color: var(--om-ink); }
.omwear-storefront .text-slate-900, .omwear-storefront .text-slate-800, .omwear-storefront .text-slate-700 { color: var(--om-ink); }
.omwear-storefront .text-slate-600, .omwear-storefront .text-slate-500 { color: var(--om-secondary); }
.omwear-storefront .text-slate-400 { color: var(--om-muted); }
.omwear-storefront .border-slate-100, .omwear-storefront .border-slate-200 { border-color: var(--om-line); }
.omwear-storefront .font-bold, .omwear-storefront .font-extrabold { font-weight: 600; }
.omwear-storefront .uppercase { text-transform: none; letter-spacing: 0; }
.omwear-storefront .tracking-wide, .omwear-storefront .tracking-wider, .omwear-storefront .tracking-widest, .omwear-storefront .tracking-tight, .omwear-storefront .tracking-tighter { letter-spacing: 0; }
.omwear-storefront [class~="text-[9px]"], .omwear-storefront [class~="text-[10px]"], .omwear-storefront [class~="text-[11px]"] { font-size: 12px; line-height: 1.5; }
.omwear-storefront .italic { font-style: normal; }
.omwear-storefront .rounded-xl { border-radius: 8px; }
.omwear-storefront .rounded-2xl { border-radius: 12px; }
.omwear-storefront .rounded-3xl { border-radius: 16px; }
.omwear-storefront a.rounded-full, .omwear-storefront button.rounded-full { border-radius: 8px; }
.omwear-storefront .shadow-xl, .omwear-storefront .shadow-2xl { box-shadow: 0 8px 32px #24272414; }
.omwear-storefront .lucide { stroke-width: 1.5; }
.omwear-storefront :is(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--om-ink); outline-offset: 4px; }
.omwear-storefront :is(a, button) { transition: color 160ms ease-out, background-color 160ms ease-out, border-color 160ms ease-out, opacity 160ms ease-out; }
.omwear-storefront button { touch-action: manipulation; }
.omwear-storefront .line-through { font-variant-numeric: tabular-nums; }
.omwear-storefront .omwear-header { background: var(--om-paper); backdrop-filter: none; border-color: var(--om-line); }
.omwear-header > div:first-child { padding-block: 8px; font-size: 12px; letter-spacing: 0; }
.omwear-header > div:nth-child(2) { height: 80px; gap: 24px; }
.omwear-header nav { gap: 24px; }
.omwear-header form { display: none; }
.omwear-header a[href$="/auth/register"] { min-height: 40px; display: inline-flex; align-items: center; padding-inline: 20px; }
.omwear-header input { min-height: 40px; font-size: 13px; }
.omwear-header nav a { position: relative; padding-block: 12px; }
.omwear-header nav a.font-semibold::after { content: ''; position: absolute; bottom: 0; inset-inline: 0; height: 1px; background: currentColor; }
.omwear-storefront .omwear-hero { background: var(--om-paper); }
.omwear-hero-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 64px; padding-block: 64px; }
.omwear-eyebrow { display: flex; align-items: center; gap: 12px; color: var(--om-secondary); font-size: 13px; margin-bottom: 24px; }
.omwear-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--om-ink); }
.omwear-hero-copy h1 { font-size: clamp(44px, 4.5vw, 64px); line-height: 1.08; font-weight: 500; letter-spacing: -.04em; }
.omwear-hero-description { font-size: 15px; line-height: 1.8; color: var(--om-secondary); max-width: 440px; margin-top: 24px; }
.omwear-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.omwear-primary, .omwear-secondary { min-height: 48px; padding: 12px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: 14px; font-weight: 500; border-radius: 8px; }
.omwear-primary { color: white; background: var(--om-ink); border: 1px solid var(--om-ink); }
.omwear-primary:hover { background: #40473e; }
.omwear-secondary { color: var(--om-ink); border: 1px solid var(--om-line); }
.omwear-secondary:hover { background: var(--om-raised); }
.omwear-hero-actions .lucide { width: 16px; height: 16px; }
.omwear-store-notes { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--om-line); display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.omwear-store-notes span { display: block; font-size: 13px; font-weight: 500; }
.omwear-store-notes small { display: block; font-size: 12px; color: var(--om-muted); margin-top: 4px; }
.omwear-showcase { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.omwear-showcase-item { min-width: 0; display: block; }
.omwear-showcase-item:nth-child(2) { padding-top: 48px; }
.omwear-showcase-image { background: var(--om-raised); border-radius: 12px; overflow: hidden; aspect-ratio: 3/4; }
.omwear-showcase-image img { width: 100%; height: 100%; object-fit: cover; }
.omwear-showcase-item:hover img { opacity: .92; }
.omwear-showcase-caption { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--om-line); font-size: 12px; line-height: 1.5; display: flex; flex-direction: column; gap: 4px; }
.omwear-showcase-caption span:first-child { color: var(--om-secondary); }
.omwear-showcase-caption span:last-child { font-weight: 500; }
.omwear-storefront .omwear-categories { padding-block: 24px; background: var(--om-raised); }
.omwear-categories a { display: inline-flex; align-items: center; min-height: 40px; border-radius: 8px; font-size: 13px; }
.omwear-storefront main h2 { font-size: 32px; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.omwear-storefront .omwear-product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px 24px; }
.omwear-storefront .omwear-product-card { border: 0; border-radius: 0; box-shadow: none; background: transparent; min-width: 0; }
.omwear-product-card > a:first-child, .omwear-product-card > div:first-child { border-radius: 12px; overflow: hidden; }
.omwear-product-card > div:last-child { padding: 16px 0 0; }
.omwear-product-card h3, .omwear-product-card .line-clamp-2 { font-size: 14px; line-height: 1.6; font-weight: 500; }
.omwear-product-card .line-clamp-1, .omwear-product-card h3.truncate { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.omwear-product-card button { min-height: 44px; min-width: 44px; }
.omwear-product-card span.rounded-full { border-radius: 4px; padding: 4px 8px; }
.omwear-product-card .line-through { color: var(--om-muted); }
.omwear-storefront .omwear-footer { margin-top: 48px; background: var(--om-raised); }
.omwear-footer h4 { font-weight: 500; font-size: 14px; }
.omwear-footer .mt-5.flex { flex-wrap: wrap; row-gap: 12px; }
.omwear-promo-open { overflow: hidden; }
.omwear-storefront .omwear-promo-backdrop { padding: 24px; background: #24272466; overflow: hidden; backdrop-filter: none; }
.omwear-storefront .omwear-promo-dialog { display: flex; flex-direction: column; max-height: calc(100dvh - 48px); margin: 0; border-radius: 16px; background: var(--om-paper); overflow: hidden; }
.omwear-promo-heading { display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--om-line); font-size: 14px; font-weight: 500; }
.omwear-storefront .omwear-promo-close { position: static; width: 40px; height: 40px; flex-shrink: 0; border-radius: 8px; }
.omwear-promo-content { overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
.omwear-promo-content > div { padding: 24px; min-width: 0; }
.omwear-promo-content h3 { font-size: 28px; font-weight: 500; letter-spacing: -.02em; }
.omwear-promo-content h4 { font-size: 20px; font-weight: 500; }
.omwear-promo-content .text-xs { font-size: 13px; line-height: 1.6; }
.omwear-promo-content .border-dashed { border-width: 1px; border-color: #979d92; border-radius: 12px; }
.omwear-promo-content .text-amber-800, .omwear-promo-content .text-amber-700 { color: #72501b; }
.omwear-promo-content .bg-amber-50 { background: #f4efdf; }
.omwear-promo-content .border-amber-200 { border-color: #dfd6bc; }
.omwear-promo-content .border-dashed > div:first-child { flex-wrap: wrap; gap: 12px; }
.omwear-promo-content .pt-4.mt-4 { gap: 16px; flex-wrap: wrap; }
.omwear-storefront .omwear-promo-trigger { min-height: 44px; border-radius: 8px; bottom: 20px; left: 20px; box-shadow: 0 2px 12px #2427240a; }
.omwear-storefront .omwear-chat > div { width: min(384px, calc(100vw - 32px)); max-height: min(480px, calc(100dvh - 112px)); }
.omwear-chat input { min-width: 0; }
.omwear-chat > button { min-height: 44px; box-shadow: 0 2px 12px #24272414; }
.omwear-chat .min-h-\[240px\] { min-height: 120px; }
@media (min-width: 1280px) { .omwear-header form { display: flex; } }
@media (max-width: 1023px) {
    .omwear-header > div:nth-child(2) { height: 72px; gap: 16px; }
    .omwear-hero-layout { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; padding-block: 48px; }
    .omwear-hero-copy h1 { font-size: 44px; }
    .omwear-storefront .omwear-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .omwear-store-notes { grid-template-columns: 1fr; gap: 12px; }
    .omwear-store-notes > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
    .omwear-store-notes small { margin-top: 0; }
}
@media (max-width: 639px) {
    .omwear-header > div:first-child { font-size: 12px; padding: 8px 16px; }
    .omwear-header > div:first-child > span:first-child { display: none; }
    .omwear-header > div:first-child > span:nth-child(2) { display: none; }
    .omwear-header > div:nth-child(2) { height: 64px; gap: 8px; }
    .omwear-header > div:nth-child(2) > div:first-child { gap: 8px; }
    .omwear-header a[href$="/auth/register"] { padding-inline: 12px; }
    .omwear-header a[href$="/auth/login"] { padding-inline: 8px; }
    .omwear-header a[href$="/"] > span { display: none; }
    .omwear-header a[href$="/"] .text-base { font-size: 16px; letter-spacing: 0; }
    .omwear-header a[href$="/"] .text-xs { font-size: 12px; }
    .omwear-hero-layout { grid-template-columns: minmax(0,1fr); padding-block: 40px; gap: 32px; }
    .omwear-eyebrow { margin-bottom: 20px; font-size: 12px; }
    .omwear-hero-copy h1 { font-size: 44px; letter-spacing: -.035em; }
    .omwear-hero-description { margin-top: 20px; font-size: 14px; line-height: 1.75; }
    .omwear-hero-actions { margin-top: 24px; gap: 12px; }
    .omwear-primary, .omwear-secondary { font-size: 13px; padding-inline: 16px; gap: 8px; }
    .omwear-store-notes { margin-top: 24px; padding-top: 16px; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
    .omwear-store-notes > div { display: block; }
    .omwear-store-notes span, .omwear-store-notes small { font-size: 12px; line-height: 1.6; }
    .omwear-store-notes small { margin-top: 4px; }
    .omwear-showcase { gap: 12px; }
    .omwear-showcase-item:nth-child(2) { padding-top: 24px; }
    .omwear-showcase-caption span:first-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 36px; }
    .omwear-storefront .omwear-categories { padding-block: 20px; }
    .omwear-categories .flex.flex-wrap.gap-2 { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; }
    .omwear-categories a { flex-shrink: 0; }
    .omwear-storefront main > section.py-14, .omwear-storefront main > section.py-16 { padding-block: 40px; }
    .omwear-storefront main h2 { font-size: 26px; }
    .omwear-storefront .omwear-product-grid { gap: 24px 12px; }
    .omwear-product-card > div:last-child { padding-top: 12px; }
    .omwear-product-card h3, .omwear-product-card .line-clamp-2 { font-size: 13px; line-height: 1.5; }
    .omwear-product-card .text-base { font-size: 14px; }
    .omwear-product-card .flex.items-baseline { flex-wrap: wrap; gap: 4px 8px; }
    .omwear-product-card .mt-3.flex { flex-wrap: wrap; gap: 4px; }
    .omwear-product-card .mt-4.pt-3 { margin-top: 12px; padding-top: 12px; }
    .omwear-product-card button { min-width: 36px; min-height: 44px; padding: 8px; }
    .omwear-storefront .omwear-footer { margin-top: 24px; padding-bottom: 80px; }
    .omwear-footer > div { padding-block: 40px; }
    .omwear-footer .mt-5.flex > span { overflow-wrap: anywhere; }
    .omwear-storefront .omwear-promo-backdrop { padding: 12px; }
    .omwear-storefront .omwear-promo-dialog { max-height: calc(100dvh - 24px); border-radius: 12px; }
    .omwear-promo-heading { padding: 8px 12px 8px 20px; }
    .omwear-promo-content > div { padding: 20px; }
    .omwear-promo-content .border-dashed { padding: 16px; }
    .omwear-storefront .omwear-promo-trigger { left: 12px; bottom: 12px; padding: 12px; }
    .omwear-storefront .omwear-chat { right: 12px; bottom: 12px; }
    .omwear-chat > button { padding: 12px; }
    .omwear-chat > div { width: calc(100vw - 24px); }
}
@media (max-width: 359px) {
    .omwear-hero-copy h1 { font-size: 40px; }
    .omwear-header a[href$="/"] .text-xs { display: none; }
    .omwear-header > div:nth-child(2) { padding-inline: 12px; }
    .omwear-store-notes { grid-template-columns: minmax(0,1fr); }
    .omwear-store-notes > div { display: flex; gap: 12px; }
    .omwear-promo-content .flex.items-center.justify-between { flex-wrap: wrap; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    html:has(.omwear-storefront) { scroll-behavior: auto; }
    .omwear-storefront *, .omwear-storefront *::before, .omwear-storefront *::after { animation: none !important; transition-duration: 0ms !important; }
}
@media print {
    .no-print { display: none !important; }
}
