/*
 * Shop by Brand: the hub (/brands/) and the brand pages (lib/brands.php).
 * A plain CSS file, not built by gulp. The product cards use the category
 * grid's markup and styles.
 */
body.gt-brands {
  --gtb-blue: #214fff;
  --gtb-yellow: #fac94b;
  --gtb-ink: #14161a;
  --gtb-ink-2: #4a4f57;
  --gtb-ink-3: #8a8f98;
  --gtb-line: #e6e6e6;
  --gtb-tile: #f4f4f4;
  --gtb-radius: 14px;
}
.gtb { color: var(--gtb-ink); }
.gtb h1, .gtb h2 { text-transform: none; letter-spacing: -.02em; color: var(--gtb-ink); }
.gtb h2 { margin: 0 0 18px; font-size: 26px; font-weight: 600; }

.gtb-crumbs { padding: 14px 15px; font-size: 13.5px; color: var(--gtb-ink-3); }
.gtb-crumbs a { color: inherit; text-decoration: none; }
.gtb-crumbs a:hover { color: var(--gtb-ink); }
.gtb-crumbs .sep { margin: 0 8px; }
.gtb-crumbs .here { color: var(--gtb-ink); font-weight: 600; }

/* Hero */
.gtb-hero { background: var(--gtb-yellow); padding: 52px 0 56px; }
.gtb-hero h1 { margin: 0 0 14px; font-size: 44px; font-weight: 700; line-height: 1.05; }
.gtb-hero p, .gtb-intro { max-width: 620px; margin: 0; font-size: 17px; line-height: 1.55; color: var(--gtb-ink); }
.gtb-intro p { margin: 0 0 8px; }
.gtb-find { display: flex; gap: 10px; margin-top: 26px; max-width: 520px; }
.gtb-find input { flex: 1; min-width: 0; height: 50px; padding: 0 20px; border: 2px solid var(--gtb-ink); border-radius: 999px; background-color: #fff; font-size: 15px; }
.gtb-find button, .gtb-btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; border: 2px solid var(--gtb-blue); border-radius: 999px; background: var(--gtb-blue); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.gtb-btn:hover, .gtb-find button:hover { color: #fff; filter: brightness(1.08); text-decoration: none; }
.gtb-btn-line { background: transparent; border-color: var(--gtb-ink); color: var(--gtb-ink); }
.gtb-btn-line:hover { background: #fff; color: var(--gtb-ink); }
.gtb-btn-white { background: #fff; border-color: #fff; color: var(--gtb-blue); }
.gtb-btn-white:hover { color: var(--gtb-blue); }
.gtb-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.gtb-hero-brand .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.gtb-hero-text { flex: 1 1 560px; }
.gtb-logo-box { flex: 0 0 380px; display: flex; align-items: center; justify-content: center; height: 230px; padding: 30px; border-radius: 20px; background: #fff; font-size: 40px; font-weight: 700; letter-spacing: -.02em; text-align: center; }
.gtb-logo-box img { max-width: 100%; max-height: 140px; object-fit: contain; }

/* Hub */
.gtb-none { margin: 30px 0 0; font-size: 16px; }
.gtb-featured { margin-top: 48px; }
.gtb-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gtb-feat { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--gtb-line); border-radius: var(--gtb-radius); background: #fff; color: var(--gtb-ink); text-decoration: none; transition: box-shadow .15s; }
.gtb-feat:hover { box-shadow: 0 6px 22px rgba(20, 22, 26, .1); color: var(--gtb-ink); text-decoration: none; }
.gtb-feat-mark { display: flex; align-items: center; justify-content: center; height: 150px; padding: 20px; background: var(--gtb-tile); font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.gtb-feat-mark img { max-height: 90px; max-width: 80%; object-fit: contain; }
.gtb-feat-foot { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; }
.gtb-feat-foot b { display: block; font-size: 15px; font-weight: 600; }
.gtb-feat-foot small, .gtb-tile small { display: block; font-size: 13px; color: var(--gtb-ink-2); }
.gtb-go { color: var(--gtb-blue); font-size: 14px; font-weight: 600; }

.gtb-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 10px; }
.gtb-chips a, .gtb-filter a { display: inline-block; padding: 8px 16px; border: 1.5px solid var(--gtb-ink); border-radius: 999px; color: var(--gtb-ink); font-size: 14px; text-decoration: none; }
.gtb-chips a:hover, .gtb-filter a:hover { background: var(--gtb-ink); color: #fff; text-decoration: none; }

.gtb-group { padding: 36px 0; border-bottom: 1px solid var(--gtb-line); scroll-margin-top: 120px; }
.gtb-group:last-of-type { border-bottom: 0; margin-bottom: 30px; }
.gtb-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.gtb-tile { display: block; padding: 16px 18px; border: 1px solid var(--gtb-line); border-radius: 12px; background: #fff; color: var(--gtb-ink); text-decoration: none; }
.gtb-tile b { display: block; font-size: 16px; font-weight: 600; }
.gtb-tile:hover { border-color: var(--gtb-ink); color: var(--gtb-ink); text-decoration: none; }
.gtb-tile[hidden], .gtb-feat[hidden], [data-gtb-section][hidden] { display: none; }

/* Brand page */
.gtb-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 24px 0 0; }
.gtb-fact { padding: 14px 18px; border: 1px solid var(--gtb-line); border-radius: 12px; }
.gtb-fact small { display: block; font-size: 12.5px; color: var(--gtb-ink-2); }
.gtb-fact b { display: block; margin-top: 2px; font-size: 17px; font-weight: 600; }

.gtb-products { margin-top: 44px; scroll-margin-top: 120px; }
.gtb-products-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.gtb-products-head h2 { margin: 0; }
.gtb-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.gtb-filter a { padding: 7px 15px; border-width: 1px; border-color: #c9c9c9; font-size: 13.5px; }
.gtb-filter a.on { background: var(--gtb-blue); border-color: var(--gtb-blue); color: #fff; }
.gtb-grid { margin-top: 0 !important; }
.gtb-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 26px 0 0; }
.gtb-pages a { min-width: 40px; padding: 8px 14px; border: 1px solid var(--gtb-line); border-radius: 999px; color: var(--gtb-ink); text-align: center; text-decoration: none; }
.gtb-pages a.on { background: var(--gtb-blue); border-color: var(--gtb-blue); color: #fff; }
.gtb-empty { font-size: 16px; }

.gtb-faqs { max-width: 780px; margin: 56px 0 60px; }
.gtb-faqs details { margin-bottom: 10px; border: 1px solid var(--gtb-line); border-radius: 12px; }
.gtb-faqs summary { position: relative; padding: 16px 44px 16px 18px; font-size: 16px; font-weight: 600; list-style: none; cursor: pointer; }
.gtb-faqs summary::-webkit-details-marker { display: none; }
.gtb-faqs summary::after { content: "+"; position: absolute; top: 12px; right: 18px; font-size: 22px; font-weight: 400; }
.gtb-faqs details[open] summary::after { content: "–"; }
.gtb-faqs details p { margin: 0; padding: 0 18px 16px; font-size: 15px; line-height: 1.6; color: var(--gtb-ink-2); }

.gtb-more { padding: 40px 0 48px; background: var(--gtb-tile); }
.gtb-more-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.gtb-more-head a { color: var(--gtb-blue); font-weight: 600; text-decoration: none; }

.gtb-cta { padding: 44px 0; background: var(--gtb-blue); color: #fff; }
.gtb-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.gtb-cta h2 { margin: 0 0 6px; color: #fff; font-size: 28px; }
.gtb-cta p { margin: 0; font-size: 16px; }

@media (max-width: 991px) {
  .gtb-hero h1 { font-size: 34px; }
  .gtb-hero-brand .container { flex-direction: column; align-items: stretch; }
  .gtb-logo-box { flex: none; height: 150px; font-size: 32px; }
  .gtb-feat-grid { grid-template-columns: repeat(2, 1fr); }
  .gtb-tiles { grid-template-columns: repeat(3, 1fr); }
  .gtb-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .gtb-hero { padding: 34px 0 38px; }
  .gtb-hero h1 { font-size: 30px; }
  .gtb-find { flex-direction: column; }
  .gtb-feat-grid { grid-template-columns: 1fr; }
  .gtb-tiles { grid-template-columns: repeat(2, 1fr); }
  .gtb-cta .container { flex-direction: column; align-items: flex-start; }
}
