/* Featured Brands & Suppliers: the main page and its 7 category pages. Copies the client's Canva pages (decision #30).
   Sizes measured on Canva's 1440px-wide pages; phones follow Canva's phone pages.
   Shared header, footer, fonts, colors and the video sound button: ../shared/site.css */

:root { --tag: #F2E0DC; }

/* Buttons: bigger than Canva's, like the other pages (client's request, 2026-11-18). */
.br-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 20px;
  border-radius: 6px; background: var(--deep); color: var(--blush); font-size: 18.8px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.br-btn:hover { background: var(--teal); }
.br-btn--big { min-height: 46px; font-size: 22.5px; }

/* ---------- Category buttons (under the main menu; client picked option A, 2026-11-19) ----------
   Rounded buttons with a "Browse by category" label; the page you're on is filled teal.
   The same buttons fill the teal "Looking for more brands?" bar (.br-more). */
.br-subnav, .br-more__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.br-subnav a, .br-more__links a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 15px; border: 1.5px solid var(--teal); border-radius: 999px;
  background: #fff; color: var(--deep); font-size: 15px; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap;
}
.br-subnav a:hover { background: #e3eef4; }
.br-subnav a[aria-current="page"] { background: var(--deep); border-color: var(--deep); color: #fff; }
.br-subnav__label { margin-right: 6px; color: #6b6b6b; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
body { background: #fff; }
.site-header + .br-subnav { background: var(--blush); border-top: 1px solid #ece3df; justify-content: center; padding: 10px max(16px, calc((100% - 1440px) / 2 + 16px)) 14px; }

/* The teal bar near the bottom of the main page: the category buttons again, for visitors who scrolled down */
.br-more { padding: 20px 16px 22px; background: var(--deep); color: #fff; text-align: center; }
.br-more h2 { font-size: 20px; line-height: 24px; font-weight: 700; }
.br-more p { margin-top: 4px; font-size: 15px; line-height: 19px; opacity: 0.88; }
.br-more__links { justify-content: center; max-width: 1060px; margin: 14px auto 0; }
.br-more__links a { background: transparent; border-color: rgba(255, 255, 255, 0.75); color: #fff; }
.br-more__links a:hover { background: #fff; color: var(--deep); }
.br-more__links a:focus-visible { outline-color: #fff; }

/* Phone frames around the videos (drawn like Canva's) */
.br-phone { position: relative; flex: none; width: 122px; height: 245px; border: 4px solid #111; border-radius: 16px; overflow: hidden; background: #111; }
.br-phone::before { content: ''; position: absolute; z-index: 1; left: 50%; top: 6px; width: 32px; height: 5px; margin-left: -16px; border-radius: 3px; background: #111; }
.br-phone video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.br-phone .video-sound { right: 5px; bottom: 5px; min-height: 26px; padding: 0 8px; font-size: 10.5px; }
.br-phone .video-pause { left: 6px; top: 6px; bottom: auto; transform: scale(0.8125); transform-origin: left top; } /* 26px, top corner: the phone frame is too narrow for both buttons at the bottom */

/* ---------- 1. Top: title, text, "Let's collaborate", three videos ---------- */
.br-hero { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 20px max(16px, calc((100% - 1040px) / 2)) 50px; background: var(--blush); }
.br-hero h1 { font-family: var(--serif); font-size: 34.7px; line-height: 37px; font-weight: 700; }
.br-hero__text p { margin-top: 33px; font-size: 22.6px; line-height: 24px; }
.br-hero .br-btn { margin-top: 22px; }
.br-hero__phones { display: flex; gap: 22px; }
.br-hero__phones .br-phone { width: 122px; height: 245px; }

/* ---------- 2. Six brand cards ---------- */
.br-cards { display: grid; grid-template-columns: repeat(2, 410px); justify-content: center; gap: 20px 66px; padding: 37px 16px 22px; }
.br-card { display: flex; align-items: center; gap: 22px; min-height: 195px; padding: 18px 20px 18px 29px; border: 1px solid #efe9e6; border-radius: 6px; background: #fff; }
.br-card > img { flex: none; width: 127px; height: 127px; border-radius: 50%; object-fit: cover; }
.br-card h2 { font-family: var(--serif); color: var(--deep); font-size: 17.3px; line-height: 21px; font-weight: 700; }
.br-tag { display: inline-block; margin-top: 2px; padding: 1px 6px; border-radius: 4px; background: var(--tag); color: #000; font-size: 17.3px; line-height: 24px; font-weight: 700; text-decoration: none; }
a.br-tag:hover { background: var(--blush); text-decoration: underline; }
.br-card p { margin-top: 8px; font-size: 15.7px; line-height: 16.5px; }
.br-watch {
  display: inline-flex; align-items: center; gap: 8px; min-height: 30px; margin-top: 14px; padding: 0 16px 0 6px;
  border: 1.5px solid var(--deep); border-radius: 6px; color: var(--deep); font-size: 11.5px; font-weight: 700; text-decoration: none;
}
.br-watch::before { content: ''; width: 20px; height: 20px; background: url("img/icon-tiktok.svg") center / contain no-repeat; }
.br-watch:hover { background: var(--teal-soft, #e3eef4); }

/* ---------- 3. Collaboration icons, "Want to be featured?" ---------- */
.br-collab { padding: 16px 16px 26px; text-align: center; }
.br-collab h2 { font-size: 20px; line-height: 24px; font-weight: 700; }
.br-collab ul { list-style: none; display: flex; justify-content: center; align-items: flex-start; gap: 22px; margin: 18px 0 0; padding: 0; }
.br-collab li { width: 72px; display: flex; flex-direction: column; align-items: center; font-size: 12.5px; line-height: 13.5px; }
.br-collab li img { height: 60px; width: auto; max-width: 88px; object-fit: contain; margin-bottom: 18px; }
.br-featured { display: flex; justify-content: space-between; align-items: center; gap: 24px; max-width: 1060px; margin: 0 auto 24px; padding: 20px 18px 22px; background: var(--blush); border-radius: 24px; color: var(--deep); }
.br-featured h2 { font-family: var(--serif); font-size: 22px; line-height: 27px; font-weight: 700; }
.br-featured p { margin-top: 10px; font-size: 18.4px; line-height: 20px; }
.br-featured .br-btn { margin-right: 176px; }

/* ---------- Category pages: blush page, a teal name bar above each video ---------- */
.br-sub { background: var(--blush); }
.br-sub .site-header + .br-subnav { border-bottom: 1px solid #ece3df; }
.br-list { display: flex; flex-direction: column; align-items: center; gap: 34px; padding: 36px 16px 48px; }
.br-feature { width: 100%; max-width: 500px; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.br-feature figcaption { width: 100%; padding: 4px 8px; background: var(--teal); color: #fff; text-align: center; font-size: 17px; line-height: 20px; font-weight: 700; }
.br-feature .br-phone { width: 143px; height: 254px; }
.br-intro { max-width: 560px; text-align: center; font-size: 15.5px; line-height: 17px; }
.br-intro h1 { font-size: 17px; line-height: 21px; font-weight: 700; font-style: italic; }
.br-intro p { margin-top: 17px; }
.br-featured--small { width: 100%; max-width: 820px; margin: 10px 0 0; background: transparent; }
.br-featured--small .br-btn { margin-right: 0; }
.br-featured__note { font-style: italic; }

/* ---------- Tablets ---------- */
@media (max-width: 1099px) {
  .br-hero { flex-direction: column; align-items: flex-start; }
  .br-cards { grid-template-columns: minmax(0, 410px); }
  .br-collab ul { flex-wrap: wrap; }
  .br-featured { margin-left: 16px; margin-right: 16px; }
  .br-featured .br-btn { margin-right: 0; }
}

/* ---------- Phones (Canva's phone pages) ---------- */
@media (max-width: 767px) {
  /* Phones: the top buttons slide sideways in one row */
  /* The label gets its own small line (stays put while the buttons slide); subnav.js scrolls the row to the current page's button */
  .site-header + .br-subnav { display: block; white-space: nowrap; overflow-x: auto; padding: 8px 16px 12px; scrollbar-width: none; }
  .site-header + .br-subnav a { margin-right: 6px; }
  .br-subnav__label { position: sticky; left: 0; display: block; width: max-content; margin: 0 0 6px; font-size: 11.5px; }
  .br-subnav a, .br-more__links a { min-height: 38px; font-size: 14px; padding: 0 13px; }
  .br-more h2 { font-size: 18px; }
  .br-more p { font-size: 14px; }
  .br-btn { font-size: 15px; min-height: 40px; }
  .br-btn--big { font-size: 17px; }
  .br-hero { padding: 24px 16px 28px; gap: 22px; }
  .br-hero h1 { font-size: 27px; line-height: 29px; }
  .br-hero__text p { margin-top: 16px; font-size: 16.5px; line-height: 19px; }
  .br-hero br { display: none; }
  .br-hero__phones { align-self: center; gap: 12px; }
  .br-hero__phones .br-phone { width: 103px; height: 190px; border-width: 3px; border-radius: 13px; }
  .br-cards { padding: 24px 15px 18px; gap: 14px; }
  .br-card { gap: 14px; min-height: 0; padding: 14px 12px; }
  .br-card > img { width: 92px; height: 92px; }
  .br-card h2 { font-size: 15.5px; }
  .br-tag { font-size: 13.5px; line-height: 19px; }
  .br-card p { font-size: 13px; line-height: 14px; }
  .br-card br { display: none; }
  .br-collab ul { gap: 14px 10px; }
  .br-collab li { width: 70px; font-size: 11.5px; }
  .br-collab li img { height: 46px; margin-bottom: 10px; }
  .br-featured { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px 16px; }
  .br-featured h2 { font-size: 19px; }
  .br-featured p { font-size: 15px; line-height: 17px; }
  .br-featured br { display: none; }
  .br-list { gap: 26px; padding-top: 26px; }
  .br-feature figcaption { font-size: 14.5px; }
  .br-intro br { display: none; }
}

/* Very small phones: the three top videos shrink to fit side by side */
@media (max-width: 359px) {
  .br-hero__phones { gap: 8px; }
  .br-hero__phones .br-phone { width: 88px; height: 165px; }
}
