/* LINKIT V12 — square brand tiles, own category and live product detail pages */
#categoryGrid.tilegrid{grid-template-columns:repeat(6,minmax(0,1fr));gap:19px}
#categoryGrid .tile{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;aspect-ratio:1/1;height:auto;min-height:0;padding:16px 12px 12px;overflow:hidden;color:#f4f4f5;background:radial-gradient(circle at 50% 38%,#29222a 0%,#13141c 48%,#090b11 100%);border:1px solid #474552;border-radius:18px;box-shadow:0 14px 27px #0006,inset 0 -2px 0 #f77b2336;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;cursor:pointer;isolation:isolate}
#categoryGrid .tile::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 50% 40%,#ff883f18,transparent 69%);opacity:.35;z-index:-1;transition:opacity .2s ease}
#categoryGrid .tile::after{content:'';position:absolute;bottom:0;left:12%;right:12%;height:4px;background:linear-gradient(90deg,transparent,#ff762b,transparent);border-radius:50%;box-shadow:0 0 16px #ff671c99}
#categoryGrid .tile:nth-child(4n + 2)::after{background:linear-gradient(90deg,transparent,#ff3e68,transparent);box-shadow:0 0 16px #ff3e6888}
#categoryGrid .tile:nth-child(4n + 3)::after{background:linear-gradient(90deg,transparent,#32b9ed,transparent);box-shadow:0 0 16px #2bb6fd77}
#categoryGrid .tile:nth-child(4n + 4)::after{background:linear-gradient(90deg,transparent,#b15cff,transparent);box-shadow:0 0 16px #9d42e888}
#categoryGrid .tile img{width:100%;height:73%;object-fit:contain;object-position:center;filter:drop-shadow(0 8px 10px #000b);transition:transform .22s ease,filter .22s ease}
#categoryGrid .tile-caption{font-weight:800;font-size:13px;text-align:center;letter-spacing:.2px;color:#f8e8df;line-height:1.25;margin-top:9px}
#categoryGrid .tile:hover,#categoryGrid .tile:focus-visible{transform:translateY(-7px) scale(1.025);border-color:#ff9240;box-shadow:0 0 0 1px #ff70295c,0 0 24px #ff571a83,0 20px 40px #000c}
#categoryGrid .tile:hover::before{opacity:1}
#categoryGrid .tile:hover img{transform:scale(1.075);filter:drop-shadow(0 0 16px #ffb66b55)}
#categoryGrid .tile.all{display:flex;gap:15px;border-style:dashed;background:radial-gradient(circle,#272024,#0b0c11 70%);font-weight:800;padding:25px;text-align:center}
#categoryGrid .tile.all b{font-size:50px;color:#ffae61}
#categoryGrid .tile.all span{font-size:14px;max-width:120px}
.linked-product{transition:transform .2s,border-color .2s,box-shadow .2s}.linked-product:hover{transform:translateY(-4px);border-color:#ff802d;box-shadow:0 9px 24px #ff5c192a}
.product-view-link:hover{color:#ffb37e;text-decoration:underline}.details-small-link{display:inline-block;border:1px solid #e77937;border-radius:6px;color:#ffb37b;padding:7px 10px;white-space:nowrap}.details-small-link:hover{background:#673019;color:#fff}
body[data-page="category"] #store-view main > :not(#linkit-category-view),body[data-page="product"] #store-view main > :not(#linkit-product-view){display:none!important}
body[data-page="category"] #linkit-category-view,body[data-page="product"] #linkit-product-view{display:block!important}
.catalogue-subpage{padding:18px 3% 70px;min-height:65vh}
.shop-breadcrumb{display:flex;gap:12px;flex-wrap:wrap;align-items:center;font-size:13px;color:#b9b4b9;margin:10px 0 24px}.shop-breadcrumb a{color:#ff9a5c}.shop-breadcrumb a:hover{text-decoration:underline}
.category-subhero{border-radius:18px;padding:40px;min-height:192px;border:1px solid #633322;background:radial-gradient(ellipse at 80% 30%,#712e2255,transparent 60%),linear-gradient(135deg,#151015,#0b0b11);box-shadow:inset 0 -2px 0 #ff7b294a}
.kicker{display:inline-block;color:#ff9f60;font-size:11px;font-weight:800;letter-spacing:1.5px}
.category-subhero h1{font-size:clamp(29px,4vw,52px);margin:14px 0 12px;line-height:1.07}.category-subhero p{color:#c6c0c5;max-width:700px;line-height:1.6;margin:0}
.category-filterbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:28px 0 20px;color:#d4d0d2;font-size:13px}.category-filterbar select{background:#181820;border:1px solid #5e4a3f;color:#fff;padding:10px;border-radius:9px;margin-left:10px}
.category-products.products{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.category-products .pic{height:230px}.category-products .product-name{font-size:15px;line-height:1.4}.category-products .product-meta b{font-size:21px}
.category-empty{width:100%;grid-column:1/-1;border:1px solid #4b342b;border-radius:14px;background:#141116;padding:35px;color:#e4d4c8;line-height:1.7}
.product-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:32px;align-items:start;margin-top:20px}
.detail-photo-frame{border:1px solid #51433a;border-radius:19px;background:radial-gradient(circle at 50% 40%,#302327,#111217 69%);min-height:480px;padding:32px;display:flex;align-items:center;justify-content:center;box-shadow:0 15px 50px #0007}
.detail-photo-frame img{display:block;width:100%;max-height:550px;object-fit:contain;filter:drop-shadow(0 12px 16px #0009)}
.detail-info{background:linear-gradient(140deg,#161217,#0b0c12);border:1px solid #563529;border-radius:19px;padding:35px}
.detail-info h1{font-size:clamp(28px,3.3vw,45px);line-height:1.1;margin:10px 0 17px}
#detailCategory{color:#c6a99c}.detail-price{font-size:38px;font-weight:900;color:#ff9049;padding:20px 0;border-top:1px solid #3a302d;border-bottom:1px solid #3a302d;margin:24px 0}
.detail-properties{display:grid;gap:0;border-bottom:1px solid #3a302d;padding-bottom:14px}.detail-properties>div{display:grid;grid-template-columns:minmax(130px,40%) 1fr;gap:10px;padding:10px 0;border-bottom:1px solid #27232a}.detail-properties>div:last-child{border:0}.detail-properties b{font-size:13px;color:#c2b9bc}.detail-properties span{font-size:13px;color:#fff;overflow-wrap:anywhere}
.detail-description h2{font-size:20px;margin-top:26px}.detail-description p{white-space:pre-line;line-height:1.7;color:#dfd9dc}
.detail-disabled{width:100%;border:1px solid #5a4942;background:#30262a;border-radius:10px;color:#d4bbb0;font-weight:800;margin-top:25px;padding:16px;cursor:not-allowed}.detail-hint{font-size:12px;color:#b7abb0;line-height:1.6}
.detail-alert{padding:26px;border:1px solid #62402d;border-radius:14px;background:#151015;color:#f6bf9b}
@media(max-width:1240px){#categoryGrid.tilegrid{grid-template-columns:repeat(4,minmax(0,1fr))}.category-products.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){#categoryGrid.tilegrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}#categoryGrid .tile{border-radius:13px;padding:10px}#categoryGrid .tile-caption{font-size:11px}.category-products.products{grid-template-columns:repeat(2,minmax(0,1fr))}.product-detail-layout{grid-template-columns:1fr}.detail-photo-frame{min-height:300px}}
@media(max-width:520px){#categoryGrid.tilegrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#categoryGrid .tile-caption{font-size:12px}.catalogue-subpage{padding:15px 4% 55px}.category-subhero{padding:28px 22px}.category-products .pic{height:160px}.detail-photo-frame{min-height:250px;padding:20px}.detail-info{padding:23px}.detail-properties>div{grid-template-columns:1fr 1.4fr}}
@media(prefers-reduced-motion:reduce){#categoryGrid .tile,#categoryGrid .tile img,.linked-product{transition:none!important}}


/* LINKIT_FUNKO_SHOWCASE_GRID_FIX_V3 — Funko catalogue only */
body[data-page="category"] #categoryProducts:has(> .linkit-funko-items){
  display:block!important;
  width:100%;
  min-width:0;
}
body[data-page="category"] #categoryProducts > .linkit-funko-items{
  display:grid!important;
  width:100%;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:22px!important;
  margin:0!important;
  align-items:stretch;
}
body[data-page="category"] #categoryProducts .linkit-funko-tile{
  box-sizing:border-box;
  display:flex!important;
  flex-direction:column;
  min-width:0;
  width:100%!important;
  height:100%;
  overflow:hidden;
  border:2px solid #34343b!important;
  border-radius:16px!important;
  background:linear-gradient(160deg,#1c1b22,#101217 78%)!important;
  box-shadow:0 9px 22px rgba(0,0,0,.28);
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}
body[data-page="category"] #categoryProducts .linkit-funko-tile:hover{
  transform:translateY(-6px);
  border-color:#ff6b00!important;
  box-shadow:0 0 20px rgba(255,107,0,.48),0 18px 30px rgba(0,0,0,.45);
}
body[data-page="category"] #categoryProducts .linkit-funko-tile > img{
  display:block;
  width:100%!important;
  height:auto!important;
  aspect-ratio:1/1;
  max-height:none!important;
  min-height:0;
  padding:18px;
  box-sizing:border-box;
  object-fit:contain;
  background:#f5f5f5;
  transition:transform .25s ease;
}
body[data-page="category"] #categoryProducts .linkit-funko-tile:hover > img{transform:scale(1.035)}
body[data-page="category"] #categoryProducts .linkit-funko-tile-body{
  box-sizing:border-box;
  display:flex!important;
  flex:1;
  flex-direction:column;
  gap:10px;
  width:100%;
  min-width:0;
  padding:18px!important;
}
body[data-page="category"] #categoryProducts .linkit-funko-tile-body h3{
  margin:0;
  font-size:15px!important;
  line-height:1.45!important;
  min-height:3.7em;
  overflow-wrap:anywhere;
  color:#fff;
}
body[data-page="category"] #categoryProducts .linkit-funko-stock{
  font-size:12px!important;
  font-weight:800;
  color:#ff8b35!important;
}
body[data-page="category"] #categoryProducts .linkit-funko-tile-body strong{
  display:block;
  font-size:25px!important;
  font-weight:900;
  color:#fff;
  white-space:nowrap;
  margin-top:auto;
}
body[data-page="category"] #categoryProducts .linkit-funko-tile-body small{font-size:12px;color:#b9bbc7}
body[data-page="category"] #categoryProducts .linkit-funko-tile-body > span:last-child{
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  text-align:center;
  background:#292b33!important;
  color:#d3d4d9!important;
  border:1px solid #48454a;
  padding:12px 8px!important;
  border-radius:9px;
  font-size:12px!important;
  font-weight:800;
  overflow-wrap:normal;
}
@media(max-width:1050px){
 body[data-page="category"] #categoryProducts > .linkit-funko-items{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
}
@media(max-width:720px){
 body[data-page="category"] #categoryProducts > .linkit-funko-items{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 body[data-page="category"] #categoryProducts .linkit-funko-tile-body{padding:12px!important}
 body[data-page="category"] #categoryProducts .linkit-funko-tile > img{padding:10px}
 body[data-page="category"] #categoryProducts .linkit-funko-tile-body h3{font-size:13px!important;min-height:0}
 body[data-page="category"] #categoryProducts .linkit-funko-tile-body strong{font-size:21px!important}
}
@media(max-width:380px){
 body[data-page="category"] #categoryProducts > .linkit-funko-items{grid-template-columns:minmax(0,1fr)!important}
}
@media(prefers-reduced-motion:reduce){
 body[data-page="category"] #categoryProducts .linkit-funko-tile,
 body[data-page="category"] #categoryProducts .linkit-funko-tile > img{transition:none!important}
}

/* LINKIT_FUNKO_GLOBAL_GLOW_AND_TABS_V1 */
#linkit-funko-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 18px}
#linkit-funko-tabs button{cursor:pointer;border:1px solid #4b4f55;color:#f7f7f7;background:#20252c;border-radius:12px;padding:12px 16px;font-weight:800;transition:.25s}
#linkit-funko-tabs button[aria-pressed="true"]{background:#ff6b00;color:#111;border-color:#ff6b00}
#categoryProducts .linkit-funko-tile[hidden]{display:none!important}
@media(hover:hover) and (pointer:fine){:is(.product-card,.linkit-funko-tile,.category-tile,.marketplace-card,.seller-card,.linkit-product-card):hover{border-color:#FF6B00!important;box-shadow:0 0 20px rgba(255,107,0,.6)!important;transform:translateY(-5px)}}
:is(.product-card,.linkit-funko-tile,.category-tile,.marketplace-card,.seller-card,.linkit-product-card){transition:border-color .3s,box-shadow .3s,transform .3s}
@media(prefers-reduced-motion:reduce){:is(.product-card,.linkit-funko-tile,.category-tile,.marketplace-card,.seller-card,.linkit-product-card){transition:none!important;transform:none!important}}


/* LINKIT FUNKO RESPONSIVE GRID FIX - 2026-10-29 */

/* The parent uses the regular product grid. A Funko grid
   nested inside that layout becomes just one narrow item.
   Make the Funko department use the full available width. */

body[data-page="category"] #categoryProducts:has(.linkit-funko-live-grid) {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

body[data-page="category"] #categoryProducts .linkit-funko-live-grid {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch !important;
}

body[data-page="category"] #categoryProducts .linkit-funko-live-card {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 1px solid #36383f !important;
    border-radius: 13px !important;
    overflow: hidden !important;
    background: linear-gradient(160deg,#1c1e25,#111217) !important;
    transition: transform .22s ease,
                border-color .22s ease,
                box-shadow .22s ease !important;
}

body[data-page="category"] #categoryProducts .linkit-funko-live-card:hover {
    transform: translateY(-6px) !important;
    border-color: #FF6B00 !important;
    box-shadow: 0 0 24px rgba(255,107,0,.55),
                0 12px 24px rgba(0,0,0,.55) !important;
}

body[data-page="category"] #categoryProducts .linkit-funko-live-card img {
    width: 100% !important;
    height: 220px !important;
    object-fit: contain !important;
    background: #fff !important;
}

body[data-page="category"] #categoryProducts .linkit-funko-live-body {
    display: flex !important;
    flex: 1 !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 15px !important;
}

body[data-page="category"] #categoryProducts .linkit-funko-live-body h3 {
    font-size: 13px !important;
    line-height: 1.45 !important;
    min-height: 56px !important;
    overflow-wrap: anywhere !important;
}

body[data-page="category"] #categoryProducts .linkit-funko-live-body strong {
    margin-top: auto !important;
    font-size: 21px !important;
    color: #ff8c33 !important;
}

body[data-page="category"] .linkit-funko-department-tabs button:hover {
    border-color: #FF6B00 !important;
    box-shadow: 0 0 13px rgba(255,107,0,.5) !important;
}

@media(max-width:1200px) {
  body[data-page="category"] #categoryProducts .linkit-funko-live-grid {
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  }
}

@media(max-width:850px) {
  body[data-page="category"] #categoryProducts .linkit-funko-live-grid {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  }
}

@media(max-width:600px) {
  body[data-page="category"] #categoryProducts .linkit-funko-live-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 11px !important;
  }
  body[data-page="category"] #categoryProducts .linkit-funko-live-card img {
    height: 170px !important;
  }
}

@media(prefers-reduced-motion:reduce) {
  body[data-page="category"] #categoryProducts .linkit-funko-live-card {
    transition: none !important;
  }
}