/* V21.15.8 - Account, cart, favorites and category responsive UX fixes */
:root{--sp-orange:#f27a1a;--sp-navy:#132b45;--sp-bg:#f5f7fa;--sp-text:#172033;--sp-muted:#6b7280;--sp-border:#e3e7ed;--sp-radius:16px}
body.page-addresses,body.page-affiliate,body.page-finance-center,body.page-action-center,body.page-wallet,body.page-catalog-center,body.page-favorites,body.page-cart,body.page-mobile-categories{background:var(--sp-bg)!important;color:var(--sp-text)}
.account-mobile-page{max-width:1180px;margin:0 auto;padding-bottom:100px}.wallet-main{max-width:1040px;margin:24px auto;display:grid;gap:16px;padding:0 18px}.amp-head{background:#fff}.amp-head h1{color:var(--sp-text)!important}.amp-head>a{color:var(--sp-text)!important}
.amp-card{background:#fff;border:1px solid var(--sp-border);border-radius:var(--sp-radius);box-shadow:0 8px 28px rgba(15,23,42,.055)}
/* shared hero and stats */
.finance-sync-hero,.action-sync-hero{min-height:190px;padding:32px;border-radius:22px;background:linear-gradient(135deg,#10263f,#184d79);display:flex;align-items:center;justify-content:space-between;gap:24px;color:#fff!important;box-shadow:0 16px 38px rgba(16,38,63,.18)}
.finance-sync-hero *,.action-sync-hero *{color:#fff!important}.finance-sync-hero span,.action-sync-hero span{font-size:12px;font-weight:800;letter-spacing:.14em;opacity:.8}.finance-sync-hero h2,.action-sync-hero h2{margin:10px 0 8px;font-size:34px;line-height:1.08}.finance-sync-hero p,.action-sync-hero p{margin:0;opacity:.85}.finance-sync-hero>a,.action-sync-hero>a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border-radius:12px;background:#fff;color:var(--sp-navy)!important;font-weight:800;text-decoration:none;white-space:nowrap}
.finance-sync-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.finance-sync-stats article{min-height:116px;padding:18px;border-radius:16px;background:#fff;border:1px solid var(--sp-border);display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 6px 18px rgba(15,23,42,.04)}.finance-sync-stats small{color:var(--sp-muted)!important;font-size:13px}.finance-sync-stats b{display:block;color:var(--sp-text)!important;font-size:25px!important;line-height:1.1;margin-top:10px}
.finance-sync-links{padding:6px!important;overflow:hidden}.finance-sync-links>a{display:grid;gap:5px;padding:17px 18px;text-decoration:none;border-bottom:1px solid #eef0f3}.finance-sync-links>a:last-child{border-bottom:0}.finance-sync-links b{color:var(--sp-text)!important}.finance-sync-links small{color:var(--sp-muted)!important}.wallet-main>.amp-card:not(.wallet-balance-card){padding:20px}.wallet-main>.amp-card h2{margin:0 0 14px;color:var(--sp-text)!important;font-size:20px}.action-notice,.finance-order-row,.wallet-transaction{padding:14px 0;border-bottom:1px solid #edf0f4}.action-notice:last-child,.finance-order-row:last-child,.wallet-transaction:last-child{border-bottom:0}
/* wallet */
.wallet-balance-card{min-height:180px;padding:30px!important;background:linear-gradient(135deg,#10263f,#184d79)!important;color:#fff!important}.wallet-balance-card *{color:#fff!important}.wallet-balance-card small{opacity:.75}.wallet-balance-card h2{margin:10px 0;font-size:38px!important}.wallet-balance-card p{margin:0;max-width:560px;opacity:.82}.wallet-redeem-form{padding:18px!important;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}.wallet-redeem-form input{min-height:50px;border:1px solid var(--sp-border);border-radius:12px;padding:0 16px;font-size:16px}.wallet-redeem-form button{min-width:180px}.wallet-transaction{display:flex;justify-content:space-between;gap:16px}.wallet-transaction span{display:grid;gap:4px}.wallet-transaction b,.wallet-transaction strong{color:var(--sp-text)!important}.wallet-transaction small{color:var(--sp-muted)!important}
/* address */
.address-compact-content{max-width:980px;margin:22px auto;padding:0 18px;display:grid;grid-template-columns:minmax(260px,.82fr) minmax(420px,1.18fr);gap:18px;align-items:start}.address-list-compact,.address-form-compact{display:grid;gap:12px}.address-form-compact{background:#fff;border:1px solid var(--sp-border);border-radius:var(--sp-radius);padding:22px;box-shadow:0 8px 24px rgba(15,23,42,.04)}.address-form-compact h2{margin:0 0 8px;font-size:21px}.address-form-compact form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.address-form-compact label{display:grid;gap:7px}.address-form-compact label.full,.address-form-compact .amp-btn{grid-column:1/-1}.address-form-compact label>span{font-weight:700;color:#4b5563}.address-form-compact input,.address-form-compact textarea{width:100%;border:1px solid #d8dde5;border-radius:11px;padding:12px 14px;background:#fff;font-size:15px;min-height:48px}.address-form-compact textarea{resize:vertical;min-height:92px}.address-list-compact .amp-empty{margin:0;min-height:210px;display:grid;place-items:center;padding:28px;border-style:dashed;background:#fff}.address-list-compact .amp-empty:before{content:'⌖';display:block;color:var(--sp-orange);font-size:36px;margin-bottom:8px}.address-card-compact{background:#fff;border:1px solid var(--sp-border);border-radius:14px;padding:17px;display:grid;gap:7px}.address-card-compact span,.address-card-compact p{color:var(--sp-muted);margin:0}
/* affiliate */
.sp-aff{max-width:1040px!important;margin:24px auto!important;padding:0 18px!important}.sp-aff>h1{margin:0 0 8px;font-size:32px}.sp-aff>p{margin:0 0 20px;color:var(--sp-muted)}.sp-aff-card{border-radius:18px!important;padding:24px!important;box-shadow:0 8px 26px rgba(15,23,42,.05)!important}.sp-aff-card h2{margin-top:0}.sp-aff-form{max-width:720px}.sp-aff input,.sp-aff textarea{min-height:50px!important;border-radius:12px!important;font-size:15px!important}.sp-aff textarea{min-height:110px}.sp-aff button{min-height:48px!important;border-radius:12px!important}.sp-aff table{min-width:620px}.sp-aff-card:has(table){overflow:auto}
/* favorites */
.ref-favorites-page{max-width:1180px;margin:0 auto;padding:24px 18px 100px}.ref-favorites-header{background:#fff;border:1px solid var(--sp-border);border-radius:16px;padding:18px 20px;display:flex;justify-content:space-between;align-items:center;gap:14px}.ref-favorites-header small{color:var(--sp-orange);font-weight:800;letter-spacing:.1em}.ref-favorites-header h1{margin:3px 0 0}.ref-favorites-header>a{background:var(--sp-orange);color:#fff!important;padding:11px 16px;border-radius:11px;text-decoration:none;font-weight:800;white-space:nowrap}.v2-favorite-toolbar{display:flex;gap:10px;overflow:auto;padding:16px 0!important}.v2-favorite-toolbar button{min-height:44px;padding:0 18px!important;border-radius:22px!important;white-space:nowrap}.favorite-products-section{margin-top:20px}.favorite-products-section>header{display:flex;justify-content:space-between;align-items:center}.favorite-products-section>header a{color:var(--sp-orange);text-decoration:none;font-weight:700}.favorite-empty{min-height:230px!important;margin-top:14px!important;border:1px dashed #ccd2da!important;border-radius:18px!important;background:#fff!important;display:grid!important;place-items:center!important;align-content:center!important;padding:28px!important;text-align:center!important}.favorite-empty:before{content:'♡';font-size:42px;color:var(--sp-orange);line-height:1}.favorite-empty b{color:var(--sp-text)!important;font-size:20px}.favorite-empty p{margin:8px 0 0;color:var(--sp-muted)}
/* cart empty */
.ref-cart-page{max-width:1180px;margin:0 auto;padding-bottom:100px}.empty-cart-block{max-width:780px!important;min-height:auto!important;margin:28px auto 18px!important;padding:42px 28px!important;border-radius:20px!important}.empty-cart-block h2{margin:14px 0 4px}.empty-cart-block p{margin:0 0 22px}.empty-cart-block .ref-primary-btn{max-width:340px;margin:auto}.recommend-card{max-width:1000px;margin:0 auto!important}.recommend-card header{padding:16px 18px}.recommend-list:empty:after{content:'Önerilecek ürün bulunamadı.';display:block;padding:24px;text-align:center;color:var(--sp-muted)}
/* category */
.category-v19-topbar{min-height:72px!important}.category-v19-back{width:42px!important;height:42px!important}.category-v19-back svg{width:23px!important;height:23px!important}.category-v19-grid{gap:18px!important}.category-v19-card{border-radius:16px!important;overflow:hidden!important;background:#fff!important}.category-v19-image{aspect-ratio:1.35/1!important;overflow:hidden}.category-v19-image img{width:100%!important;height:100%!important;object-fit:cover!important}.category-v19-card strong{min-height:58px!important;padding:13px 10px!important;display:grid!important;place-items:center!important;text-align:center!important;font-size:15px!important;line-height:1.25!important;color:var(--sp-text)!important}
/* bottom nav active state: only current page */
.mobile-nav a{color:#20242b!important}.mobile-nav a.active{color:var(--sp-orange)!important}.page-favorites .mobile-nav a{color:#20242b!important}.page-favorites .mobile-nav a[href*="favorites"]{color:var(--sp-orange)!important}.page-cart .mobile-nav a{color:#20242b!important}.page-cart .mobile-nav a[href*="cart"]{color:var(--sp-orange)!important}.page-mobile-categories .mobile-nav a{color:#20242b!important}.page-mobile-categories .mobile-nav a[href*="categor"]{color:var(--sp-orange)!important}
@media(max-width:768px){
 body{padding-bottom:0}.account-mobile-page{padding-bottom:88px!important}.amp-head{height:60px!important;grid-template-columns:48px 1fr 48px!important;position:relative!important;top:auto!important}.amp-head h1{font-size:18px!important;text-align:left}.amp-head>a{font-size:30px!important}
 .wallet-main{margin:12px auto;padding:0 12px;gap:12px}.finance-sync-hero,.action-sync-hero{min-height:150px;padding:20px;border-radius:18px;align-items:flex-start;flex-direction:column}.finance-sync-hero h2,.action-sync-hero h2{font-size:25px}.finance-sync-hero>a,.action-sync-hero>a{min-height:40px;padding:0 14px}.finance-sync-stats{grid-template-columns:1fr 1fr;gap:10px}.finance-sync-stats article{min-height:92px;padding:14px}.finance-sync-stats b{font-size:21px!important}.wallet-main>.amp-card:not(.wallet-balance-card){padding:15px}.wallet-balance-card{min-height:150px;padding:22px!important}.wallet-balance-card h2{font-size:31px!important}.wallet-redeem-form{grid-template-columns:1fr;padding:14px!important}.wallet-redeem-form button{min-width:0;width:100%}
 .address-compact-content{margin:12px auto;padding:0 12px;display:grid;grid-template-columns:1fr;gap:12px}.address-list-compact .amp-empty{min-height:145px}.address-form-compact{padding:15px}.address-form-compact form{grid-template-columns:1fr;gap:11px}.address-form-compact label.full,.address-form-compact .amp-btn{grid-column:auto}.address-form-compact input{min-height:45px}.address-form-compact textarea{min-height:84px}.address-form-compact .amp-btn{min-height:48px;margin-bottom:8px}
 .sp-aff{margin:14px auto!important;padding:0 12px 96px!important}.sp-aff>h1{font-size:26px}.sp-aff-card{padding:16px!important}.sp-aff-grid{grid-template-columns:1fr 1fr!important}.sp-aff-card strong{font-size:19px!important}
 .ref-favorites-page{padding:10px 10px 92px}.ref-favorites-header{padding:13px 14px;border-radius:0;margin:0 -10px}.ref-favorites-header h1{font-size:20px}.ref-favorites-header>a{font-size:12px;padding:9px 11px}.v2-favorite-toolbar{padding:12px 0!important}.v2-favorite-toolbar button{min-height:39px;padding:0 14px!important;font-size:13px}.favorite-products-section{margin-top:10px}.favorite-products-section>header h2{font-size:18px}.favorite-empty{min-height:190px!important;padding:22px!important}
 .ref-cart-header{padding:15px 16px!important}.ref-cart-header h1{font-size:21px!important}.empty-cart-block{margin:14px 12px!important;padding:30px 20px!important}.recommend-card{margin:0 12px!important}.recommend-list{display:flex!important;overflow:auto!important}.recommend-item{min-width:190px!important}
 .category-v19-topbar{min-height:60px!important}.category-v19-topbar h1{font-size:21px!important}.category-v19-layout{padding-bottom:86px!important}.category-v19-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;padding:10px!important}.category-v19-card strong{min-height:52px!important;font-size:13px!important}.category-v19-image{aspect-ratio:1.25/1!important}
 .mobile-nav{height:68px!important;padding-bottom:env(safe-area-inset-bottom)!important}.mobile-nav a{font-size:11px!important}
}
@media(min-width:769px){.amp-head{border-radius:0 0 14px 14px}.address-mobile-page .amp-head,.wallet-page .amp-head,.customer-finance-center .amp-head,.action-sync-page .amp-head,.catalog-sync-page .amp-head{max-width:1040px;margin:auto}.category-v19-content{min-width:0}}
