:root{--green:#00843d;--green-2:#00a651;--green-dark:#123e2b;--mint:#e9f6ee;--red:#e11d37;--ink:#173126;--muted:#698076;--line:rgba(18,79,49,.12);--shadow:0 24px 70px rgba(18,76,46,.13)}
[hidden]{display:none!important}
*{box-sizing:border-box}html{min-height:100%;background:#f7fbf8}body{margin:0;min-height:100vh;color:var(--ink);font-family:Manrope,"Segoe UI",sans-serif;background:linear-gradient(145deg,#fff 0%,#f4fbf6 48%,#e4f4e9 100%);overflow-x:hidden}.ambient{position:fixed;border-radius:50%;filter:blur(3px);pointer-events:none;z-index:0}.ambient-one{width:540px;height:540px;right:-260px;top:-250px;background:radial-gradient(circle,rgba(0,166,81,.19),rgba(0,166,81,0) 70%)}.ambient-two{width:440px;height:440px;left:-250px;bottom:-220px;background:radial-gradient(circle,rgba(0,132,61,.15),rgba(0,132,61,0) 70%)}.shell{position:relative;z-index:1;width:min(1120px,calc(100% - 36px));margin:0 auto;padding:28px 0 70px}.hero{position:relative;overflow:hidden;min-height:290px;padding:34px 40px;border:1px solid rgba(255,255,255,.8);border-radius:32px;background:linear-gradient(125deg,rgba(255,255,255,.96),rgba(237,249,241,.92));box-shadow:var(--shadow)}.hero:after{content:"";position:absolute;width:470px;height:470px;right:-135px;bottom:-350px;border-radius:48% 52% 60% 40%;background:linear-gradient(135deg,var(--green-2),var(--green));transform:rotate(-16deg);opacity:.92}.brand-row{display:flex;align-items:center;gap:22px;height:54px}.brand{display:block;object-fit:contain;mix-blend-mode:multiply}.brand-lg{width:180px;max-height:54px}.brand-castrol{width:165px;max-height:52px}.brand-divider{width:1px;height:36px;background:var(--line)}.event-copy{margin-top:43px;max-width:680px;position:relative;z-index:2}.eyebrow,.section-label{display:block;color:var(--green);font-size:.72rem;font-weight:800;letter-spacing:.17em;text-transform:uppercase}.event-copy h1{margin:9px 0 10px;font-size:clamp(2.1rem,5vw,4.2rem);line-height:1;letter-spacing:-.055em}.event-copy p{margin:0;color:var(--muted);font-size:clamp(.92rem,2vw,1.08rem)}.connection-badge{position:absolute;top:32px;right:36px;z-index:3;display:flex;align-items:center;gap:8px;padding:9px 14px;border-radius:99px;background:#fff;font-size:.73rem;font-weight:800;box-shadow:0 8px 25px rgba(24,70,47,.1)}.connection-badge i{width:8px;height:8px;border-radius:50%;background:#e6a514}.connection-badge.online i{background:#00ad57;box-shadow:0 0 0 5px rgba(0,173,87,.12)}.connection-badge.offline i{background:#e11d37}.customer-card{display:grid;grid-template-columns:1fr auto;gap:25px;align-items:center;margin-top:24px;padding:28px 30px;border:1px solid rgba(255,255,255,.85);border-radius:27px;background:rgba(255,255,255,.88);box-shadow:0 15px 45px rgba(18,76,46,.09);backdrop-filter:blur(18px)}.customer-card h2{margin:7px 0 3px;font-size:clamp(1.5rem,4vw,2.3rem);letter-spacing:-.04em}.customer-card p{margin:0;color:var(--muted)}.points-card{min-width:210px;padding:20px 27px;border-radius:22px;color:#fff;background:linear-gradient(135deg,var(--green-2),var(--green));box-shadow:0 17px 30px rgba(0,132,61,.22);text-align:right}.points-card span,.points-card small{display:block;font-size:.67rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase;opacity:.82}.points-card strong{display:block;margin:2px 0;font-size:2.7rem;line-height:1;font-weight:800;letter-spacing:-.055em}.bidding-status{display:flex;align-items:center;gap:15px;margin:18px 0 34px;padding:17px 22px;border:1px solid rgba(0,132,61,.14);border-radius:18px;background:rgba(230,248,237,.84)}.bidding-status.closed{border-color:rgba(225,29,55,.14);background:#fff0f2}.status-orb{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:rgba(0,166,81,.13)}.status-orb span{width:11px;height:11px;border-radius:50%;background:var(--green-2);box-shadow:0 0 0 7px rgba(0,166,81,.1);animation:pulse 1.8s infinite}.closed .status-orb{background:rgba(225,29,55,.1)}.closed .status-orb span{background:var(--red);box-shadow:none;animation:none}.bidding-status strong{font-size:.9rem}.bidding-status p{margin:2px 0 0;color:var(--muted);font-size:.8rem}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;margin:0 2px 20px}.section-heading h2{margin:5px 0 0;font-size:clamp(1.6rem,4vw,2.4rem);letter-spacing:-.045em}.live-note{color:var(--muted);font-size:.75rem}.product-group{margin-bottom:28px}.category-title{display:flex;align-items:center;gap:12px;margin-bottom:12px}.category-title span{display:grid;place-items:center;min-width:58px;height:28px;padding:0 12px;color:#fff;border-radius:8px;background:var(--green-dark);font-size:.7rem;font-weight:800;letter-spacing:.1em}.category-title i{height:1px;flex:1;background:var(--line)}.category-title small{color:var(--muted);font-weight:600}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.product-card{display:grid;grid-template-columns:50px 1fr auto;gap:15px;align-items:center;padding:20px;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.94);box-shadow:0 12px 32px rgba(20,76,47,.07);transition:transform .2s,box-shadow .2s}.product-card:hover{transform:translateY(-2px);box-shadow:0 18px 40px rgba(20,76,47,.12)}.product-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;color:#fff;background:linear-gradient(145deg,var(--green-2),var(--green-dark));font-size:.65rem;font-weight:800}.product-info h3{margin:0 0 5px;font-size:.96rem;line-height:1.3}.product-info p{margin:0;color:var(--muted);font-size:.75rem}.product-info p strong{color:var(--green);font-size:.9rem}.stepper{display:flex;align-items:center;gap:7px;padding:5px;border-radius:15px;background:var(--mint)}.stepper button{width:38px;height:38px;border:0;border-radius:11px;color:#fff;background:var(--green);font:700 1.25rem Manrope;cursor:pointer;transition:transform .14s,opacity .14s}.stepper button:active{transform:scale(.9)}.stepper button:disabled{cursor:not-allowed;opacity:.3}.stepper div{min-width:45px;text-align:center}.stepper strong,.stepper span{display:block}.stepper strong{font-size:1.05rem}.stepper span{color:var(--muted);font-size:.5rem;font-weight:800;letter-spacing:.09em}.state-card{display:grid;justify-items:center;margin-top:24px;padding:70px 25px;border-radius:28px;background:rgba(255,255,255,.9);box-shadow:var(--shadow);text-align:center}.state-card h2{margin:17px 0 6px}.state-card p{margin:0;color:var(--muted)}.loader{width:44px;height:44px;border:4px solid #dceee2;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}.state-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;color:#fff;background:var(--red);font-weight:800}.secondary-button{margin-top:20px;padding:11px 20px;border:0;border-radius:12px;color:#fff;background:var(--green);font:700 .85rem Manrope;cursor:pointer}.toast{position:fixed;left:50%;bottom:25px;z-index:20;max-width:calc(100% - 32px);padding:13px 20px;border-radius:13px;color:#fff;background:var(--green-dark);box-shadow:0 12px 36px rgba(0,0,0,.2);font-size:.84rem;font-weight:700;transform:translate(-50%,130px);opacity:0;transition:.25s}.toast.show{transform:translate(-50%,0);opacity:1}.toast.error{background:#a91930}.empty-products{padding:35px;border:1px dashed var(--line);border-radius:20px;color:var(--muted);text-align:center}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{box-shadow:0 0 0 11px rgba(0,166,81,0)}}
@media(max-width:720px){.shell{width:min(100% - 24px,1120px);padding-top:12px}.hero{min-height:276px;padding:25px 22px;border-radius:25px}.hero:after{width:300px;height:300px;right:-160px;bottom:-235px}.brand-row{gap:12px}.brand-lg{width:125px}.brand-castrol{width:112px}.brand-divider{height:28px}.connection-badge{top:91px;left:22px;right:auto}.event-copy{margin-top:62px}.event-copy h1{font-size:2.45rem}.customer-card{grid-template-columns:1fr;padding:22px}.points-card{width:100%;min-width:0;text-align:left}.points-card strong{font-size:2.35rem}.product-grid{grid-template-columns:1fr}.section-heading{align-items:flex-start}.live-note{display:none}.product-card{grid-template-columns:42px 1fr auto;padding:15px;gap:11px}.product-mark{width:42px;height:42px}.stepper{gap:4px}.stepper button{width:34px;height:36px}.stepper div{min-width:37px}}
@media(max-width:390px){.product-card{grid-template-columns:38px 1fr}.product-mark{width:38px;height:38px}.stepper{grid-column:1/-1;justify-content:center;margin-top:5px}.stepper div{min-width:80px}.brand-lg{width:108px}.brand-castrol{width:100px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
.login-page{display:grid;min-height:100vh;place-items:center}.login-shell{position:relative;z-index:1;width:min(520px,calc(100% - 28px));padding:30px 0}.login-card{overflow:hidden;padding:38px 40px 30px;border:1px solid rgba(255,255,255,.9);border-radius:32px;background:rgba(255,255,255,.94);box-shadow:0 30px 90px rgba(18,76,46,.17);backdrop-filter:blur(20px)}.login-brands{justify-content:center;height:60px}.login-brands .brand-lg{width:158px}.login-brands .brand-castrol{width:145px}.login-copy{margin:42px 0 30px;text-align:center}.login-copy .eyebrow{margin-bottom:10px}.login-copy h1{margin:0 0 10px;font-size:clamp(2.1rem,8vw,3.15rem);letter-spacing:-.055em}.login-copy p{max-width:380px;margin:0 auto;color:var(--muted);font-size:.9rem;line-height:1.7}.login-form label{display:block;margin-bottom:9px;font-size:.76rem;font-weight:800}.phone-field{display:flex;align-items:center;overflow:hidden;border:1.5px solid rgba(18,79,49,.16);border-radius:15px;background:#f8fcf9;transition:border-color .2s,box-shadow .2s}.phone-field:focus-within{border-color:var(--green);box-shadow:0 0 0 4px rgba(0,132,61,.1)}.phone-field span{margin-left:14px;padding:7px 11px;border-radius:9px;color:#fff;background:var(--green);font-size:.67rem;font-weight:800;letter-spacing:.06em}.phone-field input{width:100%;height:58px;padding:0 15px;border:0;outline:0;color:var(--ink);background:transparent;font:700 1rem Manrope}.phone-field input::placeholder{color:#9aada4;font-weight:500}.login-error{margin:10px 3px 0;padding:10px 13px;border-radius:10px;color:#a91930;background:#fff0f2;font-size:.77rem;font-weight:700}.login-button{display:flex;align-items:center;justify-content:space-between;width:100%;height:56px;margin-top:16px;padding:0 19px;border:0;border-radius:15px;color:#fff;background:linear-gradient(135deg,var(--green-2),var(--green));box-shadow:0 14px 28px rgba(0,132,61,.2);font:800 .88rem Manrope;cursor:pointer;transition:transform .18s,opacity .18s}.login-button:hover{transform:translateY(-2px)}.login-button:disabled{cursor:wait;opacity:.68;transform:none}.login-button i{font-style:normal;font-size:1.35rem}.login-button.loading i{animation:spin .8s linear infinite}.login-help{margin:20px 0 0;color:#8ba097;font-size:.69rem;line-height:1.55;text-align:center}.secondary-button{text-decoration:none}@media(max-width:520px){.login-shell{padding:12px 0}.login-card{padding:30px 22px 25px;border-radius:25px}.login-brands .brand-lg{width:130px}.login-brands .brand-castrol{width:118px}.login-copy{margin:36px 0 25px}}

/* Dynamic event profiles */
body{color:var(--event-text,var(--ink));background:linear-gradient(145deg,#fff 0%,var(--event-ambient,#f4fbf6) 48%,#e4f4e9 100%)}
.eyebrow,.section-label,.product-info p strong{color:var(--event-primary,var(--green))}.login-button,.points-card,.modal-submit{background:linear-gradient(135deg,var(--event-primary,#00843d),var(--event-primary,#00843d))}
.theme-white-luxury .login-card,.theme-white-luxury .hero{border-color:rgba(18,76,46,.12);box-shadow:0 30px 90px rgba(18,76,46,.12)}
.theme-night-premium{background:radial-gradient(circle at 75% 10%,#173e2c,#07110c 62%);color:#eef8f1}.theme-night-premium .login-card,.theme-night-premium .hero,.theme-night-premium .customer-card,.theme-night-premium .product-card{background:rgba(15,35,25,.94);color:#eef8f1;border-color:rgba(255,255,255,.09)}.theme-night-premium .login-copy p,.theme-night-premium .product-info p{color:#a8c2b1}
.theme-sport-motion{background:linear-gradient(120deg,#fff 0%,var(--event-ambient,#eef8f1) 54%,#d8f2e2 54%)}.theme-sport-motion .login-card,.theme-sport-motion .hero{transform:skewX(-1.5deg);border-radius:18px}.theme-sport-motion .login-card>* , .theme-sport-motion .hero>*{transform:skewX(1.5deg)}
.theme-castrol-red{--green:var(--event-primary,#d71920);--green-2:#ef3340;--green-dark:#8b1018;--mint:#fff1f2;--line:#f1ced1}
.inactive-page{display:grid;min-height:100vh;place-items:center;padding:24px;overflow:hidden}.inactive-shell{position:relative;width:min(720px,100%);padding:72px 40px;border:1px solid rgba(255,255,255,.85);border-radius:34px;background:rgba(255,255,255,.9);box-shadow:0 35px 100px rgba(18,76,46,.16);text-align:center}.inactive-shell img{display:block;width:min(290px,72%);max-height:150px;margin:0 auto 36px;object-fit:contain}.inactive-shell h1{margin:0 0 12px;color:var(--event-text,#143326);font-size:clamp(2rem,6vw,3.8rem);letter-spacing:-.05em}.inactive-shell p{margin:0;color:#698076;font-size:1rem;line-height:1.7}

/* Five complete customer-side themes: page background + event banner */
.theme-classic-green .hero{background:linear-gradient(125deg,rgba(255,255,255,.98),rgba(235,249,241,.94))}.theme-classic-green .hero:before{content:"";position:absolute;inset:0;background:linear-gradient(112deg,transparent 0 62%,rgba(0,132,61,.035) 62% 64%,transparent 64%);pointer-events:none}
.theme-white-luxury{background:radial-gradient(circle at 88% 4%,#e6f3ec 0,transparent 32%),linear-gradient(145deg,#fff,#f3f6f4 68%,#e8efeb)}.theme-white-luxury .hero{background:linear-gradient(128deg,rgba(255,255,255,.99),rgba(245,248,246,.97));border:1px solid #dfe8e3;box-shadow:0 26px 80px rgba(20,55,39,.11)}.theme-white-luxury .hero:after{background:linear-gradient(145deg,#d7e3dc,#0d8a4b);opacity:.74}.theme-white-luxury .hero:before{content:"";position:absolute;inset:13px;border:1px solid rgba(16,100,61,.09);border-radius:24px;pointer-events:none}
.theme-night-premium{background:radial-gradient(circle at 78% 8%,#21583f 0,transparent 36%),linear-gradient(145deg,#07120d,#0d2419 60%,#06100b);color:#edf8f1}.theme-night-premium .hero{background:linear-gradient(130deg,rgba(9,29,19,.98),rgba(20,60,41,.96));border-color:rgba(255,255,255,.1);box-shadow:0 30px 90px rgba(0,0,0,.38)}.theme-night-premium .hero:after{background:linear-gradient(135deg,#d7b45b,#0a9d59);opacity:.82}.theme-night-premium .hero:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(115deg,transparent 0 34px,rgba(255,255,255,.018) 34px 35px);pointer-events:none}.theme-night-premium .event-copy h1,.theme-night-premium .customer-card h2{color:#fff}.theme-night-premium .customer-card,.theme-night-premium .bidding-status{background:rgba(13,36,25,.92)}
.theme-sport-motion{background:linear-gradient(125deg,#f8fcf9 0 49%,#e5f6eb 49% 72%,#f3f8f5 72%)}.theme-sport-motion .hero{border-radius:18px;background:linear-gradient(112deg,#fff 0 58%,#073e24 58% 61%,#00a651 61% 82%,#e11d37 82%);box-shadow:12px 18px 0 rgba(10,76,43,.08),0 26px 60px rgba(10,76,43,.13);transform:none}.theme-sport-motion .hero>*{transform:none}.theme-sport-motion .hero:after{right:-180px;bottom:-365px;background:#fff;opacity:.16}.theme-sport-motion .hero:before{content:"";position:absolute;left:58%;top:0;width:8px;height:100%;background:#e11d37;transform:skewX(-15deg);pointer-events:none}.theme-sport-motion .product-card{border-radius:13px}
.theme-castrol-red{background:radial-gradient(circle at 85% 5%,#ffe7e8 0,transparent 30%),linear-gradient(145deg,#fff,#fdf3f3 55%,#eaf6ee)}.theme-castrol-red .hero{background:linear-gradient(125deg,#fff 0 63%,#f8eeee 63%);border-color:#f0d6d8;box-shadow:0 28px 80px rgba(132,20,30,.14)}.theme-castrol-red .hero:after{background:linear-gradient(145deg,#ef3340 0 52%,#00843d 52%);opacity:.94}.theme-castrol-red .hero:before{content:"";position:absolute;left:0;right:0;bottom:0;height:7px;background:linear-gradient(90deg,#d71920 0 50%,#00843d 50%);pointer-events:none}
