.profile-page{padding-top:32px;padding-bottom:70px}.profile-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}.profile-eyebrow{display:none!important}.profile-head h1{margin:0;font-size:clamp(36px,5vw,64px);letter-spacing:-.05em}.profile-layout{display:grid;grid-template-columns:320px 1fr;gap:24px}.profile-sidebar,.profile-card{background:#fff;border:1px solid #e7ebf0;border-radius:30px;box-shadow:0 20px 55px rgba(16,24,40,.07)}.profile-sidebar{align-self:start;position:sticky;top:110px;padding:20px}.avatar-box{text-align:center;padding:12px 8px 18px}.profile-avatar{width:124px;height:124px;border-radius:34px;background:#101216;color:#34e21f;display:grid;place-items:center;margin:0 auto 14px;font-size:38px;font-weight:950;overflow:hidden}.profile-avatar img{width:100%;height:100%;object-fit:cover}.avatar-upload{display:inline-flex;align-items:center;justify-content:center;margin-top:12px;min-height:44px;padding:0 18px;border-radius:14px;background:#34e21f;color:#071009;font-weight:950;cursor:pointer}.avatar-upload input{display:none}.profile-tabs{display:grid;gap:10px;margin-top:12px}.profile-tabs button{border:0;background:#f4f6f8;border-radius:16px;min-height:52px;padding:0 16px;text-align:left;font-weight:950;cursor:pointer}.profile-tabs button.active,.profile-tabs button:hover{background:#101216;color:#fff}.profile-content{min-width:0}.profile-card{padding:26px}.profile-pane{display:none}.profile-pane.active{display:block}.profile-card-head{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-bottom:22px}.profile-card-head h2{margin:0;font-size:28px}.profile-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.profile-form label{display:grid;gap:8px;font-weight:900}.profile-form small{color:#697386;font-weight:700}.profile-form input,.profile-form textarea{width:100%;border:1px solid #e1e6ee;border-radius:16px;padding:15px 16px;font:inherit;background:#fff;outline:none}.profile-form input:focus,.profile-form textarea:focus{border-color:#34e21f;box-shadow:0 0 0 4px rgba(52,226,31,.12)}.profile-wide{grid-column:1/-1}.profile-save,.profile-primary-link,.profile-logout,.profile-small-link{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:16px;min-height:54px;padding:0 22px;background:#34e21f;color:#071009;font-weight:950;text-decoration:none;cursor:pointer}.profile-save{grid-column:1/-1;width:max-content}.profile-logout{background:#101216;color:#fff}.profile-small-link{background:#f4f6f8;color:#111318;min-height:42px}.profile-msg{min-height:22px;margin-top:10px;font-weight:850;color:#159b08}.profile-msg.error{color:#c1121f}.profile-msg.ok{color:#159b08}.profile-guest{text-align:center;max-width:560px;margin:0 auto}.profile-list{display:grid;gap:12px}.profile-empty{background:#f6f8fb;border:1px dashed #d9e0ea;border-radius:20px;padding:28px;text-align:center;color:#697386;font-weight:900}.profile-favorites{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.profile-fav-card{display:grid;gap:10px;padding:12px;border:1px solid #e7ebf0;border-radius:20px;text-decoration:none;color:#111318}.profile-fav-card div{height:130px;border-radius:16px;background:#f3f5f7;display:grid;place-items:center;overflow:hidden}.profile-fav-card img{width:100%;height:100%;object-fit:contain}.profile-fav-card b{font-size:14px;line-height:1.25}.profile-fav-card em{font-style:normal;font-weight:950}.profile-order{display:grid;grid-template-columns:1fr auto auto;gap:14px;align-items:center;background:#f6f8fb;border-radius:18px;padding:16px}.profile-order div{display:grid;gap:4px}.profile-order span,.profile-order em{color:#697386;font-style:normal}.profile-order strong{font-size:20px}@media(max-width:980px){.profile-layout{grid-template-columns:1fr}.profile-sidebar{position:static}.profile-tabs{grid-template-columns:repeat(2,1fr)}.profile-form{grid-template-columns:1fr}.profile-favorites{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.profile-head{display:block}.profile-tabs,.profile-favorites{grid-template-columns:1fr}.profile-card,.profile-sidebar{border-radius:24px;padding:18px}.profile-save{width:100%}}

/* === Profile menu update === */
.profile-edit-button{display:inline-flex;align-items:center;justify-content:center;margin:8px auto 10px;min-height:44px;padding:0 18px;border-radius:14px;background:#101216;color:#fff!important;font-weight:950;text-decoration:none;}
.profile-edit-button:hover{background:#34e21f;color:#071009!important;}
.discount-profile-card{display:grid;grid-template-columns:minmax(260px,380px) 1fr;gap:20px;align-items:stretch;}
.discount-card-visual{min-height:230px;border-radius:26px;padding:26px;background:radial-gradient(circle at 80% 25%,rgba(52,226,31,.35),transparent 34%),#080a0d;color:#fff;box-shadow:0 24px 60px rgba(0,0,0,.16);display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative;}
.discount-card-visual:after{content:'';position:absolute;right:-70px;top:-60px;width:220px;height:340px;background:linear-gradient(135deg,transparent 0 42%,#34e21f 42% 50%,transparent 50%);opacity:.8;transform:rotate(12deg);}
.discount-card-logo{position:relative;z-index:1;font-size:30px;font-weight:950;color:#34e21f;letter-spacing:-.03em;}
.discount-card-logo span{font-size:18px;color:#fff;margin-left:8px;}
.discount-card-visual strong{position:relative;z-index:1;font-size:25px;line-height:1.05;max-width:260px;}
.discount-card-visual em{position:relative;z-index:1;font-style:normal;color:#cbd5e1;font-weight:800;}
.discount-card-info{display:flex;flex-direction:column;justify-content:center;gap:12px;background:#f6f8fb;border:1px solid #e7ebf0;border-radius:26px;padding:24px;}
.discount-card-info h3{margin:0;font-size:26px;}
.discount-card-info p{margin:0;color:#667085;line-height:1.5;}
@media(max-width:760px){.discount-profile-card{grid-template-columns:1fr}.discount-card-visual{min-height:210px}}

/* === Discount card completion / barcode update === */
.discount-profile-card.discount-locked .discount-card-visual{filter:grayscale(.25);opacity:.72;}
.discount-profile-card.discount-locked .discount-card-visual:before{content:'';position:absolute;inset:0;background:rgba(255,255,255,.08);z-index:1;}
.discount-card-number{position:relative;z-index:2;color:#cbd5e1;font-weight:900;letter-spacing:.08em;}
.discount-barcode{position:relative;z-index:2;width:210px;max-width:100%;min-height:62px;margin-top:12px;background:#fff;border-radius:10px;padding:6px;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 26px rgba(0,0,0,.18);}
.discount-barcode svg{width:100%;height:auto;display:block;fill:#111827;}
.discount-card-lock{width:100%;height:52px;border-radius:8px;background:repeating-linear-gradient(90deg,#d0d5dd 0 4px,#fff 4px 8px);color:#111827;font-weight:950;display:flex;align-items:center;justify-content:center;text-transform:uppercase;font-size:11px;letter-spacing:.06em;}
.discount-card-info .profile-primary-link{width:max-content;min-width:230px;text-align:center;border:0;}
.discount-card-info .profile-primary-link.secondary{background:#101216;color:#fff;}

#profileApp[hidden],#profileGuest[hidden]{display:none!important}


/* === Profile dashboard start page === */
.profile-home-pane{padding:28px;}
.profile-home-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px;}
.profile-home-hero h2{margin:0 0 8px;font-size:clamp(28px,3vw,42px);letter-spacing:-.04em;}
.profile-home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:12px;}
.profile-home-card{position:relative;min-height:260px;padding:26px 20px;border:1px solid #e1e7ef;border-radius:24px;background:linear-gradient(180deg,#fff,#fbfcfe);box-shadow:0 18px 45px rgba(16,24,40,.06);color:#111318;text-decoration:none;display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;gap:13px;cursor:pointer;font:inherit;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;}
.profile-home-card:hover{transform:translateY(-4px);border-color:rgba(52,226,31,.45);box-shadow:0 24px 60px rgba(16,24,40,.1);}
.profile-home-icon{width:76px;height:76px;border-radius:22px;background:rgba(52,226,31,.13);display:grid;place-items:center;margin-bottom:4px;}
.profile-home-icon img{width:40px;height:40px;filter:brightness(0) saturate(100%) invert(42%) sepia(94%) saturate(998%) hue-rotate(80deg) brightness(96%) contrast(103%);}
.profile-home-card b{font-size:22px;line-height:1.15;font-weight:950;}
.profile-home-card small{max-width:210px;min-height:44px;color:#667085;font-size:15px;line-height:1.45;font-weight:700;}
.profile-home-card em{width:100%;margin-top:auto;min-height:46px;border-radius:14px;background:#101216;color:#fff;display:flex;align-items:center;justify-content:center;font-style:normal;font-weight:950;}
.profile-home-card:hover em{background:#34e21f;color:#071009;}
.profile-benefits{margin-top:28px;padding:22px;border:1px solid #e1e7ef;border-radius:24px;background:#fff;box-shadow:0 18px 45px rgba(16,24,40,.05);}
.profile-benefits h3{margin:0 0 16px;font-size:24px;letter-spacing:-.03em;}
.profile-benefit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.profile-benefit{display:grid;grid-template-columns:46px 1fr;column-gap:14px;align-items:center;padding:15px;border-radius:18px;background:#f8fafc;border:1px solid #eef2f6;}
.profile-benefit span{grid-row:1/3;width:46px;height:46px;border-radius:14px;background:rgba(52,226,31,.12);display:grid;place-items:center;}
.profile-benefit img{width:24px;height:24px;filter:brightness(0) saturate(100%) invert(42%) sepia(94%) saturate(998%) hue-rotate(80deg) brightness(96%) contrast(103%);}
.profile-benefit b{font-weight:950;}
.profile-benefit small{color:#667085;font-weight:700;}
@media(max-width:1180px){.profile-home-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.profile-home-card{min-height:235px}}
@media(max-width:680px){.profile-home-grid,.profile-benefit-grid{grid-template-columns:1fr}.profile-home-card{min-height:220px}.profile-home-pane{padding:18px}}
