/* Storefront composition from the owner's app reference, using existing brand assets. */
.catalog-page{ --hero-grad:linear-gradient(145deg,#202e59 0%,#162247 60%,#223876 100%); }
.catalog-page .topbar{ display:none; }
.store-masthead{ background:var(--hero-grad); border-radius:0 0 34px 34px; overflow:clip; }
.catalog-page .site-header{ position:relative; background:transparent; border:0; backdrop-filter:none; box-shadow:none; }
.catalog-page .site-header .wrap{ position:relative; display:grid; grid-template-columns:1fr auto; height:auto; padding-top:28px; gap:12px; }
.catalog-page .brand{ flex-direction:row-reverse; justify-self:start; gap:10px; }
.catalog-page .brand .name{ color:white; font-size:44px; line-height:1.2; }
.catalog-page .brand .mark{ width:38px; height:38px; }
.catalog-page .header-spacer,.catalog-page .site-header .icon-btn{ display:none; }
.delivery-link{ grid-column:1; color:#e6e9f4; font-weight:800; font-size:13px; justify-self:start; }
.delivery-badge{ grid-column:2; grid-row:2; border:1px dashed #9ba4c2; border-radius:999px; padding:6px 10px; background:#ffffff16; color:white; font-weight:800; font-size:12px; }
.store-menu{ grid-column:2; grid-row:1; justify-self:end; position:relative; z-index:55; }
.store-menu summary{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; width:44px; height:44px; color:white; background:#ffffff20; border-radius:50%; cursor:pointer; list-style:none; }
.store-menu summary::-webkit-details-marker{ display:none; }
.store-menu summary span{ width:18px; height:2.5px; background:currentColor; border-radius:2px; }
.store-menu nav{ position:absolute; inset-inline-end:0; top:52px; width:210px; padding:8px; border-radius:18px; box-shadow:var(--shadow-3); background:white; }
.store-menu nav a{ display:block; padding:12px; font-weight:700; border-radius:10px; }
.store-menu nav a:hover{ background:var(--accent-soft); }
.catalog-page .searchbox{ grid-column:1 / -1; width:100%; max-width:none; height:58px; padding:0 18px; margin-top:6px; border:1px solid #cbd2e9; }
.catalog-page .searchbox input{ min-width:0; width:100%; font-size:17px; font-weight:800; }
.catalog-page .searchbox > svg{ width:23px; height:23px; }
.catalog-page .hero{ padding:0; }
.catalog-page .hero-card{ background:transparent; box-shadow:none; min-height:220px; border-radius:0; overflow:visible; }
.catalog-page .hero-content{ display:flex; flex-direction:column; align-items:flex-start; padding:30px 0 32px; width:57%; }
.catalog-page .hero-content .eyebrow,.catalog-page .hero-mark{ display:none; }
.catalog-page .hero-content p{ order:-1; color:var(--gold); font-weight:800; font-size:15px; margin:0 0 5px; }
.catalog-page .hero-content h1{ font-size:28px; line-height:1.25; margin:0 0 12px; }
.catalog-page .hero-cta{ height:40px; font-size:15px; padding:0 16px; box-shadow:none; color:#0c3442; }
.catalog-page .hero-fan{ display:block; width:120px; height:135px; inset-inline-end:8%; top:54%; }
.catalog-page .hero-fan:empty{ display:none; }
.catalog-page .hero-fan .fan-card{ width:76px; height:115px; margin-top:-58px; margin-inline-start:-38px; padding:7px; border-radius:20px; box-shadow:0 8px 20px #0002; }
.catalog-page .hero-fan .fan-card:nth-child(1){ transform:rotate(-8deg) translateX(27px); }
.catalog-page .hero-fan .fan-card:nth-child(3){ transform:rotate(8deg) translateX(-27px); }
.discovery-head{ display:flex; align-items:center; justify-content:space-between; gap:14px; padding-top:26px; }
.discovery-head h2{ font-family:var(--font-display); font-size:28px; line-height:1.2; margin:0 0 6px; font-weight:800; }
.discovery-head p{ color:var(--ink-3); font-size:14px; line-height:1.4; font-weight:800; margin:0; }
.discovery-action{ display:flex; align-items:center; justify-content:center; width:42px; height:42px; flex-shrink:0; border:0; border-radius:50%; color:var(--accent-deep); background:var(--accent-soft); }
.discovery-action[aria-pressed=true]{ color:white; background:var(--accent); }
.catalog-page #catsHead{ display:none !important; }
.catalog-page .cat-strip{ flex-wrap:nowrap; overflow-x:auto; padding:20px 0 10px; gap:12px; scrollbar-width:none; }
.catalog-page .cat-tile{ flex:0 0 70px; height:auto; padding:0; border:0; background:transparent; flex-direction:column; gap:7px; border-radius:0; }
.catalog-page .cat-tile .ico{ width:44px; height:44px; border-radius:15px; background:var(--bg-2); border:1px solid var(--stroke); color:var(--ink-2); }
.catalog-page .cat-tile .ic{ width:23px; height:23px; }
.catalog-page .cat-tile .lbl{ color:var(--ink-3); font-size:11px; white-space:normal; text-align:center; line-height:1.3; font-weight:800; }
.catalog-page .cat-tile.active .ico{ background:var(--app-grad); border:0; color:white; }
.catalog-page .cat-tile.active .lbl{ color:var(--ink); }
.catalog-page .cat-strip.expanded{ flex-wrap:wrap; }
.subcategories{ display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; }
.subcategories:empty{ display:none; }
.subcat{ flex-shrink:0; min-height:40px; border:1px solid var(--stroke); border-radius:999px; background:var(--card); color:var(--ink-2); padding:8px 14px; font-weight:800; margin-block:6px; }
.subcat[aria-pressed=true]{ background:var(--app-grad); color:white; border-color:transparent; }
.catalog-page .section-head h2{ font-size:21px; }
.catalog-page .section-head .sh-ico{ order:-1; width:28px; height:28px; background:#ea6a61; box-shadow:none; }
.catalog-page .favorite{ display:flex; align-items:center; justify-content:center; position:absolute; top:4px; inset-inline-end:4px; border:0; border-radius:50%; background:#ffffffed; color:var(--ink-2); width:40px; height:40px; z-index:3; }
.catalog-page .favorite[aria-pressed=true]{ color:#e95950; }
.catalog-page .card .flag{ max-width:calc(100% - 52px); overflow:hidden; }
.catalog-page .card .add{ width:34px; height:34px; bottom:6px; inset-inline-end:6px; border-radius:11px; }
.catalog-page .card .add::after{ content:""; position:absolute; inset:-5px; }
.catalog-page.catalog-filtered .hero{ display:none; }
.catalog-page.catalog-filtered .store-masthead{ border-radius:0 0 24px 24px; padding-bottom:16px; }
.catalog-page #cats,.catalog-page #products{ scroll-margin-top:20px !important; }
@media(min-width:769px){
  .catalog-page .site-header .wrap{ grid-template-columns:1fr 1fr auto; }
  .catalog-page .searchbox{ grid-column:2; grid-row:1 / 3; margin:0 20px; width:calc(100% - 40px); }
  .store-menu{ grid-column:3; }
  .delivery-badge{ grid-column:3; }
  .catalog-page .hero-content{ padding-block:42px; }
  .catalog-page .hero-content h1{ font-size:42px; }
  .catalog-page .hero-fan{ transform:translateY(-50%) scale(1.5); inset-inline-end:18%; }
  .catalog-page .cat-tile{ flex-basis:100px; }
  .catalog-page .cat-tile .ico{ width:56px; height:56px; }
  .catalog-page .cat-tile .lbl{ font-size:13px; }
}
@media(max-width:768px){
  .catalog-page .wrap{ padding-inline:22px; }
  .catalog-page .site-header .wrap{ display:grid; padding-top:24px; padding-bottom:0; gap:10px; min-height:0; }
  .catalog-page .brand .mark{ width:34px; height:34px; }
  .catalog-page .searchbox{ order:initial; margin-top:4px; height:58px; }
  .catalog-page .hero-card{ margin-inline:0; min-height:220px; }
  .catalog-page .hero-content{ padding:30px 0; }
  .catalog-page .hero-content h1{ font-size:25px; margin:0 0 10px; }
  .catalog-page .hero-content p{ font-size:14px; margin:0 0 6px; }
  .catalog-page .hero-cta{ font-size:14px; height:38px; padding-inline:14px; }
  .catalog-page .hero-card::before,.catalog-page .hero-card::after{ opacity:.5; }
  .catalog-page .grid{ gap:20px 12px; }
  .catalog-page .card .imglink{ padding:10px; }
  .catalog-page .card .title{ font-size:12.5px; }
  .catalog-page .card .price{ font-size:17px; }
}
@media(max-width:350px){
  .catalog-page .wrap{ padding-inline:16px; }
  .catalog-page .brand .name{ font-size:36px; }
  .delivery-badge{ font-size:10px; }
  .catalog-page .searchbox input{ font-size:14px; }
  .catalog-page .hero-content h1{ font-size:22px; }
  .catalog-page .hero-fan{ transform:translateY(-50%) scale(.8); inset-inline-end:2%; }
  .catalog-page .card .price{ font-size:14px; }
}
.catalog-page .cat-tile.active,.catalog-page .cat-tile:hover{ box-shadow:none; transform:none; background:transparent; }
.catalog-page .hero-card::before{ display:none; }
.favorites-note{ color:var(--ink-2); font-size:13px; margin-top:20px; }
/* The app uses large two-column shelves, then a denser three-column category grid. */
.compact-storebar{ display:none; }
@media(max-width:768px){
  .catalog-page:not(.catalog-filtered) .grid{ grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:22px; row-gap:24px; padding-top:24px; }
  .catalog-page .card{ gap:10px; }
  .catalog-page .card .imgwrap{ overflow:visible; background:transparent; }
  .catalog-page .card .imglink{ padding:8px; overflow:hidden; border-radius:18px; }
  .catalog-page .card .price{ margin-top:8px; font-weight:800; }
  .catalog-page .card .title{ font-size:13px; font-weight:800; line-height:1.35; min-height:36px; }
  .catalog-page .card .pack{ font-size:11.5px; font-weight:800; color:var(--ink-3); margin-top:0; }
  .catalog-page .card .add{ bottom:0; inset-inline-end:0; border-width:1.5px; background:white; }
  .catalog-page .card .favorite{ top:4px; inset-inline-end:4px; }
  .catalog-page:not(.catalog-filtered) .card .title{ font-size:14px; min-height:38px; }
  .catalog-page:not(.catalog-filtered) .section-head{ margin-top:26px; }
  .compact-storebar:not([hidden]){ display:block; position:fixed; inset:0 0 auto; z-index:70; background:var(--bg); box-shadow:0 5px 16px #16224a0a; }
  .compact-search{ display:flex; gap:10px; align-items:center; padding:12px 16px; background:#e8edfc; }
  .compact-search input{ width:100%; min-width:0; height:48px; border-radius:999px; border:1px solid var(--stroke-strong); padding:0 18px; font:800 16px var(--font-ar); color:var(--ink); background:white; }
  .compact-search a{ font-size:13px; font-weight:800; white-space:nowrap; }
  .compact-controls{ display:flex; align-items:center; gap:8px; padding:8px 16px; }
  .compact-controls select{ min-width:0; height:40px; border:1px solid var(--stroke); background:white; border-radius:14px; font:800 13px var(--font-ar); color:var(--ink); padding:0 8px; }
  #compactCategory{ flex:1; }
  #productSort{ width:86px; }
  #compactFavorites{ display:flex; align-items:center; justify-content:center; width:40px; height:40px; border:1px solid var(--stroke); border-radius:14px; color:var(--ink-2); background:white; flex-shrink:0; }
  #compactFavorites[aria-pressed=true]{ color:var(--accent); background:var(--accent-soft); }
  .catalog-page #products,.catalog-page #cats{ scroll-margin-top:140px !important; }
}
.store-menu-button{ grid-column:2; grid-row:1; justify-self:end; border:0; width:44px; height:44px; border-radius:50%; color:white; background:#ffffff20; font:800 11px var(--font-ar); cursor:pointer; }
.store-account{ position:fixed; margin:auto; padding:28px 22px; border:0; width:min(100%,440px); height:100dvh; max-height:100dvh; color:var(--ink); background:var(--bg); }
.store-account::backdrop{ background:#101c3d77; }
.account-heading{ display:flex; align-items:center; gap:12px; margin:8px 0 25px; }
.account-logo{ display:flex; align-items:center; justify-content:center; width:40px; height:40px; background:var(--app-grad); border-radius:12px; flex-shrink:0; }
.account-heading h2{ font:800 21px var(--font-display); line-height:1.3; margin:0; }
.account-heading p{ margin:0; color:var(--ink-3); font-weight:800; font-size:13px; }
.account-close{ margin-inline-start:auto; width:38px; height:38px; border:0; border-radius:50%; background:white; color:var(--ink-3); display:flex; align-items:center; justify-content:center; }
.account-row{ display:flex; align-items:center; gap:12px; width:100%; padding:12px 0; margin-bottom:6px; color:var(--ink); background:transparent; border:0; text-align:start; font-family:var(--font-ar); }
.account-icon{ width:40px; height:40px; border-radius:13px; display:flex; align-items:center; justify-content:center; color:white; flex-shrink:0; }
.account-icon.gold{ background:#f7bf59; }
.account-icon.blue{ background:#326bea; }
.account-icon.orange{ background:#ed7957; }
.account-icon.coral{ background:#e9665d; }
.account-copy{ flex:1; }
.account-copy b{ display:block; font-size:19px; font-weight:800; line-height:1.4; }
.account-copy small{ display:block; font-size:13px; font-weight:800; color:var(--ink-3); }
.account-row > .ic{ color:var(--ink-3); }
body:has(.store-account[open]){ overflow:hidden; }
@media(min-width:769px){ .store-menu-button{ grid-column:3; } }
.store-menu-button{ display:flex; align-items:center; justify-content:center; }
.store-account{ max-width:min(100vw,440px); }
@media(max-width:768px){ .catalog-page:not(.catalog-filtered) .grid .card:nth-child(n+3){ display:none; } }
