:root{
  --p:#6242df;
  --p2:#8b6fff;
  --p3:#ede6ff;
  --bg:#f6f5fb;
  --card:#ffffff;
  --ink:#251c43;
  --muted:#8a83a2;
  --line:#ece7fb;
  --green:#1db86c;
  --green-bg:#e7fff2;
  --orange:#f5a236;
  --orange-bg:#fff1dd;
  --shadow:0 12px 32px rgba(79,58,146,.08);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body.store-app-body{font-family:Tahoma,Arial,sans-serif;background:var(--bg);color:var(--ink);padding-bottom:86px}
a{text-decoration:none;color:inherit}
.store-shell{max-width:1250px;margin:0 auto;padding:0 18px}
.store-main{min-height:calc(100vh - 180px)}
.store-topbar{position:sticky;top:0;z-index:60;background:#fff;border-bottom:1px solid var(--line)}
.topbar-inner{display:flex;align-items:center;gap:18px;min-height:76px}
.store-brand{display:flex;align-items:center;gap:12px;min-width:220px}
.store-brand img,.brand-mark{width:48px;height:48px;border-radius:16px;object-fit:cover;display:grid;place-items:center;background:var(--p3);font-size:22px}
.store-brand div{display:grid;gap:2px}
.store-brand strong{font-size:18px;font-weight:900}
.store-brand small{color:var(--muted);font-size:12px}
.store-search{display:flex;align-items:center;flex:1;background:#faf9ff;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.store-search input{flex:1;border:0;background:transparent;padding:15px 16px;outline:0;font-size:14px}
.store-search button,.primary-btn,.add-btn{border:0;background:linear-gradient(135deg,var(--p),var(--p2));color:#fff;padding:12px 20px;border-radius:14px;font-weight:900;cursor:pointer;box-shadow:none}
.store-nav{display:flex;align-items:center;gap:14px}
.store-nav a{padding:11px 14px;border-radius:14px;font-weight:800;color:#625c78}
.store-nav a.active,.store-nav a:hover{background:var(--p3);color:var(--p)}
.cart-link span{margin-inline-start:6px;background:#ff8e3c;color:#fff;border-radius:999px;padding:4px 8px;font-size:12px}
.mobile-page-bar{display:none}
.store-toast{margin:12px 0 0;background:#eef7ff;border:1px solid #d5e8ff;padding:12px 14px;border-radius:14px;color:#356199;font-weight:700}
.store-footer{margin-top:48px;background:#25175c;color:#fff;padding:30px 0}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:26px}
.footer-grid p{margin:7px 0;color:rgba(255,255,255,.82)}

.mobile-app-home{padding-top:20px}
.home-title-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.page-title{font-size:30px;font-weight:900}
.bell-button{width:42px;height:42px;display:grid;place-items:center;background:#fff;border:1px solid var(--line);border-radius:14px;font-size:19px}
.app-hero{min-height:320px;border-radius:30px;background:linear-gradient(135deg,#ee9b2b 0%,#7a57ee 53%,#5837d9 100%);color:#fff;padding:32px;display:flex;align-items:center;justify-content:space-between;gap:24px;position:relative;overflow:hidden;box-shadow:var(--shadow)}
.app-hero::before{content:"";position:absolute;width:390px;height:390px;border-radius:50%;left:-150px;top:-170px;background:rgba(255,255,255,.09)}
.hero-content,.hero-cart-stat{position:relative;z-index:1}
.hero-content h1{margin:0 0 8px;font-size:42px;font-weight:900}
.hero-content p{margin:0 0 24px;color:rgba(255,255,255,.94);font-size:16px}
.hero-shop-btn{display:inline-flex;align-items:center;gap:8px;background:#fff;color:var(--p);padding:12px 18px;border-radius:18px;font-weight:900}
.hero-cart-stat{width:200px;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.12);border-radius:26px;padding:24px;text-align:center;backdrop-filter:blur(8px)}
.hero-cart-icon{font-size:42px}.hero-cart-stat strong{display:block;font-size:38px;margin:6px 0}.hero-cart-stat span{font-size:14px;color:rgba(255,255,255,.95)}
.quick-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:16px 0 30px}
.quick-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:86px;box-shadow:var(--shadow)}
.quick-card small{display:block;color:var(--muted);margin-bottom:4px}
.quick-card strong{font-size:14px}
.quick-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;font-size:20px;flex:0 0 auto}
.quick-icon.green{background:#ecfbf3;color:#18ad66}.quick-icon.orange{background:var(--orange-bg);color:#ea981e}.quick-icon.purple{background:#f0ebff;color:var(--p)}
.home-section{margin-top:28px}
.compact-top{margin-top:18px}
.section-head.mobile-style{display:flex;justify-content:space-between;align-items:end;margin:0 0 14px}
.section-head.mobile-style h2{margin:0;font-size:28px;font-weight:900}.section-head.mobile-style p{margin:5px 0 0;color:var(--muted);font-size:13px}.products-head>a{color:var(--p);font-weight:800}
.category-grid-mobile{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.category-chip-card{min-height:92px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:14px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:900;box-shadow:var(--shadow)}
.category-circle{width:42px;height:42px;border-radius:50%;background:#f2edff;color:var(--p);display:grid;place-items:center;flex:0 0 auto}
.brand-pills,.scroll-pills{display:flex;gap:8px;flex-wrap:wrap}.brand-pills a,.filter-pill{background:#fff;border:1px solid #dfd8f0;border-radius:12px;padding:10px 14px;display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:700}.brand-pills span{color:var(--p)}.filter-pill.active{background:var(--p3);color:var(--p);border-color:#d3c6ff}
.catalog-hero-card{background:linear-gradient(135deg,#fff7e8,#f4f0ff);border:1px solid var(--line);border-radius:24px;padding:22px;display:grid;gap:14px;margin-top:18px;box-shadow:var(--shadow)}
.catalog-hero-card h2{margin:0 0 5px;font-size:28px}.catalog-hero-card p{margin:0;color:var(--muted)}
.catalog-search-row{display:grid;grid-template-columns:1fr auto;gap:10px}.catalog-search-row input{border:1px solid var(--line);background:#fff;padding:14px;border-radius:16px;outline:none}

.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.product-card{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:var(--shadow)}
.product-image{display:block;position:relative;height:220px;background:#faf9ff}.product-image img{width:100%;height:100%;object-fit:cover}.image-placeholder{display:flex;align-items:center;justify-content:center;height:100%;background:linear-gradient(135deg,#f0ebff,#fff);color:var(--p);font-weight:900;padding:10px;text-align:center}
.stock-badge{position:absolute;top:10px;left:10px;border-radius:999px;padding:6px 10px;font-size:11px;color:#fff;font-weight:800}.stock-badge.in{background:var(--green)}.stock-badge.out{background:#de4054}.stock-badge.large{font-size:13px;padding:8px 13px}
.product-body{padding:14px}.product-body small{color:var(--muted);display:block;margin-bottom:4px}.product-body h3{font-size:17px;line-height:1.4;min-height:48px;margin:0 0 10px;font-weight:900}.price{font-size:18px;font-weight:900;color:#2f2356}.add-btn{width:100%;margin-top:10px;padding:13px 16px}.add-btn:disabled,.primary-btn:disabled{opacity:.45;cursor:not-allowed}

.product-page-mobile{padding-top:20px}.product-hero-card{display:grid;grid-template-columns:1fr 1fr;gap:20px}.product-hero-image-wrap{position:relative}.main-product-image{width:100%;height:520px;border-radius:28px;object-fit:cover;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow)}.product-info-card{background:#fff;border:1px solid var(--line);border-radius:28px;padding:24px;box-shadow:var(--shadow)}.product-mini-category{display:inline-flex;padding:8px 12px;background:#f1edff;color:var(--p);border-radius:999px;font-size:12px;font-weight:800;margin-bottom:10px}.product-info-card h1{margin:0 0 14px;font-size:30px}.meta-line{color:#675f80;margin:8px 0}.meta-line strong{color:var(--ink)}.big-price{font-size:34px;font-weight:900;color:var(--p);margin:18px 0}.product-description{color:#5f5878;line-height:1.8}.buy-form{display:flex;gap:10px}.buy-form input{width:90px;border:1px solid var(--line);border-radius:14px;padding:13px;text-align:center}

.cart-page,.orders-page{padding-top:20px}.cart-layout{display:grid;grid-template-columns:1fr 330px;gap:20px}.cart-items,.cart-summary,.auth-card,.checkout-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:20px;box-shadow:var(--shadow)}.cart-item{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}.cart-item:last-child{border-bottom:0}.cart-item img,.cart-thumb-placeholder{width:92px;height:92px;border-radius:18px;object-fit:cover;flex:0 0 auto}.cart-thumb-placeholder{display:grid;place-items:center;background:#f2edff;color:var(--p);padding:8px;text-align:center}.cart-item .grow{flex:1}.cart-item h3{margin:0 0 8px;font-size:17px}.cart-item p{margin:0 0 8px;color:var(--muted)}.cart-update-form{display:grid;gap:7px}.cart-update-form input{width:78px;border:1px solid var(--line);padding:10px;border-radius:12px}.cart-update-form button{border:1px solid #dbd3f6;background:#f7f4ff;color:var(--p);padding:10px 12px;border-radius:12px;font-weight:800}.cart-summary h3,.auth-card h1{margin-top:0}.cart-summary>div{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px dashed var(--line)}.cart-summary>div:last-of-type{border-bottom:0}.block{display:block;width:100%;text-align:center;margin-top:14px}
.empty-state{background:#fff;border:1px solid var(--line);border-radius:26px;padding:52px 24px;text-align:center;box-shadow:var(--shadow)}.empty-state p{color:var(--muted)}
.auth-page{display:grid;place-items:center;min-height:70vh}.auth-card{width:min(480px,100%);display:grid;gap:14px;text-align:center}.auth-card p{margin:0;color:var(--muted)}.auth-card label{display:grid;gap:8px;text-align:right;font-weight:800}.auth-card input,.checkout-card input,.checkout-card select,.checkout-card textarea{width:100%;border:1px solid var(--line);padding:13px;border-radius:14px;outline:none;background:#fff}.auth-brand-mark{width:56px;height:56px;border-radius:18px;background:#f1ecff;color:var(--p);display:grid;place-items:center;font-size:28px;margin:0 auto}.auth-switch{font-size:14px}.auth-switch a{color:var(--p);font-weight:900}
.orders-list{display:grid;gap:12px}.order-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:16px;box-shadow:var(--shadow)}.order-card small{display:block;color:var(--muted);margin-top:5px}.order-status-chip{background:#f2edff;color:var(--p);padding:9px 12px;border-radius:999px;font-weight:800}
.validation{color:#cc334f}.muted{color:var(--muted)}
.mobile-bottom-nav{position:fixed;bottom:0;right:0;left:0;display:grid;grid-template-columns:repeat(5,1fr);background:#fbf9ff;border-top:1px solid var(--line);z-index:70;height:74px}.mobile-bottom-nav a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:5px 2px;color:#726c84}.mobile-bottom-nav a span{font-size:21px;line-height:1}.mobile-bottom-nav a small{font-size:11px;font-weight:700}.mobile-bottom-nav a.active span{width:48px;height:31px;border-radius:18px;background:#ece4ff;color:#49387b;display:grid;place-items:center}.mobile-bottom-nav em{position:absolute;top:5px;right:calc(50% - 18px);min-width:18px;height:18px;border-radius:999px;background:#ff7f2a;color:#fff;font-size:10px;display:grid;place-items:center;font-style:normal;padding:0 4px}

@media(min-width:721px){.mobile-bottom-nav{display:none}}
@media(max-width:1100px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-hero-card{grid-template-columns:1fr}.cart-layout{grid-template-columns:1fr}.store-nav a:not(.cart-link){display:none}}
@media(max-width:720px){.desktop-store-header,.desktop-only-footer{display:none}.mobile-page-bar{display:block;position:sticky;top:0;z-index:55;background:#fff;border-bottom:1px solid var(--line)}.mobile-page-bar-inner{height:60px;display:flex;align-items:center;justify-content:space-between}.mobile-page-bar h1{font-size:20px;margin:0}.mobile-back-btn,.mobile-mini-badge{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:#f1edff;color:var(--p);font-weight:900}.store-shell{padding:0 14px}.mobile-app-home{padding-top:14px}.page-title{font-size:22px}.bell-button{background:transparent;border:0;width:36px;height:36px}.app-hero{min-height:322px;border-radius:26px;padding:28px 22px;display:block}.hero-content h1{font-size:28px}.hero-content p{font-size:13px}.hero-shop-btn{padding:11px 16px;font-size:13px}.hero-cart-stat{width:180px;margin:18px 0 0 auto;padding:18px}.hero-cart-icon{font-size:34px}.hero-cart-stat strong{font-size:29px}.quick-stats{grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}.quick-card{padding:10px;min-height:78px;flex-direction:row-reverse}.quick-icon{width:42px;height:42px}.quick-card small{font-size:11px}.quick-card strong{font-size:11px;white-space:nowrap}.section-head.mobile-style h2{font-size:21px}.category-grid-mobile{display:flex;overflow-x:auto;gap:10px;padding-bottom:6px;scrollbar-width:none}.category-grid-mobile::-webkit-scrollbar,.brand-pills::-webkit-scrollbar,.scroll-pills::-webkit-scrollbar,.products-home-section .product-grid::-webkit-scrollbar{display:none}.category-chip-card{min-width:118px;min-height:88px;flex:0 0 auto}.brand-pills,.scroll-pills{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}.products-home-section .product-grid,.catalog-products-section .product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-image{height:190px}.product-body h3{font-size:15px;min-height:42px}.price{font-size:16px}.catalog-hero-card{padding:18px;margin-top:14px}.catalog-search-row{grid-template-columns:1fr auto}.main-product-image{height:320px}.product-info-card{padding:18px}.product-info-card h1{font-size:22px}.big-price{font-size:28px}.buy-form{display:grid;grid-template-columns:90px 1fr}.cart-item{flex-wrap:wrap}.cart-item img,.cart-thumb-placeholder{width:78px;height:78px}.order-card{grid-template-columns:1fr auto}.order-card strong{grid-column:1/-1}}
@media(max-width:430px){.quick-stats{gap:8px}.quick-card{gap:5px}.quick-icon{width:36px;height:36px;font-size:17px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-image{height:165px}.product-body{padding:12px}.product-body h3{font-size:14px}.add-btn{padding:12px 10px;font-size:13px}.mobile-bottom-nav a small{font-size:10px}}

.checkout-page{padding-top:20px}.checkout-card{max-width:760px;margin:0 auto}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid label{display:grid;gap:7px;font-weight:800}.form-grid .wide{grid-column:1/-1}.checkout-total{display:flex;justify-content:space-between;align-items:center;padding:18px 0;font-size:20px;font-weight:900}.success-card{background:#fff;border:1px solid var(--line);border-radius:26px;padding:48px 24px;text-align:center;max-width:650px;margin:32px auto;box-shadow:var(--shadow)}.success-icon{width:82px;height:82px;border-radius:50%;display:grid;place-items:center;background:#1aae72;color:#fff;font-size:38px;margin:0 auto 16px}.app-success-card strong{display:block;font-size:22px;margin:10px 0 16px} .compact-head{margin-bottom:18px}@media(max-width:720px){.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.checkout-total{font-size:18px}}

/* ===== Account center like mobile app ===== */
.account-page-mobile{padding-top:20px}.account-profile-banner{background:linear-gradient(135deg,#5f3cdb,#8064ed);color:#fff;border-radius:28px;padding:24px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;box-shadow:var(--shadow)}.account-avatar{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.18);font-size:34px;font-weight:900}.account-profile-main h1{margin:0 0 5px;font-size:27px}.account-profile-main p{margin:0;color:rgba(255,255,255,.9)}.points-badge{display:inline-flex;align-items:center;gap:7px;background:rgba(255,255,255,.15);padding:12px 15px;border-radius:18px;font-weight:800}.account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}.account-tile{position:relative;min-height:112px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:18px;display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:13px;box-shadow:var(--shadow)}.account-tile-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;font-size:25px}.account-tile-icon.purple{background:#f0ebff;color:var(--p)}.account-tile-icon.danger{background:#ffe9ea;color:#ef4b54}.account-tile h3{margin:0 0 5px;font-size:17px}.account-tile p{margin:0;color:var(--muted);font-size:12px}.account-tile em{font-style:normal;background:#f1edff;color:var(--p);min-width:25px;height:25px;border-radius:999px;display:grid;place-items:center;font-size:11px;font-weight:900}.account-tile .chev{font-size:28px;color:#aba6b7}.logout-tile{padding:0;display:block}.account-logout-button{width:100%;min-height:112px;border:0;background:transparent;padding:18px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;text-align:right;cursor:pointer;color:inherit}.account-logout-button h3{color:#ef4b54}.account-form-page,.account-list-page,.loyalty-page{padding-top:20px}.account-form-card,.settings-info-card,.loyalty-history-card{max-width:760px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:24px;padding:22px;box-shadow:var(--shadow)}.account-form-card{display:grid;gap:14px}.account-form-card label{display:grid;gap:8px;font-weight:800}.account-form-card input,.account-form-card textarea{width:100%;border:1px solid var(--line);padding:14px;border-radius:14px;outline:none;background:#fff}.notifications-list{display:grid;gap:12px;max-width:850px;margin:0 auto}.notification-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:16px;display:flex;gap:14px;align-items:flex-start;box-shadow:var(--shadow)}.notification-icon{width:44px;height:44px;border-radius:14px;background:#f0ebff;display:grid;place-items:center;flex:0 0 auto}.notification-card h3{margin:0 0 6px}.notification-card p{margin:0 0 7px;color:#655e7a;line-height:1.6}.notification-card small{color:var(--muted)}.loyalty-balance-card{max-width:760px;margin:0 auto 14px;background:linear-gradient(135deg,#5b38d9,#8062ed);color:#fff;border-radius:26px;padding:28px;text-align:center;box-shadow:var(--shadow)}.loyalty-balance-card span,.loyalty-balance-card small{display:block;color:rgba(255,255,255,.86)}.loyalty-balance-card strong{display:block;font-size:52px;margin:7px 0 2px}.loyalty-balance-card b{display:block;font-size:17px;margin-bottom:8px}.loyalty-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}.loyalty-row:last-child{border-bottom:0}.loyalty-row small{display:block;color:var(--muted);margin-top:5px}.loyalty-row strong{font-size:20px}.loyalty-row strong.plus{color:#1aaa6b}.loyalty-row strong.minus{color:#e34a57}.empty-mini{text-align:center;color:var(--muted);padding:28px}.settings-info-card h2{margin:0 0 6px}.settings-info-card>p{margin:0 0 16px;color:var(--muted)}.settings-info-card>div{display:flex;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid var(--line)}.settings-info-card>div:last-child{border-bottom:0}.settings-info-card span{color:var(--muted)}.delivery-info-hint{display:flex;gap:12px;align-items:center;background:#f7f3ff;border:1px solid #e3dafa;border-radius:16px;padding:13px;margin-bottom:14px}.delivery-info-hint>span{width:40px;height:40px;border-radius:13px;background:#ece4ff;display:grid;place-items:center}.delivery-info-hint small{display:block;color:var(--muted);margin-top:3px}.save-delivery-default{display:flex!important;align-items:center;gap:11px;background:#f8f7fb;border:1px solid var(--line);padding:13px;border-radius:16px;margin-top:14px}.save-delivery-default input{width:20px!important;height:20px!important;flex:0 0 auto}.save-delivery-default span{display:block}.save-delivery-default small{display:block;color:var(--muted);font-weight:400;margin-top:3px}
@media(max-width:720px){.account-page-mobile{padding-top:14px}.account-profile-banner{grid-template-columns:auto 1fr;gap:14px;padding:20px;border-radius:24px}.account-avatar{width:64px;height:64px;font-size:29px}.account-profile-main h1{font-size:22px}.points-badge{grid-column:1/-1;width:max-content;padding:9px 12px}.account-grid{grid-template-columns:1fr;gap:11px}.account-tile,.account-logout-button{min-height:104px;padding:15px}.account-tile-icon{width:46px;height:46px}.account-form-card,.settings-info-card,.loyalty-history-card{padding:18px;border-radius:22px}.loyalty-balance-card{padding:24px}.loyalty-balance-card strong{font-size:44px}}

/* Delivery zones */
.checkout-summary-lines{margin-top:18px;border-top:1px dashed var(--line);padding-top:10px}.checkout-summary-lines>div{display:flex;align-items:center;justify-content:space-between;padding:8px 0}.field-note{display:block;color:var(--muted);font-size:12px;margin-top:6px}.checkout-summary-lines .checkout-total{border-top:1px solid var(--line);margin-top:4px;padding-top:14px}.delivery-only select{width:100%}

.delivery-mini-info{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.delivery-mini-info span{background:#f4f0ff;color:#5f47bb;border:1px solid #e3dbff;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:700}

/* CRM / customer value */
.account-badges{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.crm-store-badge{display:inline-flex;padding:8px 12px;border-radius:999px;font-weight:900;background:rgba(255,255,255,.16);color:#fff}.account-crm-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0 20px}.account-crm-stats>div{background:#fff;border:1px solid var(--line);border-radius:18px;padding:15px;display:grid;gap:5px}.account-crm-stats small{color:var(--muted)}.account-crm-stats strong{font-size:16px}.crm-membership-card{background:linear-gradient(135deg,#4f36c9,#8067ed);color:#fff;border-radius:24px;padding:22px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}.crm-membership-card h2{margin:5px 0;font-size:28px}.crm-membership-card p{margin:0;color:rgba(255,255,255,.84)}.crm-membership-stats{display:grid;gap:8px;text-align:left}.crm-membership-stats b{background:rgba(255,255,255,.14);border-radius:12px;padding:9px 12px}@media(max-width:720px){.account-crm-stats{grid-template-columns:1fr 1fr}.account-crm-stats>div:last-child{grid-column:1/-1}.crm-membership-card{display:block}.crm-membership-stats{margin-top:14px;text-align:right}}



/* ===== Store advertising slider - image only ===== */
.store-ad-slider{
    position:relative;
    width:100%;
    margin:0 0 18px;
    padding-bottom:22px;
    border-radius:28px;
    overflow:visible;
}
.store-ad-track{
    position:relative;
    width:100%;
    aspect-ratio:16 / 5;
    max-height:390px;
    min-height:220px;
    overflow:hidden;
    border-radius:28px;
    background:#ece7ff;
    box-shadow:var(--shadow);
}
.store-ad-slide{
    position:absolute;
    inset:0;
    display:block;
    width:100%;
    height:100%;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .4s ease;
}
.store-ad-slide.active{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}
.store-ad-slide img{
    display:block;
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    max-height:none !important;
    object-fit:cover !important;
    object-position:center;
}
.store-ad-dots{
    position:absolute;
    left:50%;
    bottom:4px;
    z-index:4;
    display:flex;
    gap:7px;
    transform:translateX(-50%);
}
.store-ad-dots button{
    width:8px;
    height:8px;
    padding:0;
    border:0;
    border-radius:999px;
    background:#cfc7e8;
    cursor:pointer;
    transition:.2s;
}
.store-ad-dots button.active{
    width:26px;
    background:var(--p);
}

@media(max-width:1100px){
    .store-ad-track{
        aspect-ratio:16 / 6;
        min-height:190px;
        max-height:330px;
    }
}
@media(max-width:720px){
    .store-ad-slider{
        padding-bottom:18px;
        border-radius:22px;
        margin-bottom:14px;
    }
    .store-ad-track{
        aspect-ratio:16 / 7;
        min-height:150px;
        max-height:260px;
        border-radius:22px;
    }
    .store-ad-dots{bottom:3px}
}
@media(max-width:430px){
    .store-ad-track{
        aspect-ratio:16 / 8;
        min-height:135px;
        max-height:210px;
    }
}

/* ===== Responsive product bundles ===== */
.bundles-section{width:100%}
.bundle-grid{display:grid;gap:16px;width:100%}
.bundle-grid.bundle-count-1{grid-template-columns:1fr}
.bundle-grid.bundle-count-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.bundle-grid.bundle-count-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.bundle-card{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:var(--shadow);min-width:0}
.bundle-grid.bundle-count-1 .bundle-card{display:grid;grid-template-columns:minmax(220px,30%) 1fr;min-height:245px}
.bundle-grid.bundle-count-1 .bundle-card.no-image{grid-template-columns:1fr;min-height:0}
.bundle-image-wrap{min-height:190px;background:#f7f4ff;overflow:hidden}
.bundle-image-wrap img{display:block;width:100%;height:100%;min-height:190px;object-fit:cover}
.bundle-grid.bundle-count-1 .bundle-image-wrap{height:100%;min-height:245px}
.bundle-body{padding:18px;display:flex;flex-direction:column;gap:14px;height:100%}
.bundle-grid.bundle-count-1 .bundle-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,300px);align-items:center;gap:28px;padding:24px 28px}
.bundle-copy{min-width:0}
.bundle-badge{display:inline-flex;background:#f0ebff;color:var(--p);border-radius:999px;padding:6px 10px;font-size:11px;font-weight:900;margin-bottom:8px}
.bundle-body h3{margin:0 0 7px;font-size:20px;font-weight:900;line-height:1.35}
.bundle-body p{margin:0 0 8px;color:var(--muted);line-height:1.7}
.bundle-items{color:#6f6884;font-size:13px;line-height:1.8;overflow-wrap:anywhere}
.bundle-buy-box{margin-top:auto;background:#faf8ff;border:1px solid #eee8ff;border-radius:18px;padding:14px;display:grid;gap:9px}
.bundle-price-line,.bundle-normal-line{display:flex;align-items:center;justify-content:space-between;gap:12px}
.bundle-price-line span,.bundle-normal-line span{color:var(--muted);font-size:12px}
.bundle-price-line b{font-size:22px;color:var(--p);font-weight:900;white-space:nowrap}
.bundle-normal-line del{color:#9d96ad;font-size:13px}
.bundle-saving{display:inline-flex;width:max-content;max-width:100%;background:#eafaf1;color:#13834b;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900}
.bundle-buy-box .add-btn{width:100%;margin-top:2px}

@media(max-width:900px){
  .bundle-grid.bundle-count-1 .bundle-card{grid-template-columns:1fr}
  .bundle-grid.bundle-count-1 .bundle-image-wrap{height:220px;min-height:220px}
  .bundle-grid.bundle-count-1 .bundle-body{grid-template-columns:1fr;gap:14px;padding:18px}
  .bundle-grid.bundle-count-2,.bundle-grid.bundle-count-3{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .bundle-grid,.bundle-grid.bundle-count-1,.bundle-grid.bundle-count-2,.bundle-grid.bundle-count-3{display:flex;overflow-x:auto;gap:12px;scrollbar-width:none;scroll-snap-type:x mandatory;padding-bottom:4px}
  .bundle-grid::-webkit-scrollbar{display:none}
  .bundle-card,.bundle-grid.bundle-count-1 .bundle-card{display:block;min-width:82%;max-width:82%;scroll-snap-align:start;min-height:0}
  .bundle-image-wrap,.bundle-grid.bundle-count-1 .bundle-image-wrap{height:175px;min-height:175px}
  .bundle-body,.bundle-grid.bundle-count-1 .bundle-body{display:flex;padding:15px;gap:12px}
  .bundle-body h3{font-size:17px}
  .bundle-price-line b{font-size:19px}
}
@media(max-width:430px){.bundle-card,.bundle-grid.bundle-count-1 .bundle-card{min-width:88%;max-width:88%}}
