/* OneLink Homepage Builder v1.0 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&family=DM+Sans:wght@400;500;600;700;800&display=swap');

/* ── Deal Ticker ──────────────────────────────────────────── */
.olsh-ticker{overflow:hidden;white-space:nowrap;padding:10px 0;font-family:'DM Sans',sans-serif;font-size:13px;font-weight:600;position:relative;z-index:100;}
.olsh-ticker-track{display:inline-flex;animation:olsh-scroll linear infinite;}
.olsh-ticker-item{display:inline-flex;align-items:center;gap:6px;padding:0 32px;color:inherit;text-decoration:none;transition:opacity .15s;}
.olsh-ticker-item:hover{opacity:.8;color:inherit;}
@keyframes olsh-scroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* ── Hero Section ─────────────────────────────────────────── */
.olsh-hero{display:flex;align-items:center;gap:60px;padding:60px 40px 50px;max-width:1280px;margin:0 auto;font-family:'DM Sans',sans-serif;flex-wrap:wrap;}
.olsh-hero-left{flex:1;min-width:320px;}
.olsh-hero-right{flex:1;min-width:340px;max-width:520px;}
.olsh-hero-tagline{color:#C0392B;font-size:13px;font-weight:800;letter-spacing:2px;text-transform:uppercase;margin-bottom:16px;}
.olsh-hero-headline{font-family:'Playfair Display',Georgia,serif;font-size:clamp(32px,5vw,56px);font-weight:900;color:#111;line-height:1.1;margin:0 0 28px;letter-spacing:-1px;}
.olsh-hero-cta{display:inline-block;color:#fff;padding:16px 34px;border-radius:30px;font-size:16px;font-weight:800;text-decoration:none;transition:all .2s;cursor:pointer;border:none;font-family:'DM Sans',sans-serif;}
.olsh-hero-cta:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.2);color:#fff;}
.olsh-hero-subtext{font-size:15px;color:#666;margin:20px 0 28px;line-height:1.6;max-width:460px;}

/* ── Hero Search ──────────────────────────────────────────── */
.olsh-hero-search{margin-bottom:24px;max-width:520px;}
.olsh-hero-search form{display:flex;background:#fff;border:2px solid #111;border-radius:40px;overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,.06);}
.olsh-hero-search-input{flex:1;border:none;outline:none;padding:16px 24px;font-size:15px;font-family:'DM Sans',sans-serif;background:transparent;}
.olsh-hero-search-btn{background:#111;color:#fff;border:none;padding:16px 32px;font-size:15px;font-weight:700;cursor:pointer;font-family:'DM Sans',sans-serif;border-radius:0 38px 38px 0;transition:background .15s;}
.olsh-hero-search-btn:hover{background:#333;}

/* ── Trust Badges ─────────────────────────────────────────── */
.olsh-trust-badges{display:flex;gap:20px;flex-wrap:wrap;font-size:13px;color:#555;font-weight:600;}
.olsh-trust-badge{display:inline-flex;align-items:center;gap:6px;}
.olsh-trust-icon{font-size:16px;}

/* ── Price Comparison Grid ────────────────────────────────── */
.olsh-price-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.olsh-price-card{background:#fff;border:2px solid #f0e8e8;border-radius:14px;padding:24px;text-decoration:none;color:#111;transition:all .2s;display:block;position:relative;}
.olsh-price-card:hover{border-color:#C0392B;box-shadow:0 4px 20px rgba(192,57,43,.1);transform:translateY(-2px);color:#111;}
.olsh-price-best{border-color:#C0392B;background:#fef9f9;}
.olsh-best-badge{position:absolute;top:-11px;left:16px;background:#C0392B;color:#fff;font-size:10px;font-weight:800;padding:3px 12px;border-radius:20px;letter-spacing:.5px;}
.olsh-price-store{font-size:12px;font-weight:700;color:#888;letter-spacing:1px;text-transform:uppercase;margin-bottom:8px;}
.olsh-price-current{font-size:28px;font-weight:900;color:#C0392B;font-family:'DM Sans',sans-serif;}
.olsh-price-original{font-size:14px;color:#bbb;text-decoration:line-through;margin-top:2px;}
.olsh-price-product{font-size:13px;color:#666;margin-top:8px;font-weight:500;}

/* ── CTA Buttons ──────────────────────────────────────────── */
.olsh-cta-btn{display:inline-flex;align-items:center;gap:8px;color:#fff;padding:13px 28px;border-radius:30px;font-size:15px;font-weight:800;text-decoration:none;font-family:'DM Sans',sans-serif;transition:all .2s;cursor:pointer;border:none;}
.olsh-cta-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,.15);color:#fff;}
.olsh-btn-outline{background:transparent!important;border:2px solid;color:inherit;}
.olsh-btn-outline:hover{opacity:.85;}

/* ── User Pill (logged in) ────────────────────────────────── */
.olsh-user-pill{display:inline-flex;align-items:center;gap:8px;background:#f8f9fa;border-radius:30px;padding:6px 16px 6px 6px;font-size:13px;font-weight:600;color:#333;font-family:'DM Sans',sans-serif;}
.olsh-user-avatar{width:30px;height:30px;border-radius:50%;background:var(--ols-primary,#5b4fff);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:13px;}
.olsh-logout-link{color:#888;text-decoration:none;font-size:11px;margin-left:4px;}
.olsh-logout-link:hover{color:#e53935;}

/* ── Vendor Banner ────────────────────────────────────────── */
.olsh-vendor-banner{background:linear-gradient(135deg,#0b0d14,#1a1040,#0f0c2e);border-radius:24px;padding:60px 40px;text-align:center;margin:48px 0;font-family:'DM Sans',sans-serif;position:relative;overflow:hidden;}
.olsh-vendor-banner-content{position:relative;z-index:1;max-width:650px;margin:0 auto;}
.olsh-vendor-banner-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.08);border-radius:20px;padding:6px 16px;font-size:12px;color:rgba(255,255,255,.6);font-weight:600;margin-bottom:20px;}
.olsh-vendor-banner-title{font-size:clamp(24px,4vw,36px);font-weight:800;color:#fff;margin:0 0 12px;line-height:1.2;}
.olsh-vendor-banner-sub{font-size:16px;color:rgba(255,255,255,.6);margin:0 0 28px;line-height:1.6;}
.olsh-vendor-banner-perks{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;margin-bottom:32px;font-size:13px;color:rgba(255,255,255,.7);font-weight:600;}
.olsh-vendor-banner-fine{font-size:12px;color:rgba(255,255,255,.35);margin:16px 0 0;}

/* ── Sections ─────────────────────────────────────────────── */
.olsh-homepage{font-family:'DM Sans',sans-serif;}
.olsh-section{max-width:1280px;margin:0 auto;padding:40px;}

/* ── Modal ────────────────────────────────────────────────── */
.olsh-modal-overlay{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.55);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;font-family:'DM Sans',sans-serif;}
.olsh-modal{background:#fff;border-radius:24px;width:92%;max-width:420px;padding:36px;position:relative;box-shadow:0 24px 80px rgba(0,0,0,.3);animation:olsh-modal-in .25s ease-out;}
@keyframes olsh-modal-in{from{opacity:0;transform:translateY(20px) scale(.97)}to{opacity:1;transform:none}}
.olsh-modal-close{position:absolute;top:14px;right:14px;background:none;border:none;font-size:24px;cursor:pointer;color:#aaa;width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;}
.olsh-modal-close:hover{background:#f0f0f0;color:#333;}
.olsh-modal-logo{text-align:center;margin-bottom:24px;}
.olsh-modal-icon{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;margin:0 auto 10px;color:#fff;font-size:16px;font-weight:900;}
.olsh-modal-brand{font-size:20px;font-weight:800;color:#111;margin:0;}
.olsh-modal-tabs{display:flex;background:#f0f2f5;border-radius:10px;padding:3px;margin-bottom:20px;}
.olsh-tab{flex:1;padding:10px;border:none;border-radius:8px;font-size:14px;font-weight:700;cursor:pointer;background:transparent;color:#666;font-family:'DM Sans',sans-serif;transition:all .15s;}
.olsh-tab-active{background:#fff;color:#111;box-shadow:0 1px 4px rgba(0,0,0,.1);}
.olsh-modal-msg{border-radius:8px;padding:10px 14px;font-size:13px;margin-bottom:12px;}
.olsh-panel{}
.olsh-field{margin-bottom:14px;}
.olsh-field label{display:block;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:#555;margin-bottom:5px;}
.olsh-field input{width:100%;border:1.5px solid #e0e0e0;border-radius:10px;padding:12px 16px;font-size:14px;font-family:'DM Sans',sans-serif;box-sizing:border-box;transition:border-color .15s;outline:none;}
.olsh-field input:focus{border-color:var(--ols-primary,#5b4fff);}
.olsh-handle-status{font-size:12px;font-weight:600;margin-top:5px;min-height:18px;}
.olsh-modal-submit{width:100%;color:#fff;border:none;border-radius:12px;padding:15px;font-size:16px;font-weight:800;cursor:pointer;font-family:'DM Sans',sans-serif;margin-top:4px;transition:opacity .15s;}
.olsh-modal-submit:hover{opacity:.9;}
.olsh-modal-alt{text-align:center;font-size:13px;color:#888;margin-top:14px;}
.olsh-modal-alt a{font-weight:700;text-decoration:none;}
.olsh-modal-terms{text-align:center;font-size:11px;color:#ccc;margin-top:16px;}

/* ── Responsive ───────────────────────────────────────────── */
@media(max-width:900px){
    .olsh-hero{flex-direction:column;padding:40px 24px;gap:32px;}
    .olsh-hero-right{max-width:100%;}
    .olsh-hero-headline{font-size:36px;}
    .olsh-vendor-banner{padding:40px 24px;}
}
@media(max-width:560px){
    .olsh-price-grid{grid-template-columns:1fr;}
    .olsh-trust-badges{flex-direction:column;gap:8px;}
    .olsh-modal{width:96%;padding:24px;}
}
