/* WEB-CUSTOMER-ACCOUNT-02 — Promotions + Account pages aligned with customer activity standard */

.customer-account-nav{position:relative;top:auto;z-index:1;min-height:52px;display:flex;align-items:center;gap:26px;width:100%;padding:0 max(20px,calc((100% - 1040px)/2));border-bottom:1px solid var(--cust-line,#dfe5e1);background:rgba(255,255,255,.97);backdrop-filter:blur(10px)}
.customer-account-nav a{position:relative;min-height:52px;display:inline-flex;align-items:center;color:#68706b;font-size:13px;font-weight:500;text-decoration:none;white-space:nowrap}
.customer-account-nav a:hover{color:#171a18}
.customer-account-nav a.active{color:#171a18;font-weight:600}
.customer-account-nav a.active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:99px;background:#14a865}

/* Promotions */
.customer-promotions-page{background:#f7f9f8!important;color:#171a18!important}
.customer-promotions-page .promotions-account-nav{display:none!important}
.customer-promotions-page .promotions-shell{width:min(1040px,calc(100% - 40px));margin:0 auto;padding:34px 0 72px}
.customer-promotions-page .promotions-layout{width:100%;display:grid;grid-template-columns:minmax(320px,390px) minmax(0,1fr);gap:20px;align-items:stretch}
.customer-promotions-page .promotions-panel{padding:24px;border:1px solid #dfe5e1;border-radius:14px;background:#fff;box-shadow:0 8px 26px rgba(20,32,25,.04)}
.customer-promotions-page .promotions-panel h1{margin:0 0 24px;color:#171a18;font-size:32px;line-height:1.08;font-weight:650;letter-spacing:-.035em}
.customer-promotions-page .promotions-panel h2{margin:0 0 10px;color:#303833;font-size:14px;line-height:1.25;font-weight:600}
.customer-promotions-page .promo-code-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:center}
.customer-promotions-page .promo-code-field input{width:100%;height:46px;padding:0 13px;border:1px solid #d7ddd9;border-radius:9px;background:#fff;color:#171a18;font-size:13px;outline:none;transition:border-color .15s ease,box-shadow .15s ease}
.customer-promotions-page .promo-code-field input:focus{border-color:#8bc9aa;box-shadow:0 0 0 3px rgba(20,168,101,.16)}
.customer-promotions-page .promo-code-form button{min-width:78px;height:42px;padding:0 14px;border:0;border-radius:9px;background:#171a18;color:#fff;font-size:12px;font-weight:600;cursor:pointer}
.customer-promotions-page .promo-code-form button:hover:not(:disabled){background:#2b302d}
.customer-promotions-page .promo-code-form button:disabled{background:#d7dcd8;color:#858c87;cursor:not-allowed}
.customer-promotions-page .promo-code-feedback{min-height:20px;margin:7px 0 0;color:#68706b;font-size:11.5px;line-height:1.4}
.customer-promotions-page .promo-code-feedback.success{color:#0c7d4e}.customer-promotions-page .promo-code-feedback.error{color:#b42318}
.customer-promotions-page .promotions-list-section{margin-top:14px}
.customer-promotions-page .promotion-list{display:grid;gap:8px}
.customer-promotions-page .promotion-card{position:relative;width:100%;display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;padding:14px;border:1px solid #e3e8e5;border-radius:11px;background:#fff;color:#171a18;text-align:left;cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .15s ease}
.customer-promotions-page .promotion-card:before{content:"◆";display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#eef8f2;color:#0c7d4e;font-size:13px}
.customer-promotions-page .promotion-card:hover{border-color:#c7d1cb;background:#fbfcfb;transform:translateY(-1px)}
.customer-promotions-page .promotion-card h3{margin:0 0 4px;font-size:13.5px;line-height:1.3;font-weight:600}
.customer-promotions-page .promotion-card p{margin:0;color:#68706b;font-size:11.5px;line-height:1.45}
.customer-promotions-page .promotion-meta{margin-top:4px!important}.customer-promotions-page .promotion-code{display:inline-flex}
.customer-promotions-page .promotion-empty{margin-top:8px;padding:16px;border:1px dashed #d9e0dc;border-radius:11px;background:#fff;color:#68706b;font-size:12px;line-height:1.5}
.customer-promotions-page .promotion-empty.error{border-style:solid;border-color:#efd0cc;background:#fffafa;color:#b42318}
.customer-promotions-page #pastSection{margin-top:20px;padding-top:18px;border-top:1px solid #edf0ee}
.customer-promotions-page #pastSection h2{font-size:13px}
.customer-promotions-page .promotions-see-prices{min-height:44px;margin-top:16px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:#171a18;color:#fff;font-size:12.5px;font-weight:600;text-decoration:none}
.customer-promotions-page .promotions-see-prices:hover{background:#2b302d}
.customer-promotions-page .promotions-map-wrap{position:relative;min-height:520px;height:auto;border:1px solid #dfe5e1;border-radius:14px;overflow:hidden;background:#e9eeeb;box-shadow:0 8px 26px rgba(20,32,25,.04)}
.customer-promotions-page .promotions-map-fallback{color:#68706b;background:#eef2ef;font-size:12px}
.customer-promotions-page .promotion-modal{z-index:9999;padding:20px}
.customer-promotions-page .promotion-modal-backdrop{background:rgba(23,26,24,.48)}
.customer-promotions-page .promotion-modal-sheet{width:min(460px,100%);max-height:calc(100vh - 40px);padding:24px;border:1px solid #dfe5e1;border-radius:14px;background:#fff;box-shadow:0 22px 60px rgba(20,32,25,.18)}
.customer-promotions-page .promotion-modal-close{right:14px;top:14px;width:34px;height:34px;border:1px solid #e3e8e5;border-radius:9px;background:#f7f9f8;font-size:21px}
.customer-promotions-page .promotion-modal-sheet h2{margin:0 0 9px;padding-right:42px;font-size:22px;line-height:1.15;font-weight:650;letter-spacing:-.025em}
.customer-promotions-page .promotion-modal-sheet>p{margin:0 0 20px;color:#68706b;font-size:12.5px;line-height:1.55}
.customer-promotions-page .promotion-modal-block{padding:14px 0;border-top:1px solid #edf0ee;gap:5px;font-size:12px}
.customer-promotions-page .promotion-modal-block span{color:#68706b;line-height:1.5}
.customer-promotions-page .promotion-modal-primary,.customer-promotions-page .promotion-modal-primary:visited{min-height:44px;margin-top:16px;border-radius:9px;background:#171a18;color:#fff!important;font-size:12.5px;font-weight:600;text-shadow:none}

/* Account */
.customer-account-page,.customer-account-page .page{background:#f7f9f8!important;color:#171a18!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important}
.customer-account-page .page{min-height:100dvh}
.customer-account-page .tabs{width:min(860px,calc(100% - 40px));margin:24px auto 0;display:flex;gap:6px;padding:5px;border:1px solid #dfe5e1;border-radius:12px;background:#fff;overflow:auto}
.customer-account-page .tab-btn{min-width:max-content;min-height:40px;flex:1;padding:0 14px;border-radius:8px;background:transparent;color:#68706b;font-size:12px;font-weight:500;white-space:nowrap;transition:background .15s ease,color .15s ease,box-shadow .15s ease}
.customer-account-page .tab-btn.active{background:#eef8f2;color:#0c7d4e;font-weight:600}
.customer-account-page .tab-btn.active::after{display:none}
.customer-account-page .tab-btn:focus-visible{outline:0;box-shadow:0 0 0 3px rgba(20,168,101,.16)}
.customer-account-page main{width:min(860px,calc(100% - 40px));margin:18px auto 72px}
.customer-account-page .panel{display:none;padding:24px;border:1px solid #dfe5e1;border-radius:14px;background:#fff;box-shadow:0 8px 26px rgba(20,32,25,.04)}
.customer-account-page .panel.active{display:block}
.customer-account-page .search-box{min-height:54px;padding:0 14px;border:1px solid #dfe5e1;border-radius:10px;background:#f8faf9;gap:10px}
.customer-account-page .search-box svg{width:18px;height:18px;stroke-width:1.8}
.customer-account-page .search-input{font-size:12.5px}
.customer-account-page .powered-row{margin-top:7px;color:#89908b;font-size:10.5px;font-weight:500}
.customer-account-page .powered-i{width:15px;height:15px;background:#727a75;font-size:9px}
.customer-account-page .home-profile{display:grid;grid-template-columns:64px minmax(0,1fr);grid-template-rows:auto auto;column-gap:14px;align-items:center;margin:22px 0 20px;text-align:left}
.customer-account-page .home-profile .avatar{grid-row:1/3;width:64px;height:64px;border:1px solid #dfe5e1;background:#eef2ef}
.customer-account-page .avatar-fallback{background:#eef2ef;color:#4e5952;font-family:Inter,Arial,sans-serif;font-size:20px;font-weight:600;letter-spacing:0}
.customer-account-page .home-name{align-self:end;margin:0;font-size:18px;line-height:1.2;font-weight:650;letter-spacing:-.02em}
.customer-account-page .home-email{align-self:start;margin:4px 0 0;color:#68706b;font-size:11.5px;line-height:1.35}
.customer-account-page .card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:0}
.customer-account-page .mini-card{min-height:96px;padding:12px;border:1px solid #e3e8e5;border-radius:11px;background:#fafcfb;gap:8px;transition:border-color .15s ease,background .15s ease,transform .15s ease}
.customer-account-page .mini-card:hover{border-color:#c7d1cb;background:#f5f8f6;transform:translateY(-1px)}
.customer-account-page .mini-card svg{width:24px;height:24px;stroke-width:1.8}
.customer-account-page .mini-card span{font-size:12px;font-weight:550}
.customer-account-page .section-title{margin:24px 0 10px;font-size:16px;line-height:1.2;font-weight:600;letter-spacing:-.01em}
.customer-account-page .suggestion-card{margin-top:0;padding:20px;border:1px solid #e3e8e5;border-radius:12px;background:#fbfcfb}
.customer-account-page .suggestion-art{right:16px;top:16px;width:60px;height:60px}
.customer-account-page .suggestion-title{max-width:420px;font-size:18px;line-height:1.2;font-weight:650;letter-spacing:-.02em}
.customer-account-page .suggestion-text{max-width:520px;margin-top:10px;color:#68706b;font-size:12px;line-height:1.55}
.customer-account-page .soft-btn{min-height:40px;margin-top:16px;padding:0 14px;border:1px solid #dfe5e1;border-radius:9px;background:#fff;font-size:11.5px;font-weight:550}
.customer-account-page .panel-title{margin:0 0 18px;font-size:26px;line-height:1.1;font-weight:650;letter-spacing:-.03em}
.customer-account-page .info-avatar{width:68px;height:68px;margin:0 0 16px;border:1px solid #dfe5e1;background:#eef2ef}
.customer-account-page .row-link,.customer-account-page .row-btn{min-height:68px;padding:12px 0;border-bottom:1px solid #edf0ee;gap:12px}
.customer-account-page .row-title{margin-bottom:4px;font-size:12.5px;line-height:1.25;font-weight:600}
.customer-account-page .row-sub{color:#68706b;font-size:11.5px;line-height:1.45;gap:6px}
.customer-account-page .row-arrow svg{width:18px;height:18px;stroke:#929a95;stroke-width:1.8}
.customer-account-page .check{width:16px;height:16px;background:#14a865;font-size:9px}
.customer-account-page .subheading,.customer-account-page .social-title,.customer-account-page .login-title{margin:20px 0 8px;font-size:15px;line-height:1.2;font-weight:600;letter-spacing:-.01em}
.customer-account-page .muted,.customer-account-page .social-sub,.customer-account-page .login-sub{color:#68706b;font-size:11.5px;line-height:1.55}
.customer-account-page .social-row{min-height:62px;padding:12px 0;border-bottom:1px solid #edf0ee}
.customer-account-page .social-left{gap:12px}.customer-account-page .social-left svg{width:26px;height:26px}.customer-account-page .social-left span{font-size:12.5px;font-weight:550}
.customer-account-page .pill{min-width:auto;min-height:34px;padding:0 11px;border:1px solid #dfe5e1;border-radius:999px;background:#f6f8f6;color:#59625c;font-size:10.5px;font-weight:550}
.customer-account-page .login-card{margin:14px 0 8px;padding:16px;border:1px solid #e3e8e5;border-radius:11px;background:#fbfcfb}
.customer-account-page .login-head{gap:10px}.customer-account-page .login-head svg{width:19px;height:19px;stroke-width:1.8}
.customer-account-page .login-device{font-size:12.5px;font-weight:600}.customer-account-page .login-current{margin-top:3px;color:#0c7d4e;font-size:11px;font-weight:600}.customer-account-page .login-meta{margin-top:5px;color:#68706b;font-size:11px;line-height:1.45}
.customer-account-page .plain-row{padding:14px 0;border-bottom:1px solid #edf0ee}.customer-account-page .plain-title{font-size:12.5px;font-weight:550}.customer-account-page .plain-sub{margin-top:4px;color:#68706b;font-size:11.5px;line-height:1.45}

@media(max-width:820px){
  .customer-account-nav{top:auto;min-height:48px;gap:22px;padding:0 16px;overflow-x:auto;scrollbar-width:none}
  .customer-account-nav::-webkit-scrollbar{display:none}.customer-account-nav a{min-height:48px;font-size:12px}
  .customer-promotions-page .promotions-shell{width:calc(100% - 24px);padding:20px 0 52px}
  .customer-promotions-page .promotions-layout{grid-template-columns:1fr;gap:14px}
  .customer-promotions-page .promotions-panel{padding:20px}.customer-promotions-page .promotions-panel h1{font-size:28px}
  .customer-promotions-page .promotions-map-wrap{min-height:360px;height:42vh;order:2}
  .customer-account-page .tabs{width:calc(100% - 24px);margin-top:16px;padding:4px;overflow-x:auto;scrollbar-width:none}.customer-account-page .tabs::-webkit-scrollbar{display:none}
  .customer-account-page .tab-btn{flex:0 0 auto;min-height:38px;padding:0 12px;font-size:11.5px}
  .customer-account-page main{width:calc(100% - 24px);margin-top:12px;margin-bottom:52px}
  .customer-account-page .panel{padding:18px;border-radius:12px}
  .customer-account-page .card-grid{grid-template-columns:1fr}.customer-account-page .mini-card{min-height:64px;display:grid;grid-template-columns:28px minmax(0,1fr);justify-items:start;text-align:left}
}

@media(max-width:520px){
  .customer-promotions-page .promo-code-form{grid-template-columns:1fr}.customer-promotions-page .promo-code-form button{width:100%}
  .customer-promotions-page .promotions-map-wrap{min-height:300px}
  .customer-promotions-page .promotion-modal{align-items:flex-end;padding:0}.customer-promotions-page .promotion-modal-sheet{width:100%;max-height:82vh;border-radius:16px 16px 0 0;padding:22px 18px calc(20px + env(safe-area-inset-bottom))}
  .customer-account-page .home-profile{grid-template-columns:54px minmax(0,1fr)}.customer-account-page .home-profile .avatar{width:54px;height:54px}.customer-account-page .home-name{font-size:16px}
  .customer-account-page .suggestion-art{display:none}.customer-account-page .suggestion-title,.customer-account-page .suggestion-text{max-width:none}
}
