/* ================================================================
   OWL LEGACY MERCH WIDGETS — Global Styles
   ================================================================ */

/* Event Banner */
.olfm-banner { text-align: center; font-family: 'Source Sans 3', system-ui, sans-serif; line-height: 1.6; border-bottom: 1px solid rgba(184, 148, 31, 0.18); }
.olfm-banner .b-dot { margin: 0 14px; opacity: 0.5; }
.olfm-banner a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) { .olfm-banner .b-dot { margin: 0 8px; } }

/* Shop Heading */
.olfm-shop-heading { text-align: center; max-width: 820px; margin: 0 auto; font-family: 'Source Sans 3', system-ui, sans-serif; }
.olfm-shop-heading .sh-eyebrow { display: block; margin-bottom: 14px; }
.olfm-shop-heading h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; line-height: 1.1; letter-spacing: -0.3px; margin: 0; }
.olfm-shop-heading .sh-ornament { width: 60px; height: 1px; background: #B8941F; margin: 24px auto 0; position: relative; }
.olfm-shop-heading .sh-ornament::before { content: ""; position: absolute; width: 8px; height: 8px; background: #B8941F; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); }

/* Hero Slider */
.olfm-hero { position: relative; overflow: hidden; min-height: 620px; font-family: 'Source Sans 3', system-ui, sans-serif; color: #FBF7EF; }
.olfm-hero::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.18'/></svg>"); opacity: 0.45; pointer-events: none; mix-blend-mode: overlay; z-index: 1; }
.olfm-hero .hr-track { position: relative; min-height: 620px; z-index: 2; }
.olfm-hero .hr-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s ease; padding: 80px 48px; }
.olfm-hero .hr-slide.active { opacity: 1; visibility: visible; }
.olfm-hero .hr-inner { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; min-height: 460px; }
.olfm-hero .hr-text { max-width: 580px; }
.olfm-hero .hr-eyebrow { font-size: 12px; letter-spacing: 5px; text-transform: uppercase; color: #C9A961; margin-bottom: 28px; font-weight: 600; }
.olfm-hero .hr-text h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: clamp(42px, 5.5vw, 72px); font-weight: 500; line-height: 1.05; letter-spacing: -0.5px; margin: 0 0 28px; color: #B8941F; }
.olfm-hero .hr-text p { font-size: 18px; line-height: 1.7; color: #FBF7EF; margin: 0 0 40px; opacity: 0.88; }
.olfm-hero .hr-ctas { display: flex; gap: 18px; flex-wrap: wrap; }
.olfm-hero .hr-btn { display: inline-block; padding: 14px 32px; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; border: 2px solid; border-radius: 999px; transition: all .25s; }
.olfm-hero .hr-btn.gold { background: #B8941F; color: #1F1608; border-color: #B8941F; }
.olfm-hero .hr-btn.gold:hover { background: #D4B14A; border-color: #D4B14A; color: #1F1608; }
.olfm-hero .hr-btn.outline { background: transparent; color: #B8941F; border-color: #B8941F; }
.olfm-hero .hr-btn.outline:hover { background: #B8941F; color: #1F1608; }
.olfm-hero .hr-visual { height: 100%; min-height: 380px; display: grid; gap: 14px; position: relative; }
.olfm-hero .hr-vblock { background: radial-gradient(circle at 30% 30%, rgba(212, 177, 74, 0.22) 0%, transparent 60%), linear-gradient(135deg, rgba(248, 241, 220, 0.12) 0%, rgba(184, 148, 31, 0.06) 100%); border: 1px solid rgba(212, 177, 74, 0.32); border-radius: 4px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.olfm-hero .hr-vblock img { width: 100%; height: 100%; object-fit: cover; }
.olfm-hero .hr-vlabel { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 14px; color: #C9A961; opacity: 0.7; padding: 0 14px; text-align: center; position: relative; z-index: 2; }
.olfm-hero .hr-slide[data-layout="stack-two"] .hr-visual { grid-template-columns: 1fr 1fr; }
.olfm-hero .hr-slide[data-layout="stack-two"] .hr-vblock:nth-child(1) { transform: translateY(-16px); }
.olfm-hero .hr-slide[data-layout="stack-two"] .hr-vblock:nth-child(2) { transform: translateY(16px); }
.olfm-hero .hr-slide[data-layout="single-large"] .hr-visual { grid-template-columns: 1fr; }
.olfm-hero .hr-slide[data-layout="grid-four"] .hr-visual { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.olfm-hero .hr-arrows { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.olfm-hero .hr-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid rgba(212, 177, 74, 0.4); background: rgba(31, 22, 8, 0.4); color: #C9A961; display: flex; align-items: center; justify-content: center; cursor: pointer; pointer-events: auto; transition: all .25s; backdrop-filter: blur(4px); }
.olfm-hero .hr-arrow:hover { background: #B8941F; color: #1F1608; border-color: #B8941F; }
.olfm-hero .hr-arrow.prev { left: 24px; }
.olfm-hero .hr-arrow.next { right: 24px; }
.olfm-hero .hr-arrow svg { width: 18px; height: 18px; }
.olfm-hero .hr-dots { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 5; }
.olfm-hero .hr-dot { width: 10px; height: 10px; border-radius: 50%; background: transparent; border: 1.5px solid #C9A961; cursor: pointer; padding: 0; transition: all .25s; }
.olfm-hero .hr-dot.active { background: #B8941F; border-color: #B8941F; transform: scale(1.2); }
@media (max-width: 1024px) { .olfm-hero .hr-inner { grid-template-columns: 1fr; gap: 48px; } .olfm-hero .hr-visual { min-height: 280px; } .olfm-hero .hr-arrow.prev { left: 12px; } .olfm-hero .hr-arrow.next { right: 12px; } }
@media (max-width: 720px) { .olfm-hero, .olfm-hero .hr-track { min-height: 560px; } .olfm-hero .hr-slide { padding: 64px 24px 80px; } .olfm-hero .hr-arrow { width: 44px; height: 44px; left: 8px; } .olfm-hero .hr-arrow.next { right: 8px; left: auto; } }

/* Featured Products & Product Grid (shared card styles) */
.olfm-featured, .olfm-shop { background: #FFFFFF; font-family: 'Source Sans 3', system-ui, sans-serif; }
.olfm-featured .ft-inner, .olfm-shop .pg-inner { max-width: 1440px; margin: 0 auto; }
.olfm-featured .ft-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 32px; gap: 20px; flex-wrap: wrap; }
.olfm-featured .ft-head h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: clamp(28px, 3vw, 38px); font-weight: 500; color: #2A1F0E; letter-spacing: -0.2px; margin: 0; }
.olfm-featured .ft-pill { font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; color: #B8941F; font-weight: 700; padding: 6px 14px; border: 1.5px solid #B8941F; border-radius: 999px; display: inline-block; }
.olfm-featured .ft-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.olfm-shop .pg-cat { margin-bottom: 80px; scroll-margin-top: 120px; }
.olfm-shop .pg-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 32px; padding-bottom: 18px; border-bottom: 1px solid #EDE0BC; gap: 20px; flex-wrap: wrap; }
.olfm-shop .pg-head h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: clamp(28px, 3vw, 38px); font-weight: 500; color: #2A1F0E; letter-spacing: -0.2px; margin: 0; }
.olfm-shop .pg-count { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #8C6E40; font-weight: 600; }
.olfm-shop .pg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 24px; }

.olfm-card { text-decoration: none; color: #2A1F0E; display: flex; flex-direction: column; transition: transform .3s; }
.olfm-card:hover { transform: translateY(-6px); color: #2A1F0E; }
.olfm-card .c-image { aspect-ratio: 1; background: radial-gradient(circle at 30% 30%, rgba(212, 177, 74, 0.22) 0%, transparent 60%), linear-gradient(135deg, #E8DFC4 0%, #F0E5C7 100%); border: 1px solid #DCC9A0; border-radius: 4px; margin-bottom: 18px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; transition: border-color .25s, box-shadow .25s; }
.olfm-card.aspect-portrait .c-image { aspect-ratio: 4/5; margin-bottom: 16px; }
.olfm-card:hover .c-image { border-color: #B8941F; box-shadow: 0 12px 28px rgba(184, 148, 31, 0.18); }
.olfm-card .c-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,22,8,0) 40%, rgba(31,22,8,0.55) 100%); opacity: 0; transition: opacity .3s; z-index: 2; pointer-events: none; }
.olfm-card:hover .c-image::after { opacity: 1; }
.olfm-card .c-image img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.olfm-card .c-emblem { width: 50%; height: 50%; opacity: 0.22; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.olfm-card .c-placeholder { position: relative; z-index: 1; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 13px; color: #8C6E40; opacity: 0.55; padding: 0 12px; text-align: center; }
.olfm-card .c-badge { position: absolute; top: 14px; left: 14px; background: #6B1F22; color: #FBF7EF; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; font-weight: 700; z-index: 3; }
.olfm-card .c-pill { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%) translateY(10px); background: #B8941F; color: #1F1608; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 9px 18px; border-radius: 999px; opacity: 0; transition: all .3s; z-index: 3; white-space: nowrap; pointer-events: none; }
.olfm-card:hover .c-pill { opacity: 1; transform: translateX(-50%) translateY(0); }
.olfm-card.tbd .c-pill { background: #8C6E40; color: #FBF7EF; }
.olfm-card .c-name { font-size: 15px; font-weight: 600; color: #2A1F0E; margin: 0 0 6px; line-height: 1.35; }
.olfm-card.aspect-portrait .c-name { font-size: 16px; }
.olfm-card .c-meta { font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: #6B1F22; font-weight: 600; }
.olfm-card.aspect-portrait .c-meta { font-size: 12px; }
.olfm-card.tbd .c-meta { color: #8C7E66; font-style: italic; text-transform: none; letter-spacing: 0.5px; font-weight: 500; }
@media (max-width: 1100px) { .olfm-featured .ft-grid, .olfm-shop .pg-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .olfm-featured .ft-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .olfm-shop .pg-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; } }

/* Category Nav */
.olfm-catnav { position: sticky; top: 0; z-index: 20; background: #FFFFFF; border-bottom: 1px solid #EDE0BC; box-shadow: 0 4px 16px rgba(61, 47, 24, 0); transition: box-shadow .3s; font-family: 'Source Sans 3', system-ui, sans-serif; }
.olfm-catnav.stuck { box-shadow: 0 4px 18px rgba(61, 47, 24, 0.08); }
.olfm-catnav .cn-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1440px; margin: 0 auto; }
.olfm-catnav .cn-chip { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #3D2F18; background: #FBF7EF; border: 1px solid #DCC9A0; border-radius: 999px; text-decoration: none; transition: all .2s; }
.olfm-catnav .cn-chip:hover { background: #F0E5C7; border-color: #C9A961; color: #3D2F18; }
.olfm-catnav .cn-chip.active { background: #B8941F; border-color: #B8941F; color: #1F1608; box-shadow: 0 4px 12px rgba(184, 148, 31, 0.3); }
.olfm-catnav .cn-count { font-size: 11px; opacity: 0.55; letter-spacing: 0; font-weight: 500; }
@media (max-width: 720px) { .olfm-catnav .cn-chip { padding: 8px 14px; font-size: 11.5px; } }

/* Heritage Break */
.olfm-heritage { text-align: center; position: relative; overflow: hidden; font-family: 'Source Sans 3', system-ui, sans-serif; }
.olfm-heritage::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.15'/></svg>"); opacity: 0.4; pointer-events: none; mix-blend-mode: overlay; }
.olfm-heritage .h-inner { max-width: 880px; margin: 0 auto; position: relative; }
.olfm-heritage .h-ornament { width: 60px; height: 1px; background: #B8941F; margin: 0 auto 36px; position: relative; opacity: 0.6; }
.olfm-heritage .h-ornament::before { content: ""; position: absolute; width: 8px; height: 8px; background: #B8941F; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.olfm-heritage .h-quote { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 500; margin: 0 0 32px; letter-spacing: -0.2px; }
.olfm-heritage .h-attribution { letter-spacing: 4px; text-transform: uppercase; margin: 0; font-weight: 500; }

/* Specialty Items */
.olfm-specialty { font-family: 'Source Sans 3', system-ui, sans-serif; border-top: 1px solid #EDE0BC; }
.olfm-specialty .sp-inner { max-width: 960px; margin: 0 auto; }
.olfm-specialty .sp-head { text-align: center; margin-bottom: 48px; }
.olfm-specialty .sp-eyebrow { display: block; margin-bottom: 14px; }
.olfm-specialty .sp-head h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; line-height: 1.1; margin: 0 0 16px; }
.olfm-specialty .sp-head p { line-height: 1.65; max-width: 620px; margin: 0 auto; }
.olfm-specialty .sp-list { background: #FFFFFF; border: 1px solid #EDE0BC; border-top: 4px solid #B8941F; border-radius: 4px; overflow: hidden; margin-bottom: 32px; box-shadow: 0 12px 32px rgba(61, 47, 24, 0.06); }
.olfm-specialty .sp-item { display: flex; align-items: center; justify-content: space-between; padding: 22px 32px; border-bottom: 1px solid #EDE0BC; gap: 24px; }
.olfm-specialty .sp-item:last-child { border-bottom: none; }
.olfm-specialty .sp-name { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; font-weight: 500; }
.olfm-specialty .sp-price { font-size: 18px; font-weight: 700; color: #B8941F; letter-spacing: 0.3px; }
.olfm-specialty .sp-cta { text-align: center; }
.olfm-specialty .sp-cta p { font-size: 14px; margin-bottom: 20px; font-style: italic; }
.olfm-specialty .sp-btn { display: inline-block; padding: 16px 36px; font-size: 14px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; border-radius: 999px; transition: all .25s; border: 2px solid; }
@media (max-width: 720px) { .olfm-specialty .sp-item { padding: 18px 22px; } .olfm-specialty .sp-name { font-size: 19px; } }

/* Footer */
.olfm-footer { font-family: 'Source Sans 3', system-ui, sans-serif; }
.olfm-footer .ft-inner { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 2.2fr 1fr 1fr; gap: 64px; padding-bottom: 44px; border-bottom: 1px solid rgba(184, 148, 31, 0.18); }
.olfm-footer .ft-logo { font-size: 13px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 18px; }
.olfm-footer .ft-mission { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 19px; line-height: 1.55; margin-bottom: 16px; max-width: 460px; }
.olfm-footer .ft-tagline { font-size: 14px; line-height: 1.7; opacity: 0.7; max-width: 460px; margin: 0; }
.olfm-footer .ft-col h4 { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 700; margin: 0 0 18px; }
.olfm-footer .ft-col a, .olfm-footer .ft-col span { display: block; font-size: 14px; line-height: 1.85; text-decoration: none; opacity: 0.75; transition: opacity .2s, color .2s; }
.olfm-footer .ft-col a:hover { opacity: 1; }
.olfm-footer .ft-bottom { max-width: 1440px; margin: 28px auto 0; text-align: center; font-size: 12.5px; letter-spacing: 1px; opacity: 0.5; }
@media (max-width: 1024px) { .olfm-footer .ft-inner { grid-template-columns: 1fr 1fr; gap: 40px; } .olfm-footer .ft-brand { grid-column: 1 / -1; } }
@media (max-width: 720px) { .olfm-footer .ft-inner { grid-template-columns: 1fr; gap: 36px; } }

/* Back to Top */
.olfm-btt { position: fixed; bottom: 32px; right: 32px; width: 52px; height: 52px; border-radius: 50%; background: #B8941F; color: #1F1608; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .3s ease; z-index: 9999; box-shadow: 0 8px 24px rgba(184, 148, 31, 0.35); }
.olfm-btt.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.olfm-btt:hover { background: #D4B14A; transform: translateY(-4px); box-shadow: 0 12px 32px rgba(184, 148, 31, 0.45); }
.olfm-btt svg { width: 20px; height: 20px; }
@media (max-width: 720px) { .olfm-btt { width: 46px; height: 46px; bottom: 20px; right: 20px; } }
