/* =========================================================
   IKLIP STORE SHELL V3.2
   Tahap 1: header, pencarian, kategori, footer, navigasi mobile.
   Hanya memengaruhi halaman toko/pembeli.
   ========================================================= */
:root{
  --store-bg:#fffdfb;
  --store-soft:#f8f1ed;
  --store-soft-2:#f3e8e4;
  --store-line:#eadfd9;
  --store-text:#21181c;
  --store-muted:#8f7f84;
  --store-dark:#2b2427;
  --store-radius:16px;
  --store-shadow:0 18px 45px rgba(67,43,49,.10);
  --store-bottom-nav-h:68px;
}
.store-shell-body{background:var(--store-bg)}
.store-shell-body.store-shell-lock{overflow:hidden}
.store-topbar svg,.store-header svg,.store-mobile-drawer svg,.store-search-sheet svg,.store-bottom-nav svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Top bar */
.store-topbar{background:var(--store-dark);color:#fff;font-size:10px}
.store-topbar-inner{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.store-topbar-message{display:flex;align-items:center;gap:7px;min-width:0}
.store-topbar-message svg{width:16px;height:16px;flex:0 0 auto}
.store-topbar-links{display:flex;align-items:center;gap:18px;white-space:nowrap}
.store-topbar-links a{color:rgba(255,255,255,.78);transition:.18s}
.store-topbar-links a:hover{color:#fff}

/* Header utama */
.store-header{position:sticky;top:0;z-index:120;background:rgba(255,253,251,.97);border-bottom:1px solid var(--store-line);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.store-header-main{height:78px;display:grid;grid-template-columns:minmax(210px,260px) minmax(300px,1fr) auto;align-items:center;gap:26px}
.store-brand{display:flex;align-items:center;gap:11px;min-width:0;color:var(--store-text);text-decoration:none}
.store-brand-mark{width:44px;height:44px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:var(--accent);color:#fff;font-family:'Playfair Display',Georgia,serif;font-size:22px;line-height:1}
.store-brand-copy{display:block;min-width:0}
.store-brand-copy strong{display:block;font-family:'Playfair Display',Georgia,serif;font-size:23px;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.store-brand-copy small{display:block;margin-top:3px;color:var(--store-muted);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.store-search{height:46px;display:grid;grid-template-columns:23px minmax(0,1fr) auto;align-items:center;gap:9px;padding-left:15px;border:1px solid #e4d8d2;border-radius:999px;background:#f6efeb;transition:.18s}
.store-search:focus-within{border-color:color-mix(in srgb,var(--accent) 60%,#fff);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 10%,transparent);background:#fff}
.store-search>svg{width:18px;height:18px;color:#91858a}
.store-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:var(--store-text);font:500 12px/1.2 inherit}
.store-search input::placeholder{color:#a99da1}
.store-search button{height:38px;min-width:72px;margin-right:4px;border:0;border-radius:999px;background:var(--accent);color:#fff;font-weight:800;font-size:11px;cursor:pointer;transition:.18s}
.store-search button:hover{filter:brightness(.93)}
.store-header-actions{display:flex;align-items:center;gap:5px}
.store-header-action{width:54px;min-height:52px;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;border:0;background:transparent;color:#4f4549;text-decoration:none;cursor:pointer;border-radius:12px;transition:.18s}
.store-header-action:hover{background:var(--store-soft);color:var(--accent)}
.store-header-action svg{width:21px;height:21px}
.store-header-action>span{font-size:8px;font-weight:700}
.store-header-action>b{position:absolute;top:3px;right:4px;min-width:18px;height:18px;padding:0 5px;display:grid;place-items:center;border-radius:999px;background:#d88498;color:#fff;font-size:9px;line-height:1}
.store-mobile-icon{display:none}

/* Bar kategori desktop */
.store-category-bar{border-top:1px solid rgba(234,223,217,.78);background:#fff}
.store-category-inner{height:45px;display:flex;align-items:center;gap:23px}
.store-category-menu{position:relative;flex:0 0 auto}
.store-category-menu>button{height:32px;display:flex;align-items:center;gap:8px;padding:0 14px;border:0;border-radius:999px;background:var(--accent);color:#fff;font-size:10px;font-weight:850;cursor:pointer}
.store-category-menu>button>svg{width:15px;height:15px}
.store-category-menu>button .store-chevron{width:13px;height:13px;margin-left:2px;transition:.2s}
.store-category-menu.open>button .store-chevron{transform:rotate(180deg)}
.store-category-dropdown{position:absolute;left:0;top:calc(100% + 8px);width:min(640px,calc(100vw - 30px));padding:17px;border:1px solid var(--store-line);border-radius:17px;background:#fff;box-shadow:var(--store-shadow);opacity:0;visibility:hidden;transform:translateY(-7px);transition:.18s;z-index:150}
.store-category-menu.open .store-category-dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.store-category-dropdown-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 2px 12px;border-bottom:1px solid #f0e8e4}
.store-category-dropdown-head strong{font-size:12px}
.store-category-dropdown-head a{font-size:10px;color:var(--accent);font-weight:800}
.store-category-dropdown-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:12px;max-height:350px;overflow:auto}
.store-category-dropdown-grid>a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;border-radius:10px;color:#594b50;font-size:10px;transition:.15s}
.store-category-dropdown-grid>a:hover,.store-category-dropdown-grid>a.active{background:var(--store-soft);color:var(--accent)}
.store-category-dropdown-grid small{color:#a7979c;font-size:8px;white-space:nowrap}
.store-quick-categories{min-width:0;display:flex;align-items:center;gap:24px;overflow:hidden}
.store-quick-categories a,.store-category-special a{height:45px;display:flex;align-items:center;white-space:nowrap;color:#54484d;font-size:10px;font-weight:700;position:relative}
.store-quick-categories a:after,.store-category-special a:after{content:'';position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:2px;background:var(--accent);transform:scaleX(0);transition:.18s}
.store-quick-categories a:hover,.store-quick-categories a.active,.store-category-special a:hover{color:var(--accent)}
.store-quick-categories a:hover:after,.store-quick-categories a.active:after,.store-category-special a:hover:after{transform:scaleX(1)}
.store-category-special{margin-left:auto;display:flex;align-items:center;gap:24px}
.store-category-special .store-flash-link{color:#cf3d44;font-weight:850}

/* Drawer dan search sheet */
.store-drawer-overlay{position:fixed;inset:0;z-index:210;background:rgba(31,24,27,.46);backdrop-filter:blur(2px)}
.store-mobile-drawer{position:fixed;left:0;top:0;bottom:0;z-index:220;width:min(88vw,350px);padding:18px;background:#fff;box-shadow:20px 0 55px rgba(37,25,30,.18);overflow-y:auto;transform:translateX(-105%);visibility:hidden;transition:transform .25s ease,visibility .25s}
.store-mobile-drawer.open{transform:translateX(0);visibility:visible}
.store-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:16px;border-bottom:1px solid var(--store-line)}
.store-drawer-head .store-brand-mark{width:40px;height:40px;font-size:20px}
.store-drawer-head .store-brand-copy strong{font-size:19px}
.store-drawer-head>button,.store-search-sheet-head>button{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--store-line);border-radius:50%;background:#fff;color:#5e5256;cursor:pointer}
.store-drawer-head>button svg,.store-search-sheet-head>button svg{width:18px;height:18px}
.store-drawer-primary{display:grid;gap:3px;padding:14px 0}
.store-drawer-primary a{padding:11px 12px;border-radius:10px;color:#4f4348;font-size:12px;font-weight:750}
.store-drawer-primary a:hover,.store-drawer-primary a.active{background:var(--store-soft);color:var(--accent)}
.store-drawer-category-title{display:flex;align-items:center;justify-content:space-between;padding:13px 2px 9px;border-top:1px solid var(--store-line)}
.store-drawer-category-title strong{font-size:12px}
.store-drawer-category-title a{color:var(--accent);font-size:9px;font-weight:800}
.store-drawer-categories{display:grid;gap:3px}
.store-drawer-categories a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:10px;color:#65575c;font-size:11px}
.store-drawer-categories a:hover{background:#faf4f1;color:var(--accent)}
.store-drawer-categories small{min-width:25px;height:20px;display:grid;place-items:center;border-radius:999px;background:#f4ece8;color:#927f85;font-size:8px}
.store-drawer-help{display:flex;align-items:center;justify-content:center;margin-top:16px;padding:12px;border-radius:12px;background:#eaf8ef;color:#217e48;font-size:10px;font-weight:850}
.store-search-sheet{position:fixed;inset:0;z-index:230;display:flex;align-items:flex-start;justify-content:center;padding:80px 16px;background:rgba(31,24,27,.52);backdrop-filter:blur(4px);opacity:0;visibility:hidden;transition:.2s}
.store-search-sheet.open{opacity:1;visibility:visible}
.store-search-sheet-card{width:min(620px,100%);padding:18px;border-radius:19px;background:#fff;box-shadow:var(--store-shadow);transform:translateY(-10px);transition:.2s}
.store-search-sheet.open .store-search-sheet-card{transform:translateY(0)}
.store-search-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.store-search-sheet-head strong{font-family:'Playfair Display',Georgia,serif;font-size:22px}
.store-search-sheet form{height:48px;display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:9px;padding-left:13px;border:1px solid #dfd2cc;border-radius:999px;background:#faf5f2}
.store-search-sheet form>svg{width:18px;height:18px;color:#8c7c81}
.store-search-sheet input{min-width:0;width:100%;border:0;outline:0;background:transparent;font-size:13px}
.store-search-sheet form button{height:40px;margin-right:3px;padding:0 18px;border:0;border-radius:999px;background:var(--accent);color:#fff;font-size:11px;font-weight:850;cursor:pointer}
.store-search-suggestions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:13px;color:#94848a;font-size:9px}
.store-search-suggestions a{padding:6px 9px;border-radius:999px;background:var(--store-soft);color:#66565c;font-weight:700}

/* Footer */
.store-service-strip{border-top:1px solid var(--store-line);border-bottom:1px solid var(--store-line);background:#fff}
.store-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
.store-service-grid>div{display:flex;align-items:center;justify-content:center;gap:11px;min-height:92px;padding:16px;border-right:1px solid var(--store-line)}
.store-service-grid>div:last-child{border-right:0}
.store-service-icon{width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;border-radius:12px;background:var(--store-soft);font-size:18px}
.store-service-grid p{margin:0}.store-service-grid strong,.store-service-grid small{display:block}.store-service-grid strong{font-size:11px;color:#362b30}.store-service-grid small{margin-top:3px;color:#938388;font-size:8px;line-height:1.35}
.store-footer-cta{padding:34px 0;background:#f4e8e3}
.store-footer-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}
.store-footer-cta span{color:#9a777f;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.8px}
.store-footer-cta h2{margin:5px 0 0;font-family:'Playfair Display',Georgia,serif;font-size:25px;line-height:1.2}
.store-footer-cta a{height:43px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:0 18px;border-radius:999px;background:var(--accent);color:#fff;font-size:10px;font-weight:850;white-space:nowrap}
.store-footer-cta a span{color:#fff;font-size:15px;letter-spacing:0}
.store-footer{padding:50px 0 25px;background:#2b2528;color:#fff}
.store-footer-grid{display:grid;grid-template-columns:1.55fr repeat(3,1fr);gap:50px}
.store-footer .store-brand{color:#fff}.store-footer .store-brand-mark{background:#d48a9a}.store-footer .store-brand-copy small{color:#a99da1}
.store-footer-brand p{max-width:380px;margin:17px 0 0;color:#bdb2b5;font-size:10px;line-height:1.7}
.store-footer-grid h3{margin:4px 0 15px;font-size:12px}.store-footer-grid>div:not(.store-footer-brand) a{display:block;margin:0 0 10px;color:#bfb5b8;font-size:10px;transition:.18s}.store-footer-grid>div:not(.store-footer-brand) a:hover{color:#fff;transform:translateX(2px)}
.store-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:36px;padding-top:20px;border-top:1px solid rgba(255,255,255,.09);color:#918589;font-size:9px}

/* Bottom nav baru — sengaja memakai class berbeda agar CSS lama tidak bentrok */
.store-bottom-nav{display:none}

@media(max-width:1080px){
  .store-header-main{grid-template-columns:minmax(190px,230px) minmax(250px,1fr) auto;gap:15px}
  .store-header-action{width:47px}.store-header-action>span{display:none}
  .store-quick-categories{gap:17px}.store-category-special{gap:17px}
}

@media(max-width:840px){
  .store-header-main{grid-template-columns:auto minmax(0,1fr) auto;height:68px}
  .store-mobile-icon{width:42px;height:42px;display:grid;place-items:center;border:0;border-radius:10px;background:transparent;color:#4e4448;cursor:pointer}
  .store-mobile-icon svg{width:23px;height:23px}
  .store-search{display:none}
  .store-brand-copy strong{font-size:20px}
  .store-header-actions{justify-content:flex-end}
  .store-header-action{width:42px;height:42px;min-height:42px}
  .store-header-action:nth-child(2){display:none}
  .store-header-action>span{display:none}
  .store-category-bar{display:none}
  .store-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .store-service-grid>div:nth-child(2){border-right:0}.store-service-grid>div:nth-child(-n+2){border-bottom:1px solid var(--store-line)}
  .store-footer-grid{grid-template-columns:1.4fr 1fr 1fr;gap:32px}.store-footer-grid>div:last-child{display:none}
}

@media(max-width:700px){
  :root{--store-bottom-nav-h:68px}
  body.store-shell-body{padding-bottom:calc(var(--store-bottom-nav-h) + env(safe-area-inset-bottom))!important;background:#fffaf8}
  .store-topbar-inner{min-height:30px;justify-content:center;text-align:center}
  .store-topbar-message{font-size:8.5px;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
  .store-topbar-message svg{width:14px;height:14px}.store-topbar-links{display:none}
  .store-header{top:0}
  .store-header-main{height:58px!important;grid-template-columns:38px minmax(0,1fr) auto;gap:7px!important}
  .store-mobile-icon{width:38px;height:38px}.store-mobile-icon svg{width:22px;height:22px}
  .store-brand{gap:8px}.store-brand-mark{width:34px!important;height:34px!important;flex-basis:34px;font-size:17px!important}
  .store-brand-copy strong{font-size:16px!important}.store-brand-copy small{display:none}
  .store-header-actions{gap:0}.store-header-action{width:38px;height:38px;min-height:38px;padding:0}
  .store-header-action svg{width:20px;height:20px}.store-header-action:nth-child(4){display:none}
  .store-header-action>b{top:-1px;right:-2px;min-width:16px;height:16px;font-size:8px}
  .store-service-grid>div{min-height:76px;justify-content:flex-start;padding:12px 10px}.store-service-icon{width:34px;height:34px;font-size:16px}.store-service-grid strong{font-size:10px}.store-service-grid small{font-size:7.5px}
  .store-footer-cta{padding:25px 0}.store-footer-cta-inner{align-items:flex-start;flex-direction:column;gap:15px}.store-footer-cta h2{font-size:21px}.store-footer-cta a{width:100%;height:42px}
  .store-footer{padding:36px 0 22px}.store-footer-grid{grid-template-columns:1fr 1fr;gap:28px 20px}.store-footer-brand{grid-column:1/-1}.store-footer-grid>div:last-child{display:block}.store-footer-brand p{font-size:9px}.store-footer-bottom{align-items:flex-start;flex-direction:column;gap:5px;margin-top:25px}
  .store-search-sheet{align-items:flex-start;padding:55px 12px}.store-search-sheet-card{padding:14px;border-radius:17px}.store-search-sheet-head strong{font-size:20px}.store-search-sheet form{height:46px}.store-search-sheet input{font-size:16px}
  .store-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:200;height:calc(var(--store-bottom-nav-h) + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:start;padding:6px 5px env(safe-area-inset-bottom);border-top:1px solid #eaded9;background:rgba(255,255,255,.98);box-shadow:0 -9px 30px rgba(62,42,47,.10);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
  .store-bottom-nav>a,.store-bottom-nav>button{min-width:0;height:56px;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;padding:2px;border:0;background:transparent;color:#8a8490;text-decoration:none;font:inherit;cursor:pointer}
  .store-bottom-nav svg{width:20px;height:20px;flex:0 0 auto}
  .store-bottom-nav span{display:block;max-width:100%;font-size:9px;line-height:1.1;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .store-bottom-nav>a.active{color:var(--accent)}
  .store-bottom-nav>a.active:before{content:'';position:absolute;top:-6px;left:50%;width:28px;height:3px;border-radius:0 0 3px 3px;background:var(--accent);transform:translateX(-50%)}
  .store-bottom-nav>b{display:none}
  .store-bottom-nav a>b{position:absolute;top:1px;left:calc(50% + 7px);min-width:16px;height:16px;padding:0 4px;display:grid;place-items:center;border-radius:999px;background:#d88498;color:#fff;font-size:8px;line-height:1}
  .store-bottom-search-icon{width:38px;height:38px;display:grid!important;place-items:center;margin-top:-14px;border-radius:50%;background:var(--accent);color:#fff;box-shadow:0 7px 17px color-mix(in srgb,var(--accent) 27%,transparent)}
  .store-bottom-search-icon svg{width:19px;height:19px}.store-bottom-search>span:last-child{margin-top:-1px}
}

@media(max-width:390px){
  .store-brand-copy strong{font-size:14px!important}.store-header-action{width:35px}.store-header-actions .store-search-trigger{display:none}
  .store-footer-grid{grid-template-columns:1fr}.store-footer-brand{grid-column:auto}.store-footer-grid>div:last-child{display:none}
  .store-bottom-nav span{font-size:8.5px}
}
