.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.category-tile {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 5px;
}
.category-tile:hover,
.category-tile.active { border-color: var(--accent); }
.category-tile.active { box-shadow: inset 0 0 0 1px var(--accent); }
.category-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  object-fit: cover;
  border-radius: 4px;
  background: #edf1f2;
}
.category-icon.fallback {
  display: grid;
  place-items: center;
  color: var(--accent);
}
.category-tile > span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.category-tile b,
.category-tile small {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.category-tile b { font-size: 14px; }
.category-tile small { font-size: 11px; color: var(--muted); }
.subcategory-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: auto;
  margin-bottom: 24px;
  padding-bottom: 4px;
}
.subcategory-bar > span { font-size: 13px; font-weight: 700; white-space: nowrap; }
.subcategory-bar a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 5px;
  white-space: nowrap;
  font-size: 13px;
}
.subcategory-bar a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.subcategory-bar img { width: 22px; height: 22px; object-fit: cover; border-radius: 3px; }
.detail-content { overflow-x: auto; }
.detail-content img { display: block; max-width: 100%; height: auto; margin: 14px auto; }
.detail-content table { width: 100%; border-collapse: collapse; }
.detail-content th,
.detail-content td { border: 1px solid var(--line); padding: 9px; }
.detail-content p:first-child { margin-top: 0; }
.detail-content p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .category-tile { padding: 8px; }
  .category-icon { width: 34px; height: 34px; flex-basis: 34px; }
  .detail-content { padding: 16px; }
}

/* Storefront home */
.shop-home-page { background:#f4f6f8; }
.shop-home-page main { min-height:70vh; }
.shop-home-page .store-header { background:#fff;border-bottom:1px solid #e8ebef; }
.shop-home-page .header-inner { min-height:72px;gap:28px; }
.shop-home-page .brand { flex:0 0 auto; }
.shop-home-page .header-inner nav { flex:1;justify-content:center;gap:4px; }
.shop-home-page .header-inner nav a { min-height:72px;display:flex;align-items:center;padding:0 16px;color:#3d4752;font-weight:600; }
.shop-home-page .header-inner nav a:first-child { color:#0b8ea1; }
.header-shop-search { width:240px;height:40px;display:flex;overflow:hidden;border:1px solid #dfe4e8;background:#f7f8f9;border-radius:6px; }
.header-shop-search input { min-width:0;flex:1;border:0;outline:0;background:transparent;padding:0 13px;color:#1f2a33; }
.header-shop-search button { width:44px;border:0;background:#162129;color:#fff;cursor:pointer; }
.mobile-shop-search,.mobile-quick-actions,.mobile-store-nav { display:none; }

.market-stage-band { padding:22px 0 18px;background:#fff; }
.market-stage { display:grid;grid-template-columns:220px minmax(0,1fr) 228px;gap:14px;align-items:stretch; }
.market-category-rail,.market-account-panel,.market-hero { min-height:390px;border:1px solid #e5e9ec;border-radius:8px;overflow:hidden; }
.market-category-rail { background:#fff; }
.rail-title { height:52px;display:flex;align-items:center;gap:9px;padding:0 16px;background:#162129;color:#fff; }
.rail-title span { margin-left:auto;color:#b9c4ca;font-size:12px; }
.market-category-rail > a:not(.rail-all) { height:45px;display:grid;grid-template-columns:30px minmax(0,1fr) 12px;align-items:center;gap:9px;padding:0 13px;border-bottom:1px solid #eef1f3;color:#28343d; }
.market-category-rail > a:hover { background:#f4f8f8;color:#0b8ea1; }
.market-category-rail > a > span:nth-child(2) { min-width:0;display:flex;align-items:center;gap:7px; }
.market-category-rail > a b { flex:0 0 auto;font-size:13px; }
.market-category-rail > a small { min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#98a2aa;font-size:10px; }
.rail-icon { width:27px;height:27px;display:grid;place-items:center;overflow:hidden;border-radius:6px;color:#fff;background:#16a085; }
.rail-icon img { width:100%;height:100%;object-fit:cover; }
.rail-icon.tone-1 { background:#ff7a66; }.rail-icon.tone-2 { background:#f3b43f; }.rail-icon.tone-3 { background:#5a8dee; }
.rail-all { height:40px;display:flex;align-items:center;justify-content:center;gap:8px;color:#0b8ea1;font-size:12px;font-weight:600; }

.market-hero { position:relative;background:#eaf7f6;isolation:isolate; }
.market-hero:before { content:"";position:absolute;inset:0 0 0 58%;background:#dff1ef;z-index:-1; }
.hero-copy { position:absolute;left:42px;top:46px;z-index:3;max-width:380px; }
.hero-copy > span { display:inline-block;margin-bottom:12px;color:#0b8ea1;font-size:13px;font-weight:700; }
.hero-copy h1 { margin:0;color:#14212a;font-size:40px;line-height:1.15;letter-spacing:0; }
.hero-copy p { margin:17px 0 23px;color:#64717b;font-size:14px; }
.hero-copy > div { display:flex;gap:10px; }
.hero-copy a { min-width:106px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:5px;font-size:13px;font-weight:700; }
.hero-primary { background:#142129;color:#fff; }.hero-secondary { border:1px solid #9fb8b7;background:#fff;color:#24323b; }
.hero-products { position:absolute;right:20px;top:35px;width:45%;height:270px; }
.hero-product { position:absolute;width:132px;margin:0;padding:8px;background:#fff;border:1px solid #dbe7e6;border-radius:8px;box-shadow:0 13px 28px rgba(24,68,70,.14); }
.hero-product img { width:100%;aspect-ratio:1/1;display:block;object-fit:contain;background:#f7f8f8; }
.hero-product figcaption { padding:7px 2px 1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#43515a;font-size:10px;text-align:center; }
.hero-product-1 { right:16px;top:4px;transform:rotate(4deg); }.hero-product-2 { right:118px;top:78px;transform:rotate(-5deg); }.hero-product-3 { right:5px;top:157px;transform:rotate(2deg); }
.hero-points { position:absolute;left:38px;right:38px;bottom:24px;z-index:3;display:flex;gap:26px;padding-top:16px;border-top:1px solid #cfe0df;color:#607078;font-size:12px; }
.hero-points i { margin-right:5px;color:#0b8ea1; }

.market-account-panel { display:flex;flex-direction:column;background:#fff; }
.account-identity { min-height:145px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border-bottom:1px solid #edf0f2; }
.account-identity > span { width:52px;height:52px;display:grid;place-items:center;margin-bottom:4px;border-radius:50%;background:#e9f7f1;color:#159f73;font-size:22px; }
.account-identity b { font-size:15px; }.account-identity small { color:#8a959e;font-size:11px; }
.account-actions { display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:14px; }
.account-actions a { height:36px;display:flex;align-items:center;justify-content:center;border:1px solid #dfe5e8;border-radius:5px;color:#34424b;font-size:12px;font-weight:600; }
.account-actions a:first-child { border-color:#152129;background:#152129;color:#fff; }
.service-promises { flex:1;display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #edf0f2; }
.service-promises span { min-height:76px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border-right:1px solid #edf0f2;border-bottom:1px solid #edf0f2;color:#57656e; }
.service-promises span:nth-child(2n) { border-right:0; }
.service-promises i { color:#0b8ea1;font-size:19px; }.service-promises b { font-size:11px; }

.market-notice { background:#fff;padding:0 0 18px; }
.market-notice .store-shell { min-height:48px;display:flex;align-items:center;border:1px solid #e5e9ec;border-radius:8px;background:#fff; }
.market-notice b { height:46px;display:flex;align-items:center;gap:8px;padding:0 18px;border-right:1px solid #e5e9ec;color:#162129;font-size:13px; }
.market-notice b i { color:#ff6f61; }.market-notice span { min-width:0;flex:1;padding:0 18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#59666f;font-size:12px; }
.market-notice a { padding:0 18px;color:#0b8ea1;font-size:12px; }

.market-featured { padding:24px 0;background:#f4f6f8; }
.market-section-head { display:flex;align-items:end;justify-content:space-between;margin-bottom:14px; }
.market-section-head > div span,.group-heading small { color:#0b8ea1;font-size:10px;font-weight:700; }
.market-section-head h2 { margin:3px 0 0;font-size:23px;letter-spacing:0; }.market-section-head > a { color:#727e86;font-size:12px; }
.featured-scroll { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px; }
.featured-product { min-width:0;height:130px;display:grid;grid-template-columns:118px minmax(0,1fr);overflow:hidden;border:1px solid #e3e7ea;border-radius:8px;background:#fff; }
.featured-product > img { width:118px;height:128px;object-fit:contain;background:#f8f9fa; }
.featured-product > span { min-width:0;display:flex;flex-direction:column;justify-content:center;padding:12px; }
.featured-product small { color:#8c979f;font-size:10px; }.featured-product b { margin:7px 0 12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#25313a;font-size:13px; }.featured-product strong { color:#ef4f5f;font-size:16px; }

.market-groups { padding:0 0 34px;background:#f4f6f8; }
.market-groups > .store-shell { display:flex;flex-direction:column;gap:18px; }
.market-group { overflow:hidden;border:1px solid #e2e7e9;border-radius:8px;background:#fff; }
.group-heading { min-height:68px;display:flex;align-items:center;gap:20px;padding:10px 18px;border-bottom:1px solid #e9edef; }
.group-heading > div:first-child { display:flex;align-items:center;gap:11px; }
.group-heading h2 { margin:2px 0 0;font-size:19px; }
.group-symbol { width:40px;height:40px;display:grid;place-items:center;overflow:hidden;border-radius:7px;background:#e9f6f5;color:#0b8ea1;font-size:18px; }
.group-symbol img { width:100%;height:100%;object-fit:cover; }.group-tone-1 .group-symbol { background:#fff0ed;color:#f06b58; }.group-tone-2 .group-symbol { background:#fff6da;color:#d79c13; }.group-tone-3 .group-symbol { background:#eef1ff;color:#6477d7; }
.group-subnav { flex:1;display:flex;justify-content:flex-end;gap:18px; }.group-subnav a { color:#7b868e;font-size:12px; }.group-more { padding-left:18px;border-left:1px solid #e4e8ea;color:#0b8ea1;font-size:12px; }
.group-products { display:grid;grid-template-columns:repeat(4,minmax(0,1fr)); }
.market-product-card { min-width:0;display:grid;grid-template-columns:43% 57%;padding:15px;border-right:1px solid #e9edef;border-bottom:1px solid #e9edef;background:#fff; }
.market-product-card:nth-child(4n) { border-right:0; }
.market-product-card:nth-last-child(-n+4) { border-bottom:0; }
.market-product-cover { position:relative;min-width:0; }
.market-product-cover img { width:100%;aspect-ratio:1/1;display:block;object-fit:contain;background:#f7f8f9;border-radius:6px; }
.market-product-cover > span { position:absolute;left:5px;top:5px;padding:3px 5px;border-radius:3px;background:rgba(21,33,41,.82);color:#fff;font-size:9px; }
.market-product-info { min-width:0;display:flex;flex-direction:column;padding:4px 0 2px 13px; }
.market-product-info > small { color:#0b8ea1;font-size:10px; }.market-product-info h3 { margin:7px 0 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px; }.market-product-info p { min-height:32px;margin:0;color:#929ca3;font-size:10px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.market-product-info > div { display:flex;align-items:end;justify-content:space-between;margin-top:auto;gap:5px; }.market-product-info strong { color:#ef4f5f;font-size:16px; }.market-product-info strong small { font-size:10px; }.market-product-info > div > span { color:#78848c;font-size:10px; }
.catalog-results { padding-top:28px; }.results-search { max-width:680px;height:48px;display:flex;align-items:center;margin:0 auto 22px;border:1px solid #dce2e5;border-radius:7px;background:#fff; }.results-search > i { margin-left:16px;color:#97a1a8; }.results-search input { min-width:0;flex:1;border:0;outline:0;padding:0 12px; }.results-search button { align-self:stretch;width:88px;border:0;background:#162129;color:#fff;border-radius:0 6px 6px 0; }

@media (max-width: 1180px) {
  .market-stage { grid-template-columns:210px minmax(0,1fr); }.market-account-panel { display:none; }
  .header-shop-search { width:200px; }.shop-home-page .header-inner nav a { padding:0 10px; }
  .featured-scroll,.group-products { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .featured-product:nth-child(n+7) { display:none; }.market-product-card:nth-child(4n) { border-right:1px solid #e9edef; }.market-product-card:nth-child(3n) { border-right:0; }
}
@media (max-width: 900px) {
  .shop-home-page { padding-bottom:64px; }.shop-home-page .store-header { position:relative; }
  .shop-home-page .header-inner { min-height:60px;justify-content:center; }.shop-home-page .header-inner nav,.header-shop-search { display:none; }.shop-home-page .brand { font-size:17px; }
  .mobile-shop-search { display:block;padding:12px 14px 10px;background:#fff; }.mobile-shop-search form { height:44px;display:flex;align-items:center;border:1px solid #dfe5e8;border-radius:7px;background:#f5f7f8; }.mobile-shop-search i { margin-left:14px;color:#8d979f; }.mobile-shop-search input { min-width:0;flex:1;border:0;outline:0;background:transparent;padding:0 10px; }.mobile-shop-search button { align-self:stretch;width:64px;border:0;background:#172129;color:#fff;border-radius:0 6px 6px 0; }
  .market-stage-band { padding:0 14px 12px; }.market-stage { display:block; }.market-category-rail,.market-account-panel { display:none; }.market-hero { min-height:295px;border:0; }
  .hero-copy { left:24px;top:28px;max-width:56%; }.hero-copy > span { margin-bottom:8px;font-size:11px; }.hero-copy h1 { font-size:30px; }.hero-copy p { margin:12px 0 17px;font-size:11px;line-height:1.6; }.hero-copy a { min-width:82px;height:34px;font-size:11px; }
  .hero-products { right:8px;top:28px;width:43%;height:210px; }.hero-product { width:92px;padding:5px; }.hero-product-1 { right:5px; }.hero-product-2 { right:67px;top:64px; }.hero-product-3 { right:2px;top:125px; }.hero-product figcaption { display:none; }
  .hero-points { left:22px;right:22px;bottom:15px;gap:12px;padding-top:12px;font-size:10px; }
  .mobile-quick-actions { display:block;padding:0 14px 12px;background:#fff; }.mobile-quick-actions .store-shell { display:grid;grid-template-columns:repeat(5,1fr);padding:13px 0;border:1px solid #e6eaed;border-radius:8px; }.mobile-quick-actions a { display:flex;flex-direction:column;align-items:center;gap:7px;color:#4c5962;font-size:10px; }.mobile-quick-actions i { width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#e9f6f5;color:#0b8ea1;font-size:15px; }.mobile-quick-actions a:nth-child(2) i { background:#fff0ed;color:#f06b58; }.mobile-quick-actions a:nth-child(3) i { background:#fff6dc;color:#d59b13; }.mobile-quick-actions a:nth-child(4) i { background:#edf0ff;color:#6277da; }.mobile-quick-actions a:nth-child(5) i { background:#edf8ef;color:#32a866; }
  .market-notice { padding:0 14px 12px; }.market-notice .store-shell { padding:0; }.market-notice b { padding:0 12px; }.market-notice b i { display:none; }.market-notice span { padding:0 11px; }.market-notice a { width:28px;padding:0;font-size:0; }.market-notice a i { font-size:14px; }
  .market-featured { padding:18px 14px; }.market-featured .store-shell,.market-groups > .store-shell { padding:0; }.market-section-head h2 { font-size:20px; }
  .featured-scroll { display:flex;gap:10px;overflow-x:auto;padding-bottom:5px;scrollbar-width:none; }.featured-scroll::-webkit-scrollbar { display:none; }.featured-product { flex:0 0 210px;height:102px;grid-template-columns:92px minmax(0,1fr); }.featured-product > img { width:92px;height:100px; }.featured-product:nth-child(n) { display:grid; }.featured-product > span { padding:9px; }.featured-product b { margin:5px 0 8px; }
  .market-groups { padding:0 14px 18px; }.market-groups > .store-shell { gap:14px; }.group-heading { min-height:58px;padding:8px 12px; }.group-symbol { width:36px;height:36px; }.group-heading h2 { font-size:16px; }.group-subnav { display:none; }.group-more { margin-left:auto;padding-left:12px; }
  .group-products { display:flex;overflow-x:auto;scrollbar-width:none; }.group-products::-webkit-scrollbar { display:none; }.market-product-card { flex:0 0 172px;display:block;padding:10px;border-right:1px solid #e9edef!important;border-bottom:0; }.market-product-cover img { aspect-ratio:1/1; }.market-product-info { padding:9px 1px 1px; }.market-product-info p { display:none; }.market-product-info > div { margin-top:10px; }.market-product-info > div > span { display:none; }
  .mobile-store-nav { position:fixed;left:0;right:0;bottom:0;z-index:50;height:62px;display:grid;grid-template-columns:repeat(5,1fr);padding-bottom:env(safe-area-inset-bottom);border-top:1px solid #dfe4e7;background:#fff;box-shadow:0 -4px 16px rgba(22,34,42,.07); }.mobile-store-nav a { position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#737f87;font-size:10px; }.mobile-store-nav i { font-size:18px; }.mobile-store-nav .active { color:#0b8ea1; }.mobile-store-nav b { position:absolute;top:5px;left:54%;min-width:15px;height:15px;padding:0 4px;border-radius:8px;background:#ef4f5f;color:#fff;font-size:9px;line-height:15px; }
  .shop-home-page .service-strip,.shop-home-page .store-footer,.shop-home-page .quick-rail { display:none; }
  .catalog-results { padding:18px 14px; }.catalog-results .store-shell { padding:0; }.results-search { margin-bottom:14px; }.catalog-results .subcategory-bar { overflow-x:auto;flex-wrap:nowrap; }.catalog-results .subcategory-bar a { flex:0 0 auto; }
}
@media (max-width: 420px) {
  .hero-copy { max-width:58%; }.hero-copy h1 { font-size:27px; }.hero-copy p { max-width:180px; }.hero-copy .hero-secondary { display:none; }
  .hero-products { right:2px;width:42%; }.hero-product { width:82px; }.hero-product-2 { right:55px; }.hero-points { gap:8px;justify-content:space-between; }.hero-points span { white-space:nowrap; }
  .market-notice b { font-size:11px; }.market-notice span { font-size:11px; }.featured-product { flex-basis:190px; }
}

/* Cashier-aligned storefront skin. */
.store-header{box-shadow:0 1px 0 rgba(23,32,51,.03)}
.brand-mark{width:36px;height:36px;background:#eefafb;border:1px solid #cfe8ed;border-radius:7px;overflow:hidden}
.brand-mark img{width:30px;height:30px;object-fit:contain}
.store-intro{background:var(--accent);padding:46px 0}
.intro-layout{align-items:center!important}
.store-intro-brand{display:flex;align-items:center;gap:20px;min-width:0}
.store-intro-brand>img{width:72px;height:72px;flex:0 0 72px;object-fit:contain;background:#fff;border:1px solid rgba(255,255,255,.7);border-radius:8px;padding:8px}
.store-intro-brand>div{min-width:0}
.store-intro .eyebrow{color:#dff6fc}
.store-intro p{color:#e8f8fc}
.hero-search{border-color:#b9e0eb;border-radius:7px}
.hot-search{color:#eefbfe}.hot-search span{color:#c6eff8}
.shopper-avatar{border-radius:7px;background:#e8f8fc;color:var(--accent)}
.category-tile.active{background:#f0fbfd}
.product-card:hover{border-color:#9dd6e5}

@media (max-width:620px){
  .store-intro-brand{gap:13px}
  .store-intro-brand>img{width:56px;height:56px;flex-basis:56px}
}

.intro-layout { display:grid!important;grid-template-columns:minmax(0,1fr) minmax(320px,440px);gap:42px;align-items:end!important; }
.hero-search { height:50px;display:grid;grid-template-columns:42px 1fr auto;align-items:center;background:#fff;border:1px solid #78998d;border-radius:5px;overflow:hidden;color:var(--ink); }
.hero-search > i { text-align:center;color:var(--muted); }
.hero-search input { height:48px;min-width:0;border:0;outline:0;padding:0 6px; }
.hero-search button { height:48px;border:0;background:var(--accent);color:#fff;padding:0 22px;font-weight:700;cursor:pointer; }
.hero-search-area { min-width:0; }
.hot-search { display:flex;align-items:center;gap:12px;margin-top:11px;color:#cfe0da;font-size:12px;overflow:hidden; }
.hot-search span { color:#9fd0bd;white-space:nowrap; }
.hot-search a { white-space:nowrap; }
.hot-search a:hover { color:#fff; }
.store-utility { background:#fff;border-bottom:1px solid var(--line); }
.utility-grid { min-height:88px;display:grid;grid-template-columns:minmax(260px,1.4fr) repeat(3,minmax(150px,1fr));align-items:stretch; }
.utility-grid > a,.shopper-summary { display:flex;align-items:center;gap:13px;padding:17px 22px;border-right:1px solid var(--line); }
.shopper-summary { padding-left:0; }
.utility-grid > a:last-child { border-right:0;padding-right:0; }
.utility-grid > a > i { width:34px;font-size:22px;color:var(--accent);text-align:center; }
.utility-grid span { display:flex;min-width:0;flex-direction:column;gap:4px; }
.utility-grid small { font-size:12px;color:var(--muted); }
.shopper-avatar { width:42px;height:42px;flex:0 0 42px;display:grid!important;place-items:center;border-radius:50%;background:#e8f5ef;color:var(--accent); }
.catalog-heading,.product-heading { display:flex;align-items:end;justify-content:space-between; }
.catalog-heading { margin-bottom:15px; }
.catalog-heading h2,.product-heading h2 { font-size:24px;margin:4px 0 0; }
.catalog-heading > span,.product-heading > div:last-child > span { font-size:13px;color:var(--muted); }
.product-heading { margin:34px 0 16px;padding-top:25px;border-top:1px solid var(--line); }
.product-heading > div:last-child { display:flex;align-items:center;gap:14px; }
.product-heading a { font-size:13px;color:var(--accent); }
.product-media { position:relative; }
.product-media > span { position:absolute;left:10px;bottom:10px;padding:5px 8px;background:rgba(23,32,42,.86);color:#fff;border-radius:3px;font-size:11px; }
.lookup-tabs { display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-bottom:0;background:#fff; }
.lookup-tabs button { height:52px;border:0;border-right:1px solid var(--line);background:#fff;color:var(--muted);font-weight:700;cursor:pointer; }
.lookup-tabs button:last-child { border-right:0; }
.lookup-tabs button.active { background:var(--ink);color:#fff; }
.lookup-tabs i { margin-right:7px; }
.lookup-panel { display:none; }
.lookup-panel.active { display:block; }
.query-scope { font-size:13px;color:var(--muted);margin:2px 0 18px; }
.query-scope i { color:var(--accent);margin-right:5px; }
.guest-order-list { margin-top:18px;background:#fff;border:1px solid var(--line);padding:22px; }
.guest-order-list .section-title { margin-bottom:8px; }
.guest-order-list > a { display:flex;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--line); }
.guest-order-list > a:last-child { border-bottom:0; }
.guest-order-list > a > span,.guest-order-list > a > strong { display:flex;flex-direction:column;gap:5px; }
.guest-order-list small,.guest-order-list em { font-size:12px;color:var(--muted);font-style:normal; }
.guest-order-list strong { text-align:right; }
.guest-account-head { display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:22px; }
.guest-account-head h1 { font-size:30px;margin:5px 0; }
.guest-account-head p { color:var(--muted);margin-bottom:0; }
.guest-account-head > div:last-child { display:flex;background:#fff;border:1px solid var(--line); }
.guest-account-head a { min-width:170px;display:grid;grid-template-columns:30px 1fr;column-gap:8px;padding:15px;border-right:1px solid var(--line); }
.guest-account-head a:last-child { border-right:0; }
.guest-account-head a > i { grid-row:1/3;color:var(--accent);font-size:20px; }
.guest-account-head a small { color:var(--muted);font-size:11px;margin-top:3px; }
.account-stats { display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--line);margin-bottom:22px; }
.account-stats > span { display:flex;flex-direction:column;align-items:center;gap:5px;padding:18px;border-right:1px solid var(--line); }
.account-stats > span:last-child { border-right:0; }
.account-stats b { font-size:24px; }
.account-stats small { color:var(--muted); }
.service-strip { background:#fff;border-top:1px solid var(--line); }
.service-strip .store-shell { display:grid;grid-template-columns:repeat(4,1fr); }
.service-strip .store-shell > div { min-height:92px;display:flex;align-items:center;gap:14px;padding:18px 24px;border-right:1px solid var(--line); }
.service-strip .store-shell > div:first-child { padding-left:0; }
.service-strip .store-shell > div:last-child { border-right:0;padding-right:0; }
.service-strip i { width:38px;font-size:25px;text-align:center;color:var(--accent); }
.service-strip span { display:flex;flex-direction:column;gap:5px; }
.service-strip small { color:var(--muted);font-size:12px; }
.quick-rail { position:fixed;right:18px;top:50%;z-index:24;transform:translateY(-35%);display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);box-shadow:0 5px 18px rgba(23,32,42,.1); }
.quick-rail a,.quick-rail button { width:54px;height:58px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:0;border-bottom:1px solid var(--line);background:#fff;color:var(--muted);cursor:pointer; }
.quick-rail > :last-child { border-bottom:0; }
.quick-rail i { font-size:17px;color:var(--ink); }
.quick-rail span { font-size:10px; }
.quick-rail a:hover,.quick-rail button:hover { color:var(--accent); }
.quick-rail a:hover i,.quick-rail button:hover i { color:var(--accent); }
.quick-rail b { position:absolute;right:3px;top:3px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--warm);color:#fff;font-size:10px;line-height:16px; }
.store-footer { padding:0;background:#17202a;color:#aeb9c2;border-top:0; }
.store-footer .footer-main { display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:36px;padding-top:38px;padding-bottom:32px; }
.footer-brand { min-width:250px; }
.footer-brand > b { color:#fff;font-size:19px; }
.footer-brand p { color:#d8dfe4;font-size:14px;line-height:1.6;margin:10px 0 6px; }
.footer-brand small { color:#85939e;font-size:12px;line-height:1.6; }
.footer-column { display:flex;flex-direction:column;align-items:flex-start;gap:9px;font-size:13px;line-height:1.6; }
.footer-column > b { color:#fff;margin-bottom:3px; }
.footer-column a:hover { color:#fff; }
.store-footer .footer-legal { min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:12px;padding-bottom:12px;border-top:1px solid #303b44;font-size:12px; }
.footer-legal > div { display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:16px; }
.footer-legal a:hover { color:#fff; }

@media (max-width: 900px) {
  .intro-layout { grid-template-columns:1fr;gap:24px; }
  .utility-grid { grid-template-columns:repeat(3,1fr); }
  .shopper-summary { grid-column:1/-1;border-right:0;border-bottom:1px solid var(--line);padding-left:18px; }
  .utility-grid > a { padding:15px 18px; }
  .quick-rail { display:none; }
  .service-strip .store-shell { grid-template-columns:repeat(2,1fr); }
  .service-strip .store-shell > div:nth-child(2) { border-right:0; }
  .service-strip .store-shell > div:nth-child(n+3) { border-top:1px solid var(--line); }
  .store-footer .footer-main { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .hero-search { width:100%; }
  .utility-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .utility-grid > a { padding:13px 8px;justify-content:center;text-align:center;border-right:1px solid var(--line); }
  .utility-grid > a > i { display:none; }
  .catalog-heading h2,.product-heading h2 { font-size:20px; }
  .product-heading { align-items:start; }
  .product-heading > div:last-child { align-items:end;flex-direction:column;gap:5px; }
  .guest-account-head { align-items:stretch;flex-direction:column; }
  .guest-account-head > div:last-child { display:grid;grid-template-columns:1fr 1fr; }
  .guest-account-head a { min-width:0; }
  .account-stats > span { padding:13px 4px; }
  .account-stats b { font-size:20px; }
  .account-stats small { font-size:11px; }
  .hot-search { gap:9px; }
  .hot-search a:nth-of-type(n+4) { display:none; }
  .service-strip .store-shell > div { min-height:76px;padding:13px 8px; }
  .service-strip .store-shell > div:first-child { padding-left:8px; }
  .service-strip .store-shell > div:last-child { padding-right:8px; }
  .service-strip i { width:28px;font-size:20px; }
  .service-strip b { font-size:13px; }
  .service-strip small { font-size:10px; }
  .store-footer .footer-main { grid-template-columns:1fr;gap:24px;padding-top:30px;padding-bottom:26px; }
  .footer-brand { min-width:0; }
  .store-footer .footer-legal { align-items:flex-start;flex-direction:column;gap:8px; }
  .footer-legal > div { justify-content:flex-start;gap:8px 14px; }
}
