:root {
  --blue-900: #001F4D;
  --blue-800: #00348A;
  --blue: #014AAD;
  --blue-light: #1F6FE0;
  --yellow: #FFDE5A;
  --yellow-dark: #E8C233;
  --ink: #111418;
  --grey-700: #4B5563;
  --grey-200: #E5E8EC;
  --grey-100: #F4F6F8;
  --white: #FFFFFF;
  --container-wide: 1600px;
  --sale-red: #D6293E;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(1, 21, 61, 0.12);
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
img[hidden] { display: none; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7em 1.4em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--yellow); color: var(--blue); }
.btn-primary:hover { background: var(--blue); color: var(--yellow); }
.btn-outline { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--yellow); }
.btn-outline-light { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--blue-900); }
.btn-ghost { background: rgba(255,255,255,0.12); color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.25); }
.btn-lg { padding: 0.9em 1.8em; font-size: 1rem; }

/* Header */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 695;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { color: var(--blue); }

/* Header top row: menu/search — crest — shop/account/language */
.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.header-top-side { display: flex; align-items: center; gap: 6px; width: 130px; }
.header-top-right { justify-content: flex-end; }
.brand { display: flex; align-items: center; }
.brand-crest { height: 42px; width: 42px; }
.cart-bag-wide, .cart-count, .profile-bust, .header-compact, .search-overlay, .search-toggle .search-cross, .mini-cart, .mini-cart-backdrop { display: none; }
/* Laptop only: menu/search and right icons span the full width; desktop keeps the 1200px container */
@media (min-width: 901px) and (max-width: 1599px) {
  .header-top-inner { max-width: none; padding: 0 40px; height: 116px; }
  .header-top-side { width: 170px; gap: 8px; }
  /* (the icons keep their full size and the row grows out to the left, so the crest stays in the middle) */
  .header-top-right { gap: 10px; }
  .header-top-right .icon-btn { flex-shrink: 0; }
  .header-top-right .icon-btn:not(.header-wallet) svg { width: 26px; height: 26px; }
  .header-top-right .icon-btn:is([aria-label="Idioma"], [data-pt-label="Idioma"]) svg { stroke-width: 1.7; }
  .header-top-right .header-wallet svg { width: 26.5px; height: 26.5px; }
  .header-top-side .icon-btn { width: 48px; height: 48px; color: var(--blue); }
  .header-top-side .icon-btn svg { width: 28px; height: 28px; }
  .menu-toggle svg { transition: transform 0.25s ease; }
  /* .is-hovered (set in main.js) holds the hover look after the menu closes, until the mouse actually moves off */
  .menu-toggle:hover svg, .menu-toggle.is-hovered svg { transform: rotate(-45deg); }
  /* top and bottom lines shrink toward their centre; the middle line keeps its length */
  .menu-toggle svg line { transform-box: fill-box; transform-origin: center; transition: transform 0.25s ease; }
  /* spread the lines further apart (8 instead of 6 units) */
  /* and widen all three (18 → ~22 units) */
  .menu-toggle svg line:nth-child(1) { transform: translateY(-2px) scaleX(1.2); }
  .menu-toggle svg line:nth-child(2) { transform: scaleX(1.2); }
  .menu-toggle svg line:nth-child(3) { transform: translateY(2px) scaleX(1.2); }
  .menu-toggle svg line:nth-child(1),
  .menu-toggle svg line:nth-child(3) { stroke-width: 1.5; }
  /* search: the lens fills in blue on hover */
  .search-toggle:hover svg circle { fill: currentColor; }
  /* with the search open the lens becomes a cross (added in main.js), which turns a quarter right on hover and back left
     when the mouse leaves. The turn is a keyframe animation rather than a transition so it also plays on the click that
     opens the search (the cross has only just appeared then, and a transition wouldn't run) */
  body.search-open .search-toggle .search-lens { display: none; }
  body.search-open .search-toggle .search-cross { display: block; transition: transform 0.3s ease; }
  body.search-open .search-toggle:hover .search-cross { transform: rotate(90deg); animation: search-cross-turn 0.3s ease; }
  @keyframes search-cross-turn { from { transform: none; } to { transform: rotate(90deg); } }
  /* cart: wider bag with the item count inside */
  .header-cart { position: relative; }
  .header-cart .cart-bag { display: none; }
  .header-cart .cart-bag-wide { display: inline; }
  .header-cart .cart-count {
    display: block;
    position: absolute;
    left: 50%; top: calc(50% + 3px);
    transform: translate(-50%, -50%);
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    transition: color 0.3s ease;
  }
  /* hover: blue slides up from the bottom to fill the bag, number turns white */
  .header-cart .cart-fill {
    fill: currentColor;
    stroke: none;
    transform-box: fill-box;
    transform-origin: bottom;
    transform: scaleY(0);
    transition: transform 0.3s ease;
  }
  .header-cart:hover .cart-fill { transform: scaleY(1); }
  .header-cart:hover .cart-count { color: var(--white); }
  /* account: chest-up silhouette instead of the basic circle + arch */
  .header-top-side .profile-basic { display: none; }
  .header-top-side .profile-bust { display: inline; }
  .header-top-side a:hover .profile-bust path { fill: currentColor; }
  .menu-toggle:hover svg line:nth-child(1), .menu-toggle.is-hovered svg line:nth-child(1) { transform: translateY(-2px) scaleX(0.72); }
  .menu-toggle:hover svg line:nth-child(3), .menu-toggle.is-hovered svg line:nth-child(3) { transform: translateY(2px) scaleX(0.72); }
  .brand-crest { height: 108px; width: 108px; }
  /* the big header scrolls away; a compact copy (built in main.js) slides in once it's gone */
  .site-header { position: relative; }
  .header-compact {
    display: block;
    position: fixed; top: 0; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--grey-200);
    z-index: 695;
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s;
  }
  .header-compact.is-visible { transform: translateY(0); visibility: visible; }
  /* opening the menu removes the compact header at once (no slide); it slides back in as the menu closes (body.mega-open, set in main.js) */
  body.mega-open .header-compact.is-visible { transform: translateY(-100%); visibility: hidden; transition: none; }
  /* with the menu open only the menu scrolls: the page is locked (its scrollbar's width is kept as padding, set in main.js,
     so the page doesn't shift), and scrolling past the end of a menu column doesn't carry on to the page */
  body.mega-open { overflow: hidden; padding-right: var(--scrollbar-w, 0px); }
  .mega-primary, .mega-secondary { overscroll-behavior: contain; }
  /* search: a white screen over the page, from just under the header's top row (its top is set in main.js) down.
     The page is locked like with the menu; the compact header keeps clear of the scrollbar's old space so its icons don't shift */
  body.search-open { overflow: hidden; padding-right: var(--scrollbar-w, 0px); }
  body.search-open .header-compact { right: var(--scrollbar-w, 0px); }
  .search-bar { display: none; }
  .search-overlay {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 700;
    background: var(--white);
    visibility: hidden;
    transform: translateX(-100%);
    transition: transform 0.18s ease-in, visibility 0s 0.18s;
  }
  /* slides in from the left like the menu panel; visible straight away when opening (not at the end of the slide),
     so the field can take focus on the same click */
  .search-overlay.open { visibility: visible; transform: none; transition: transform 0.32s ease, visibility 0s; }
  .search-overlay-inner { padding: 28px 24px 0; }
  /* the big search field */
  .search-overlay-input {
    width: 100%;
    height: 72px;
    padding: 0 28px;
    border: 2px solid #000;
    border-radius: 3px;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 400;
    outline: none;
  }
  .search-overlay-input::placeholder { color: #757575; opacity: 1; }
  /* arrow on the right to search, like the results page's; only once something is typed (.has-text, main.js) */
  .search-overlay-form { position: relative; }
  .search-overlay-input { padding-right: 72px; }
  .search-overlay-btn {
    position: absolute; top: 2px; right: 2px; bottom: 2px;
    width: 68px;
    display: none; align-items: center; justify-content: center;
    border: none; background: none; color: var(--ink); cursor: pointer;
  }
  .search-overlay.has-text .search-overlay-btn { display: flex; }
  .search-overlay-btn svg { width: 38px; height: 38px; }
  .search-overlay-btn:hover svg { color: var(--blue); }
  /* suggestions under the field, lined up with its text */
  .search-suggestions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 32px; padding-left: 30px; }
  .search-suggestions a { color: var(--ink); font-size: 1.5rem; }
  .search-suggestions a:hover { color: var(--blue); }
  /* while typing: the usual suggestions give way to a grey "Sugestões" title and suggestions that follow the typing */
  .search-typed { display: none; margin-top: 20px; padding-left: 30px; }
  .search-overlay.has-text .search-suggestions--default { display: none; }
  .search-overlay.has-text .search-typed { display: block; }
  /* same font as the site's usual titles (Inter, bold), bigger than the suggestions */
  .search-typed-title { margin: 0; color: #B3B3B3; font-family: var(--font-body); font-size: 1.4rem; font-weight: 700; }
  .search-typed .search-suggestions { margin-top: 16px; padding-left: 0; }
  /* "Ver Todos": small underlined link under the suggestions; when nothing matches it's all that shows */
  .search-typed-all { display: inline-block; margin-top: 18px; color: #000; font-size: 0.97rem; text-decoration: underline; text-underline-offset: 1.5px; }
  .search-overlay.no-suggestions .search-typed-list { display: none; }
  /* two columns while typing: "Sugestões" on the left, "Produtos" on the right */
  .search-overlay.has-text .search-typed { display: flex; align-items: flex-start; gap: 120px; }
  .search-typed-col:first-child { flex: 0 0 420px; }
  .search-products { flex: 1; min-width: 0; }
  .search-products-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 120px; margin-top: 36px; }
  .search-product { display: flex; align-items: flex-start; gap: 18px; color: var(--ink); }
  .search-product-img { position: relative; flex: 0 0 132px; height: 132px; overflow: hidden; background: var(--grey-100); }
  .search-product-img .product-icon { width: 82px; height: 82px; }
  .search-product-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
  .search-product-name { font-size: 0.97rem; line-height: 1.35; }
  .search-product-name { max-width: 245px; margin-bottom: 2px; font-weight: 600; }
  .search-product-price { display: flex; justify-content: space-between; gap: 12px; font-size: 0.85rem; color: var(--ink); }
  .search-product-price.is-struck span:last-child { text-decoration: line-through; }
  .search-product-price.is-promo { margin-top: 2px; color: var(--blue); }
  .search-product:hover .search-product-name { color: var(--blue); }
  .header-compact .header-top-inner { height: 72px; }
  .header-compact .brand-crest { height: 70px; width: 70px; }
  /* cart: a small box sliding in from the right, just under the header's top row (logo, menu, search). Everything below that
     row is darkened, the nav row under it included: the backdrop starts there too (both tops set in main.js) and sits above
     the header; the page is locked like with the search */
  body.cart-open { overflow: hidden; padding-right: var(--scrollbar-w, 0px); }
  body.cart-open .header-compact { right: var(--scrollbar-w, 0px); }
  .mini-cart-backdrop {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 698;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    /* closing: waits for the cart to slide out (0.18s), then fades */
    transition: opacity 0.25s ease 0.18s, visibility 0s 0.43s;
  }
  .mini-cart-backdrop.open { opacity: 1; visibility: visible; transition: opacity 0.25s ease, visibility 0s; }
  .mini-cart {
    display: block;
    position: fixed;
    right: 0;
    width: 360px;
    z-index: 700;
    padding: 16px 24px 24px;
    background: var(--white);
    /* a soft shadow on the top edge only (the negative spread keeps it off the sides) */
    box-shadow: 0 -4px 8px -4px rgba(0, 0, 0, 0.15);
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.18s ease-in, visibility 0s 0.18s;
  }
  /* opening: the page starts darkening first, and the cart slides in before it has fully darkened */
  .mini-cart.open { visibility: visible; transform: none; transition: transform 0.32s ease 0.12s, visibility 0s 0.12s; }
  .mini-cart-head { margin-bottom: 64px; }
  .mini-cart-close {
    position: absolute; top: 12px; right: 12px;
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; padding: 0;
    background: none; border: none; cursor: pointer;
    color: var(--blue);
  }
  .mini-cart-close svg { width: 18px; height: 18px; }
  .mini-cart-count { margin: 0 0 4px; font-size: 1.1rem; font-weight: 600; color: var(--ink); }
  .mini-cart-view { font-size: 0.8rem; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
  .mini-cart-view:hover { color: var(--blue); }
  /* its products, between "Ver carrinho" and the total, scrolling when there are many */
  .mini-cart-head:has(~ .mini-cart-items:not([hidden])) { margin-bottom: 34px; }
  /* (its top padding leaves room for the first "Remover", which sits just above its product) */
  .mini-cart-items { max-height: 285px; margin: 0 -24px 16px; padding: 22px 19px 0 24px; overflow-y: auto; scrollbar-gutter: stable; }
  /* (more than one product: the list shows the first and the top of the next, and scrolls with a thin square bar at the
     right edge of the screen) */
  .mini-cart-items::-webkit-scrollbar { width: 5px; }
  .mini-cart-items::-webkit-scrollbar-track { background: var(--grey-100); }
  .mini-cart-items::-webkit-scrollbar-thumb { background: #707070; border-radius: 0; }
  .mini-cart-items::-webkit-scrollbar-button { display: none; }
  .mini-cart-items[hidden] { display: none; }
  /* (with products, the count starts where their photos do, 8px further left) */
  .mini-cart:has(.mini-cart-items:not([hidden])) .mini-cart-head { margin-left: -8px; }
  .mini-cart-item { position: relative; display: flex; gap: 14px; padding: 16px 0; }
  .mini-cart-item + .mini-cart-item { margin-top: 16px; }
  .mini-cart-item img { flex-shrink: 0; width: 120px; height: 120px; margin-left: -8px; object-fit: contain; background: var(--grey-100); }
  .mini-cart-item-text { flex: 1; min-width: 0; }
  /* ("Remover" just above the top right, so the name starts level with the top of the photo and takes the full width) */
  .mini-cart-item-head { display: block; }
  .mini-cart-item-tag { margin: -3px 0 2px; font-size: 14px; font-weight: 700; color: var(--blue); }
  .mini-cart-item-name { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.3; color: var(--ink); }
  .mini-cart-item-name:first-child { margin-top: -3px; }
  .mini-cart-item-remove { position: absolute; top: -6px; right: 0; padding: 0; border: none; background: none; font-family: var(--font-body); font-size: 14px; color: var(--ink); cursor: pointer; }
  .mini-cart-item-remove:hover { color: var(--blue); }
  .mini-cart-item-meta { display: block; margin: 9px 0 13px; font-size: 12px; color: #757575; }
  .mini-cart-item-prices, .mini-cart-item-name { margin-right: -8px; }
  .mini-cart-item-prices p { display: flex; justify-content: space-between; margin: 0 0 3px; font-size: 14px; color: var(--ink); }
  .mini-cart-item-prices .is-promo, .mini-cart-item-prices .is-socio { color: var(--blue); }
  .mini-cart-item-prices .is-struck span:last-child { text-decoration: line-through; }
  .mini-cart-item-prices .is-wallet { gap: 6px; margin-top: 9px; font-size: 11px; white-space: nowrap; }
  .mini-cart-item-prices .is-socio { margin-bottom: 9px; }
  .mini-cart-total {
    display: flex; justify-content: space-between;
    margin: 0 0 16px;
    font-size: 0.85rem; font-weight: 400; color: var(--ink);
  }
  /* the usual black button: sharp corners, yellow text, blue fill rising on hover (like .pdp-cart-toast-btn) */
  .mini-cart-buy { position: relative; overflow: hidden; z-index: 0; display: block; width: 100%; height: 52px; line-height: 52px; text-align: center; background: var(--ink); color: var(--yellow); border: 1px solid var(--ink); border-radius: 0; font-size: 1.1rem; font-weight: 400; text-decoration: none; transition: border-color 0.2s ease; }
  .mini-cart-buy::before { content: ""; position: absolute; inset: 0; background: var(--blue); transform: translateY(100%); transition: transform 0.28s ease; z-index: -1; }
  .mini-cart-buy:hover { border-color: var(--blue); }
  .mini-cart-buy:hover::before { transform: translateY(0); }
}

/* Search bar (collapsible) */
.search-bar {
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  transition: max-height 0.2s ease;
  background: var(--grey-100);
}
.search-bar.open { max-height: 70px; border-top-color: var(--grey-200); }
.search-bar-inner { display: flex; align-items: center; gap: 10px; height: 56px; color: var(--grey-700); }
.search-bar-inner svg { width: 18px; height: 18px; flex-shrink: 0; }
.search-bar-inner input { flex: 1; border: none; background: none; font-size: 0.95rem; outline: none; font-family: var(--font-body); }

/* Header secondary row: icon + label quick links */
.header-secondary { border-top: 1px solid var(--grey-200); border-bottom: 1px solid var(--grey-200); }
@media (min-width: 901px) and (max-width: 1599px) {
  /* hairline: a scaled 1px line renders thinner than a border can */
  .header-secondary { border-top: none; position: relative; }
  .header-secondary::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0;
    height: 1px;
    background: #DFE2E7;
    transform: scaleY(0.5);
    transform-origin: top;
  }
}
.secondary-inner { display: flex; justify-content: center; gap: 40px; overflow-x: auto; }
.secondary-inner a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.secondary-inner svg { width: 19px; height: 19px; color: var(--blue); flex-shrink: 0; }
/* (Notícias: the club crest, drawn in the text colour through a mask of the transparent logo) */
.secondary-crest { width: 19px; height: 19px; flex-shrink: 0; background: var(--blue); -webkit-mask: url("../Logos/Logo_crest_icon.png") center / 92% no-repeat; mask: url("../Logos/Logo_crest_icon.png") center / 92% no-repeat; }
.secondary-inner a:hover { color: var(--blue); border-bottom-color: var(--yellow); }
.secondary-inner a.secondary-link-active { color: var(--blue); border-bottom-color: var(--yellow); }
/* (laptop: the links a little further apart, in regular weight, their icons black like the text, blue with it on hover) */
@media (min-width: 901px) and (max-width: 1599px) {
  .secondary-inner { gap: 48px; }
  .secondary-inner a { gap: 11px; font-size: 0.89rem; font-weight: 400; }
  .secondary-inner svg { width: 26px; height: 26px; color: inherit; stroke-width: 1.1; }
  .secondary-crest { width: 26px; height: 26px; background: currentColor; }
  .secondary-inner a:not(.secondary-link-active):hover { border-bottom-color: transparent; }
}

/* Promo strip */
.promo-strip { background: var(--grey-100); border-bottom: 1px solid var(--grey-200); font-size: 0.85rem; max-width: var(--container-wide); margin: 0 auto; }
.promo-inner { display: flex; align-items: center; justify-content: center; gap: 10px; height: 38px; color: var(--grey-700); }
.promo-inner a { font-weight: 700; color: var(--blue); text-decoration: underline; }
/* (its messages stacked in the same place, taking turns rolling up: the next comes in from below as the current leaves at the top) */
.promo-inner { position: relative; overflow: hidden; }
.promo-item { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; transform: translateY(100%); visibility: hidden; }
.promo-item.is-active, .promo-item.is-leaving { visibility: visible; transition: transform 0.6s ease; }
.promo-item.is-active { transform: none; }
.promo-item.is-leaving { transform: translateY(-100%); }
/* (laptop: the strip a little taller, in a lighter grey) */
@media (min-width: 901px) and (max-width: 1599px) {
  .promo-strip { background: #F4F4F4; border-bottom: none; font-size: 0.95rem; }
  .promo-item span, .promo-item a { color: var(--ink); }
  .promo-inner { height: 58px; }
  header:has(+ .promo-strip) .header-secondary { border-bottom-color: transparent; }
}

/* Mega menu */
.mega-menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.mega-menu.open { visibility: visible; opacity: 1; }
/* Laptop: the menu sits above both headers so it covers the full height */
@media (min-width: 901px) and (max-width: 1599px) {
  .mega-menu { z-index: 900; }
}
.mega-menu::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,10,30,0.5);
}
.mega-menu-panel {
  position: relative;
  display: flex;
  max-width: 760px;
  height: 100%;
  background: var(--white);
  box-shadow: var(--shadow);
}
.mega-close {
  position: absolute;
  top: 14px; right: -50px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.mega-primary {
  display: flex;
  flex-direction: column;
  width: 240px;
  flex-shrink: 0;
  padding: 70px 0 20px;
  overflow-y: auto;
}
.mega-primary-link {
  padding: 13px 28px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  border-left: 3px solid transparent;
}
.mega-primary-link:hover { background: var(--grey-100); }
.mega-primary-link.mega-primary-link--minor { font-weight: 400; }
.mega-primary-link.active { color: var(--blue); border-left-color: var(--yellow); background: var(--grey-100); }

.mega-secondary {
  --mega-pad-t: 70px; --mega-pad-r: 32px; --mega-pad-b: 20px; --mega-pad-l: 32px;
  --mega-secondary-bg: var(--blue-900);
  position: relative;
  flex: 1;
  background: var(--mega-secondary-bg);
  padding: var(--mega-pad-t) var(--mega-pad-r) var(--mega-pad-b) var(--mega-pad-l);
  overflow-y: auto;
  overflow-x: hidden;
}
.mega-secondary-group { display: none; flex-direction: column; gap: 4px; }
.mega-secondary-group.active { display: flex; }
.mega-secondary-group a {
  padding: 11px 4px;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mega-secondary-group a:hover { color: var(--yellow); }
/* options that open a sub-list (e.g. Agora / Futebol / Eventos): the sub-list replaces them, with a back button */
.mega-subroot, .mega-subpanel { display: flex; flex-direction: column; gap: 4px; }
/* the sub-list is an overlay covering the whole column, so it slides in over the main list */
.mega-subpanel {
  position: absolute;
  inset: 0;
  padding: var(--mega-pad-t) var(--mega-pad-r) var(--mega-pad-b) var(--mega-pad-l);
  background: var(--mega-secondary-bg);
  visibility: hidden;
  transform: translateX(100%);
}
.mega-subpanel.active { visibility: visible; transform: none; }
.mega-subback {
  display: flex;
  align-items: center;
  gap: 10px;
  /* pulled up by its own height (46px + 2px underline) + margin + the list gap, less 2px for the left options' taller padding, so the first sub-option lines up with the first option on the left */
  margin: -58px 0 8px;
  /* the underline spans the whole blue column: stretch past its side padding, then pad the text back in */
  margin-left: calc(-1 * var(--mega-pad-l));
  margin-right: calc(-1 * var(--mega-pad-r));
  padding: 11px 4px 11px calc(var(--mega-pad-l) + 4px);
  line-height: 24px;
  background: none;
  border: none;
  border-bottom: 2px solid var(--yellow);
  color: var(--yellow);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
}
/* slides in from the right over the main list, and back out to the right */
.mega-subpanel.is-animated { transition: transform 0.3s ease, visibility 0.3s; }
.mega-subback::before {
  content: "";
  width: 14px; height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 5 8 12 15 19'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 5 8 12 15 19'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Laptop opening (after the base menu rules so it wins): the white block slides in from the left, and partway through the blue block starts sliding out from behind it.
   Closing is the same in reverse, quicker: the blue block slides back behind the white one, then the white one slides out to the left */
@media (min-width: 901px) and (max-width: 1599px) {
  /* only the dark backdrop fades; the menu stays visible until the blocks have slid away (0.3s) */
  .mega-menu { opacity: 1; transition: visibility 0s 0.3s; }
  .mega-menu.open { transition: visibility 0s; }
  .mega-menu::before { background: rgba(0,0,0,0.79); opacity: 0; transition: opacity 0.22s ease 0.08s; }
  .mega-menu.open::before { opacity: 1; transition: opacity 0.2s ease; }
  /* the panel itself has no background, so no white shows where the blue block hasn't arrived yet; the shadow moves to the blue block */
  .mega-menu-panel { background: none; box-shadow: none; transform: translateX(-100%); transition: transform 0.18s ease-in 0.12s; }
  .mega-menu.open .mega-menu-panel { transform: none; transition: transform 0.32s ease; }
  .mega-primary { z-index: 1; background: var(--white); }
  .mega-secondary { box-shadow: var(--shadow); transform: translateX(-100%); transition: transform 0.22s ease-in; }
  .mega-menu.open .mega-secondary { transform: none; transition: transform 0.6s ease 0.1s; }
}
.mega-indicator { display: none; }
.mega-close svg { display: none; }
.mega-trending, .mega-trending-more, .mega-social { display: none; }
/* Laptop: menu text matches the site's nav links; the selected option gets a blue underline instead of a grey box */
@media (min-width: 901px) and (max-width: 1599px) {
  .mega-primary-link,
  .mega-secondary-group a,
  .mega-subback { font-weight: 600; font-size: 1.4rem; }
  /* close: sits exactly on the header's menu icon (main.js moves it out of the sliding panel and sets --toggle-top/left),
     drawn with the same three lines, which fold into a cross when the menu opens and back when it closes.
     The × character is hidden. */
  .mega-close {
    top: var(--toggle-top, 34px); left: var(--toggle-left, 40px); right: auto;
    z-index: 2;
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px;
    padding: 0;
    border-radius: 0;
    background: none;
    font-size: 0;
    color: var(--blue);
  }
  /* while the menu is closed it copies the menu icon's hover look (tilted, short outer lines), since the icon is
     always being hovered when it's clicked: the fold starts from what's on screen, and ends on it when closing */
  .mega-close svg { display: block; width: 28px; height: 28px; transform: rotate(-45deg); transition: transform 0.3s ease; }
  .mega-menu.open .mega-close svg { transform: none; }
  /* hovered, the cross is turned a quarter left; when the mouse leaves it turns right back into place
     (also right after opening, since the mouse is already on it) */
  .mega-menu.open .mega-close:hover svg { transform: rotate(-90deg); }
  /* same function lists open and closed, so each line simply turns rather than warping between the two */
  .mega-close svg line { transform-box: fill-box; transform-origin: center; transition: transform 0.3s ease, opacity 0.2s ease; }
  .mega-close svg line:nth-child(1) { transform: translateY(-2px) rotate(0deg) scaleX(0.72); }
  .mega-close svg line:nth-child(2) { transform: scaleX(1.2); }
  .mega-close svg line:nth-child(3) { transform: translateY(2px) rotate(0deg) scaleX(0.72); }
  .mega-close svg line:nth-child(1),
  .mega-close svg line:nth-child(3) { stroke-width: 1.5; }
  /* open: the top and bottom lines turn into the cross, the middle one disappears */
  .mega-menu.open .mega-close svg line:nth-child(1) { transform: translateY(6px) rotate(45deg) scaleX(1.2); }
  .mega-menu.open .mega-close svg line:nth-child(2) { opacity: 0; }
  .mega-menu.open .mega-close svg line:nth-child(3) { transform: translateY(-6px) rotate(-45deg) scaleX(1.2); }
  /* closing by clicking the cross (.is-closing, set in main.js until the menu is hidden): the opening animation below,
     played backwards. The icon doesn't turn; the ascending line stays put and becomes the menu icon's middle line,
     and the descending line splits in two: its upper half turns into the top outer line, its lower half into the
     bottom one. The result looks exactly like the hovered menu icon underneath, which these static values match.
     (with the icon turned -90deg, each half's centre sits 3.82 units off the middle diagonally,
     and the hovered menu icon's outer lines sit 5.66 units off it) */
  .mega-close.is-closing svg { transform: rotate(-90deg); transition: none; }
  .mega-close.is-closing svg line { transition: none; }
  .mega-close.is-closing svg line:nth-child(1) { transform: translateY(6px) rotate(45deg) scaleX(1.2); stroke-width: 2; animation: mega-join-middle 0.3s ease reverse; }
  .mega-close.is-closing svg line:nth-child(2) { transform: translate(5.66px, -5.66px) rotate(45deg) scaleX(0.72); stroke-width: 1.5; opacity: 1; animation: mega-join-top 0.3s ease reverse; }
  .mega-close.is-closing svg line:nth-child(3) { transform: translate(-5.66px, -0.34px) rotate(45deg) scaleX(0.72); animation: mega-join-bottom 0.3s ease reverse; }
  /* opening from the menu icon (.is-opening, set in main.js for the first 0.3s): the same in reverse.
     The icon starts already turned like the hovered menu icon; the middle line stays put and becomes the ascending
     line, and the top and bottom lines turn in and join into the descending one. They turn opposite ways so both
     look like they fall: the top one ends at 135deg, which looks the same as -45deg for a line but gets there
     the other way round. The top line, not needed in the cross, disappears once they've joined */
  .mega-menu.open .mega-close.is-opening svg { transform: rotate(-90deg); transition: none; }
  .mega-menu.open .mega-close.is-opening svg line { transition: none; }
  .mega-menu.open .mega-close.is-opening svg line:nth-child(1) { animation: mega-join-middle 0.3s ease; }
  .mega-menu.open .mega-close.is-opening svg line:nth-child(2) { animation: mega-join-top 0.3s ease; }
  .mega-menu.open .mega-close.is-opening svg line:nth-child(3) { animation: mega-join-bottom 0.3s ease; }
  @keyframes mega-join-middle {
    from { stroke-width: 2; }
    to { stroke-width: 1.5; }
  }
  @keyframes mega-join-top {
    from { transform: translate(5.66px, -5.66px) rotate(45deg) scaleX(0.72); opacity: 1; stroke-width: 1.5; }
    to { transform: translate(3.82px, -3.82px) rotate(135deg) scaleX(0.6); opacity: 1; stroke-width: 1.5; }
  }
  @keyframes mega-join-bottom {
    from { transform: translate(-5.66px, -0.34px) rotate(45deg) scaleX(0.72); }
    to { transform: translate(-3.82px, -2.18px) rotate(-45deg) scaleX(0.6); }
  }
  .mega-primary { width: 50%; padding-top: 0; padding-bottom: 40px; scrollbar-width: none; }
  /* white block behind the cross, the width of the white column, fading out at the bottom: it's the 130px gap above the
     first option (matching the blue column's top padding, so both columns stay lined up), and sticks to the top so the
     options scroll underneath it */
  .mega-primary::before {
    content: "";
    position: sticky;
    top: 0;
    z-index: 2;
    flex-shrink: 0;
    height: 130px;
    background: linear-gradient(var(--white) 58%, rgba(255,255,255,0));
    pointer-events: none;
  }
  /* option spacing (the left keeps 2px more padding than the right so both columns stay lined up) */
  .mega-primary-link { padding-top: 19px; padding-bottom: 19px; }
  .mega-secondary-group a { padding-top: 17px; padding-bottom: 17px; }
  .mega-secondary { --mega-pad-t: 130px; --mega-pad-r: 14px; --mega-pad-b: 0px; scrollbar-width: none; }
  /* right column: no divider lines, a small arrow after each link instead */
  .mega-secondary { --mega-secondary-bg: var(--blue); }
  .mega-secondary-group a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-right: 0; border-bottom: none; color: var(--yellow); font-weight: 400; }
  .mega-secondary-group a::after {
    content: "";
    width: 14px; height: 14px;
    flex-shrink: 0;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 5 16 12 9 19'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 5 16 12 9 19'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  /* links inside an opened sub-list go straight to a page, so no arrow */
  .mega-subpanel a:not(.mega-subtoggle)::after,
  .mega-secondary-group a.mega-direct::after { content: none; }
  .mega-primary-link { position: relative; border-left: none; }
  .mega-primary-link:hover { background: none; }
  .mega-primary-link.active { background: none; color: var(--ink); }
  /* underline runs from the start of the word to where the blue column begins.
     It's a single element (added by main.js) moved under the selected option, so it slides between options */
  .mega-primary { position: relative; }
  .mega-indicator {
    display: block;
    position: absolute;
    top: 0; left: 28px; right: 0;
    height: 2px;
    background: var(--blue);
    pointer-events: none;
  }
  .mega-indicator.is-animated { transition: transform 0.7s ease; }
  /* "Em Destaque": small grey label with three popular pages under the options */
  .mega-trending { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; padding: 0 28px; }
  .mega-trending-title { margin-bottom: -5px; color: #767676; font-size: 0.9rem; font-weight: 600; }
  .mega-trending a, .mega-trending-more a { align-self: flex-start; color: #000; font-size: 0.98rem; }
  /* LisbonFC TV / Foundation under the grey line, as far below it as Equipa Principal is above it (the line's 12px margin + the 20px list gap) */
  .mega-trending-more { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; padding: 0 28px; }
  /* small social icons in one line at the bottom, spread so the last icon ends where the grey line ends (the line is 88% of the space inside the 28px side padding; 3px less because the Threads logo sits inside its box) */
  .mega-social { display: flex; align-items: center; justify-content: space-between; margin-top: 48px; padding: 0 calc(12% + 18.1px) 0 28px; }
  .mega-social-btn { display: flex; color: #000; }
  .mega-social-btn svg { width: 20px; height: 20px; }
  /* the icons are drawn at different sizes inside their boxes, so scale them to look the same */
  .mega-social-btn[aria-label="Instagram"] svg,
  .mega-social-btn[aria-label="LinkedIn"] svg { transform: scale(1.12); }
  .mega-social-btn[aria-label="TikTok"] svg { transform: scale(0.72); }
  .mega-social-btn[aria-label="X"] svg { transform: scale(0.88); }
  .mega-social-btn[aria-label="YouTube"] svg { transform: scale(1.15); }
  .mega-social-btn[aria-label="WhatsApp"] svg { transform: scale(0.76); }
  .mega-social-btn[aria-label="Threads"] svg { transform: scale(0.78); }
  /* everything in the left panel turns blue on hover */
  .mega-primary-link:hover,
  .mega-primary-link.active:hover,
  .mega-trending a:hover,
  .mega-trending-more a:hover,
  .mega-social-btn:hover { color: var(--blue); }
  /* grey line under the last link, inside the column's side padding */
  .mega-trending::after { content: ""; align-self: flex-start; width: 88%; height: 1px; margin-top: 12px; background: var(--grey-200); }
  /* switching option: the new list on the right slides in from the left */
  .mega-secondary-group.is-entering { animation: mega-group-in 0.3s ease; }
  @keyframes mega-group-in {
    from { transform: translateX(calc(-100% - var(--mega-pad-l))); }
    to { transform: none; }
  }
}

/* Hero — two full-bleed carousel tiles, side by side */
.hero {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  min-height: 60vh;
  gap: 24px;
  background: var(--white);
}

.hero-feature, .hero-promo {
  position: relative;
  overflow: hidden;
}
.hero-feature { flex: 1 1 65%; }
.hero-promo { flex: 1 1 35%; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  padding: 40px;
  background-size: cover;
  background-position: center;
  transition: opacity 0.6s ease;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide-text { color: var(--white); max-width: 560px; }
.hero-tag {
  display: block;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.92);
}
.hero-slide-text h2 {
  font-family: var(--font-body);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 700;
  margin: 0;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.25;
}
.hero-cta {
  display: inline-block;
  margin-top: 16px;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.6em 1.3em;
  border-radius: 6px;
}
.hero-cta:hover { background: var(--yellow); }

.hero-arrows {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  display: flex;
  gap: 10px;
}
.hero-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.15);
  color: var(--white);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.hero-arrow:hover { background: rgba(0,0,0,0.4); }

/* Fixtures */
.fixtures-section { padding: 56px 0; }
.fixtures-section .container { max-width: var(--container-wide); padding: 0 40px; }
.fixtures-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.fixtures-head h2 {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: normal;
  font-size: 1.7rem;
  color: var(--ink);
  margin: 0 0 8px;
}
.fixtures-head p { color: var(--grey-700); margin: 0 0 12px; white-space: nowrap; }
.fixtures-head p a { color: var(--blue); font-weight: 600; text-decoration: underline; }
.fixtures-head .section-link { font-weight: 700; color: var(--ink); }
.fixtures-arrows { display: flex; gap: 32px; flex-shrink: 0; }
.fixtures-arrows .hero-arrow {
  width: auto; height: auto;
  border: none;
  background: none;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 3.2rem;
  font-weight: 200;
  padding: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}
.fixtures-arrows .hero-arrow:hover { color: var(--blue); background: none; }
.fixtures-arrows .fixtures-prev:hover { transform: translateX(-8px); }
.fixtures-arrows .fixtures-next:hover { transform: translateX(8px); }
.fixtures-arrows .hero-arrow.is-disabled { color: #AFB6C0; cursor: default; }
.fixtures-arrows .hero-arrow.is-disabled:hover { color: #AFB6C0; transform: none; }

.fixtures-row {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.fixtures-row::-webkit-scrollbar { display: none; }
.fixture-card {
  flex: 0 0 33.333%;
  min-width: 300px;
  scroll-snap-align: start;
  padding: 32px 36px;
  border-right: 1px solid var(--grey-200);
}
.fixture-card:last-child { border-right: none; }
.fixture-card:nth-child(3) { border-right: none; }
.fixture-card:first-child { padding-left: 0; }
.fixture-status { font-weight: 700; font-size: 0.92rem; color: var(--ink); margin-bottom: 4px; }
.fixture-comp { font-size: 0.92rem; letter-spacing: 0.03em; color: var(--grey-700); text-transform: uppercase; margin-bottom: 24px; }
.fixture-team { display: flex; align-items: center; gap: 16px; padding: 10px 0; }
.fixture-team img { width: 68px; height: 68px; object-fit: contain; }
.fixture-team img.crest-boost { transform: scale(1.35); }
.fixture-team span { flex: 1; font-weight: 400; font-size: 1.4rem; color: var(--grey-700); }
.fixture-team strong { font-family: var(--font-body); font-weight: 600; font-size: 1.25rem; color: var(--grey-400, #9aa3af); }
.fixture-team--focus span { font-weight: 700; color: var(--ink); }
.fixture-team--focus strong { font-weight: 700; color: var(--ink); }
.fixture-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 20px; }
.fixture-links a { font-size: 0.92rem; font-weight: 700; color: var(--ink); }
.fixture-links a:hover { color: var(--blue); }

/* Kit banner */
.kit-banner {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 48px 20px;
}
.kit-banner-media {
  position: relative;
  width: 100%;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.kit-banner-image {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(100deg, var(--grey-100) 0%, var(--grey-100) 38%, var(--yellow) 40%, var(--blue) 44%, var(--blue-900) 100%);
  transition: flex-basis 0.35s ease;
}
.kit-banner-crest {
  width: 220px;
  height: 220px;
  filter: drop-shadow(0 20px 45px rgba(0,10,30,0.3));
}
.kit-banner-caption {
  position: absolute;
  bottom: 28px;
  right: 36px;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  text-transform: uppercase;
}
.kit-banner-overlay {
  flex: 0 0 14px;
  overflow: hidden;
  background: var(--blue-900);
  transition: flex-basis 0.35s ease;
}
.kit-banner-media:hover .kit-banner-overlay { flex-basis: 34%; }
.kit-banner-overlay-inner {
  width: 360px;
  max-width: 34vw;
  height: 100%;
  box-sizing: border-box;
  padding: 0 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: var(--white);
}
.kit-banner-tag { text-transform: uppercase; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; color: var(--yellow); margin-bottom: 12px; white-space: nowrap; }
.kit-banner-overlay-inner h3 { font-family: var(--font-body); font-size: 1.6rem; font-weight: 700; text-transform: none; letter-spacing: normal; margin: 0 0 8px; white-space: nowrap; }
.kit-banner-overlay-inner p { color: rgba(255,255,255,0.75); margin: 0 0 22px; white-space: nowrap; }

/* Services */
.services-section { padding: 56px 0 64px; }
.services-grid { display: flex; align-items: flex-start; justify-content: flex-start; gap: 30px; flex-wrap: nowrap; }
.services-head { flex-shrink: 0; }
.services-head h2 {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: normal;
  font-size: 2.3rem;
  color: var(--ink);
  margin: 0 0 10px;
}
.services-head p { color: var(--ink); margin: 0; max-width: 360px; font-size: 1.1rem; }
.services-items { display: flex; gap: 100px; flex-wrap: nowrap; }
.service-item { display: flex; align-items: center; gap: 50px; flex-shrink: 0; }
.service-item svg { width: 64px; height: 64px; color: var(--blue); flex-shrink: 0; }
.service-item-text { display: flex; flex-direction: column; }
.service-item-text strong { font-family: var(--font-body); font-weight: 700; font-size: 1.4rem; color: var(--ink); margin-bottom: 6px; }
.service-item-text em { font-style: normal; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.service-item:hover .service-item-text em { color: var(--blue); }
.service-item:hover svg { color: var(--blue-900); }

/* Section basics */
.section { padding: 72px 0; }
.section--dark { background: var(--blue-900); color: var(--white); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 32px; }
.section-head h2 { margin: 0; font-size: 1.9rem; color: var(--blue-900); }
.section-link { font-weight: 600; color: var(--blue); }
.section-tag { display: inline-block; text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.75rem; font-weight: 700; color: var(--yellow-dark); margin-bottom: 10px; }
.section--dark .section-tag { color: var(--yellow); }
.section--dark h2 { color: var(--white); }

/* News grid */
.news-section { padding-top: 8px; }
.news-section .container { max-width: var(--container-wide); padding: 0 40px; }
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.news-card { cursor: pointer; }
.news-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 20px;
}
.news-media {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: var(--blue-900);
  transition: transform 0.4s ease;
}
.news-card:hover .news-media { transform: scale(1.08); }
.news-tag { display: block; text-transform: uppercase; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; color: var(--blue); margin-bottom: 10px; }
.news-card h3 { font-size: 2.2rem; margin: 0 0 14px; color: var(--ink); text-transform: none; letter-spacing: normal; line-height: 1.15; }
.news-card p { color: var(--ink); font-size: 1.2rem; margin: 0; line-height: 1.5; }
.news-card:hover h3, .news-card:hover p { color: var(--blue); }

.news-grid--secondary { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 44px; }
.news-grid--secondary .news-card { flex: 0 0 380px; width: 380px; }
.news-grid--secondary .news-image { aspect-ratio: 16/10; margin-bottom: 14px; }
.news-grid--secondary .news-tag { font-size: 0.78rem; margin-bottom: 6px; }
.news-grid--secondary .news-card h3 { font-size: 1.35rem; margin-bottom: 8px; font-weight: 700; }
.news-grid--secondary .news-card p { font-size: 0.95rem; }

.news-viewall { margin-top: 32px; text-align: center; }
.news-viewall-btn {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  padding: 0.85em 1.5em;
  font-size: 1.05rem;
  z-index: 0;
}
.news-viewall-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: translateY(100%);
  transition: transform 0.28s ease;
  z-index: -1;
}
.news-viewall-btn:hover { background: transparent; color: var(--yellow); border-color: var(--blue); }
.news-viewall-btn:hover::before { transform: translateY(0); }

/* Shop */
.shop-section { padding: 64px 0; }
.shop-section .container { max-width: var(--container-wide); padding: 0 40px; }
.shop-grid { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 32px; align-items: stretch; }
.product-image {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background-color: var(--grey-100);
  margin-bottom: 18px;
}
.product-image-front, .product-image-back {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.9s ease;
}
.product-image-back { transform: translateY(100%); }
.product-card:hover .product-image-front { transform: translateY(-100%); }
.product-card:hover .product-image-back { transform: translateY(0); }

/* Shop page: slide right-to-left instead of bottom-to-top */
.shop-catalog-grid .product-image-back,
.outlet-row .product-image-back,
.moda-product-row .product-image-back { transform: translateX(100%); }
.shop-catalog-grid .product-card:hover .product-image-front,
.outlet-row .product-card:hover .product-image-front,
.moda-product-row .product-card:hover .product-image-front { transform: translateX(-100%); }
.shop-catalog-grid .product-card:hover .product-image-back,
.outlet-row .product-card:hover .product-image-back,
.moda-product-row .product-card:hover .product-image-back { transform: translateX(0); }
.product-card h3 {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: normal;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
}
.outlet-row .product-card h3 { min-height: 54.4px; }
.product-price { margin-bottom: 14px; }
.price-row { display: flex; justify-content: space-between; font-size: 0.92rem; padding: 2px 0; color: var(--ink); }
.price-row strong { font-weight: 400; }
.price-row--member { color: var(--blue); font-weight: 400; }
.price-row--pvp { color: #9CA3AF; font-size: 0.85rem; }
.price-note { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--grey-700); margin: 0 0 4px; }
.price-note strong { color: var(--ink); font-weight: 400; }
.product-buy { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.product-buy:hover { color: var(--blue); }

.shop-promo {
  background: var(--grey-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px;
  align-self: start;
  height: 496px;
  box-sizing: border-box;
}
.shop-promo-text h3 {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: normal;
  font-size: 1.8rem;
  color: var(--ink);
  margin: 0 0 8px;
}
.shop-promo-text p { color: var(--grey-700); margin: 0 0 22px; }
.shop-promo-btn {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  border: none;
  background: var(--ink);
  color: var(--yellow);
  padding: 0.8em 1.7em;
  z-index: 0;
}
.shop-promo-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: translateY(100%);
  transition: transform 0.28s ease;
  z-index: -1;
}
.shop-promo-btn:hover::before { transform: translateY(0); }
.shop-promo-img { width: 180px; height: 180px; object-fit: contain; flex-shrink: 0; }

/* Dark news */
.news-dark { background: #242424; padding: 64px 0 56px; max-width: var(--container-wide); margin: 0 auto; }
.news-dark .container { max-width: var(--container-wide); padding: 0 40px; }
.news-dark .news-image { position: relative; }
.news-gallery-icon {
  position: absolute;
  bottom: 14px;
  left: 14px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  color: var(--white);
}
.news-gallery-icon svg { width: 18px; height: 18px; }
.news-card--dark h3 { color: var(--white); }
.news-card--dark p {
  color: rgba(255,255,255,0.65);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card--dark:hover h3, .news-card--dark:hover p { color: var(--blue); }
.news-viewall-btn--light {
  position: relative;
  overflow: hidden;
  border-color: var(--white);
  color: var(--white);
  background: transparent;
  z-index: 0;
}
.news-viewall-btn--light::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: translateY(100%);
  transition: transform 0.28s ease;
  z-index: -1;
}
.news-viewall-btn--light:hover { color: var(--yellow); background: transparent; border-color: var(--blue); }
.news-viewall-btn--light:hover::before { transform: translateY(0); }

/* Club info */
.club-info .container { max-width: var(--container-wide); padding: 0 40px; }
.section-head-simple h2 {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: normal;
  font-size: 2rem;
  color: var(--ink);
  margin: 0 0 6px;
}
.section-head-simple p { color: var(--ink); margin: 0 0 32px; }
.club-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.club-info-card {
  position: relative;
  overflow: hidden;
  background: var(--grey-100);
  padding: 32px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.club-info-watermark {
  position: absolute;
  left: 45%;
  bottom: -190px;
  width: 460px;
  height: 460px;
  transform: translateX(-50%) rotate(8deg);
  opacity: 0.5;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.club-info-card h3 {
  position: relative;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: normal;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}
.club-info-card p { position: relative; color: var(--ink); margin: 0 0 22px; }
.club-info-card p strong { font-weight: 700; }
.club-info-btn { position: relative; overflow: hidden; padding: 0.7em 1.3em; font-size: 0.92rem; z-index: 0; }
.club-info-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: translateY(100%);
  transition: transform 0.28s ease;
  z-index: -1;
}
.club-info-btn:hover { background: transparent; color: var(--yellow); border-color: var(--blue); }
.club-info-btn:hover::before { transform: translateY(0); }

/* Anniversary banner */
.banner--anniversary { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-900) 100%); }
.banner-inner { display: flex; align-items: center; gap: 48px; padding: 60px 20px; }
.banner-logo { width: 160px; height: auto; flex-shrink: 0; }
.banner-text h2 { color: var(--white); font-size: 2rem; }
.banner-text p { color: rgba(255,255,255,0.8); max-width: 520px; margin: 0 0 20px; }

/* Trophy / Supertaça */
.trophy-inner { display: flex; align-items: center; gap: 56px; }
.trophy-logo { width: 180px; flex-shrink: 0; }
.trophy-inner p { color: rgba(255,255,255,0.75); max-width: 480px; }
.trophy-stats { display: flex; gap: 40px; margin-top: 24px; }
.trophy-stats strong { display: block; font-family: var(--font-display); font-size: 2.2rem; color: var(--yellow); }
.trophy-stats span { font-size: 0.8rem; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.08em; }

/* Foundation */
.foundation-inner { display: flex; align-items: center; gap: 56px; }
.foundation-inner > div:first-child { flex: 1; }
.foundation-logo { width: 220px; flex-shrink: 0; }
.foundation-inner p { color: var(--grey-700); max-width: 480px; }
.foundation-list { margin: 18px 0 26px; }
.foundation-list li { padding-left: 26px; position: relative; margin-bottom: 10px; font-weight: 500; }
.foundation-list li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 10px; height: 10px;
  background: var(--yellow);
  border-radius: 2px;
}

/* Support banner */
.support-banner { background: var(--blue); color: var(--white); max-width: var(--container-wide); margin: 0 auto; }
.support-banner .container,
.trust-row .container,
.site-footer .container {
  max-width: var(--container-wide);
  padding-left: 40px;
  padding-right: 40px;
}
.support-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 46px 0;
  flex-wrap: wrap;
}
.support-banner h2 {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: normal;
  font-size: 2.05rem;
  color: var(--yellow);
  margin: 0 0 8px;
}
.support-banner p { margin: 0; max-width: 680px; font-size: 1.18rem; color: var(--yellow); }
.support-banner p strong { color: var(--yellow); }
.support-banner-btn {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 0;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  background: transparent;
  font-size: 1.05rem;
  z-index: 0;
}
.support-banner-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--yellow);
  transform: translateY(100%);
  transition: transform 0.28s ease;
  z-index: -1;
}
.support-banner-btn:hover { background: transparent; color: var(--blue-900); }
.support-banner-btn:hover::before { transform: translateY(0); }

/* Sponsors */

/* Trust row */
.trust-row { padding: 28px 0; border-bottom: 1px solid var(--grey-200); }
.trust-row-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item svg { width: 22px; height: 22px; color: var(--ink); flex-shrink: 0; }
.trust-item div { display: flex; flex-direction: column; }
.trust-item strong { font-size: 0.92rem; font-weight: 400; color: var(--ink); }
.trust-item:last-child strong { color: var(--blue); }
.trust-item span { font-size: 0.68rem; color: var(--grey-700); }

/* Footer */
.site-footer { background: var(--white); color: var(--ink); }

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 24px;
  padding: 48px 0 36px;
}
.footer-col h4 {
  color: var(--blue);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: normal;
  text-transform: none;
  margin: 0 0 16px;
}
.footer-col a { display: block; margin-bottom: 12px; font-size: 0.88rem; color: var(--ink); }
.footer-col a:hover { color: var(--blue); }

.footer-mid { border-top: 1px solid var(--grey-200); }
.footer-mid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 32px 0; }
.footer-mid-col h5 { font-size: 0.92rem; font-weight: 700; margin: 0 0 16px; color: var(--ink); }

.footer-app-badges { display: flex; gap: 12px; }
.footer-app-badge {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  overflow: hidden;
}
.footer-app-badge img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.footer-app-badge:hover { background: var(--blue-900); }

.footer-media-links { display: flex; gap: 24px; }
.footer-media-links a { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--ink); }
.footer-media-links svg { width: 24px; height: 24px; color: var(--blue); }
.footer-media-links a:hover { color: var(--blue); }

.footer-social { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  flex-shrink: 0;
}
.footer-social-btn svg { width: 30px; height: 30px; }
.footer-social-btn:hover { color: var(--blue); }

.footer-bottom-bar { border-top: 1px solid var(--grey-200); padding: 24px 0; }
.footer-bottom-inner { display: flex; flex-direction: column; gap: 12px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a { font-size: 0.8rem; color: var(--ink); }
.footer-legal a:hover { color: var(--blue); }
.footer-lang { font-weight: 700; color: var(--ink) !important; }
.footer-copyright { font-size: 0.8rem; color: var(--ink); margin: 0; }

/* Page header (Equipa, etc.) */
.page-header { background: var(--blue-900); padding: 56px 0 40px; max-width: var(--container-wide); margin: 0 auto; }
.page-header-eyebrow { display: block; color: var(--yellow); font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; font-weight: 600; }
.page-header h1 { color: var(--white); font-size: 3rem; margin: 10px 0 8px; }
.page-header p { color: rgba(255,255,255,0.75); font-family: var(--font-body); text-transform: none; letter-spacing: normal; margin: 0; font-size: 1rem; }

/* Notícia (article detail) */
.noticia-article { padding: 44px 0 0; }
.noticia-article .container { max-width: none; padding: 0 40px; }
.noticia-tag { display: block; color: var(--blue); font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.95rem; font-weight: 400; margin-bottom: 14px; }
.noticia-article h1 { font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-weight: 700; font-size: 2.6rem; line-height: 1.16; margin: 0 0 14px; color: var(--ink); }
.noticia-lead { font-family: var(--font-body); font-size: 1.1rem; line-height: 1.5; color: var(--ink); font-weight: 400; margin: 0; max-width: 1000px; }
.noticia-media { padding: 20px 0; }
.noticia-media .container { max-width: 1300px; padding: 0 40px; }
.noticia-media .container.noticia-media--gallery { max-width: none; padding: 0 20px; }
.noticia-hero-image { width: 100%; aspect-ratio: 16/9; border-radius: 0; background-size: cover; background-position: center; }
.noticia-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.noticia-gallery-item { position: relative; aspect-ratio: 16/9; overflow: hidden; cursor: pointer; }
.noticia-gallery-img { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.noticia-gallery-item:hover .noticia-gallery-img { transform: scale(1.12); }

.noticia-lightbox { position: fixed; inset: 0; background: #242424; display: flex; align-items: center; justify-content: center; z-index: 1000; }
.noticia-lightbox[hidden] { display: none; }
.noticia-lightbox-img { width: 100vw; height: 100vh; object-fit: contain; cursor: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='36'%20height='36'%20viewBox='0%200%2024%2024'%3E%3Cg%20fill='none'%20stroke='black'%20stroke-width='0.6'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpolyline%20points='15%203%2021%203%2021%209'/%3E%3Cpolyline%20points='9%2021%203%2021%203%2015'/%3E%3Cline%20x1='21'%20y1='3'%20x2='14'%20y2='10'/%3E%3Cline%20x1='3'%20y1='21'%20x2='10'%20y2='14'/%3E%3C/g%3E%3C/svg%3E") 18 18, zoom-in; }
.noticia-lightbox:fullscreen .noticia-lightbox-img { cursor: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='36'%20height='36'%20viewBox='0%200%2024%2024'%3E%3Cg%20fill='none'%20stroke='black'%20stroke-width='0.6'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpolyline%20points='4%2014%2010%2014%2010%2020'/%3E%3Cpolyline%20points='20%2010%2014%2010%2014%204'/%3E%3Cline%20x1='14'%20y1='10'%20x2='21'%20y2='3'/%3E%3Cline%20x1='3'%20y1='21'%20x2='10'%20y2='14'/%3E%3C/g%3E%3C/svg%3E") 18 18, zoom-out; }
.noticia-lightbox:-webkit-full-screen .noticia-lightbox-img { cursor: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='36'%20height='36'%20viewBox='0%200%2024%2024'%3E%3Cg%20fill='none'%20stroke='black'%20stroke-width='0.6'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpolyline%20points='4%2014%2010%2014%2010%2020'/%3E%3Cpolyline%20points='20%2010%2014%2010%2014%204'/%3E%3Cline%20x1='14'%20y1='10'%20x2='21'%20y2='3'/%3E%3Cline%20x1='3'%20y1='21'%20x2='10'%20y2='14'/%3E%3C/g%3E%3C/svg%3E") 18 18, zoom-out; }
.noticia-lightbox-progress-track { position: fixed; top: 0; left: 0; right: 0; height: 4px; background: black; z-index: 2; }
.noticia-lightbox-top-fade {
  position: fixed;
  top: 4px;
  left: 0;
  right: 0;
  height: 95px;
  background: linear-gradient(
    to bottom,
    rgba(36, 36, 36, 0.95) 0%,
    rgba(36, 36, 36, 0.86) 12%,
    rgba(36, 36, 36, 0.7) 25%,
    rgba(36, 36, 36, 0.52) 38%,
    rgba(36, 36, 36, 0.36) 50%,
    rgba(36, 36, 36, 0.24) 62%,
    rgba(36, 36, 36, 0.14) 73%,
    rgba(36, 36, 36, 0.07) 83%,
    rgba(36, 36, 36, 0.02) 92%,
    rgba(36, 36, 36, 0) 100%
  );
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.noticia-lightbox-top-fade.is-visible { opacity: 1; }
.noticia-lightbox-bottom-fade {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 95px;
  background: linear-gradient(
    to top,
    rgba(36, 36, 36, 0.95) 0%,
    rgba(36, 36, 36, 0.86) 12%,
    rgba(36, 36, 36, 0.7) 25%,
    rgba(36, 36, 36, 0.52) 38%,
    rgba(36, 36, 36, 0.36) 50%,
    rgba(36, 36, 36, 0.24) 62%,
    rgba(36, 36, 36, 0.14) 73%,
    rgba(36, 36, 36, 0.07) 83%,
    rgba(36, 36, 36, 0.02) 92%,
    rgba(36, 36, 36, 0) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.noticia-lightbox-caption {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  max-width: 70%;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  text-align: center;
  z-index: 1;
  pointer-events: none;
}
.noticia-lightbox-caption:empty { display: none; }
.noticia-lightbox-progress { position: absolute; inset: 0; background: #8C8C8C; opacity: 0; transition: opacity 0.25s ease; pointer-events: none; }
.noticia-lightbox-progress.is-visible { opacity: 1; }
.noticia-lightbox-progress[hidden] { display: none; }
.noticia-lightbox-progress-fill { height: 100%; width: 0%; background: var(--blue); transition: width 0.35s ease; }
.noticia-lightbox-toolbar { position: absolute; top: 16px; right: 20px; display: flex; align-items: center; gap: 0; z-index: 2; opacity: 0; transition: opacity 0.25s ease; pointer-events: none; }
.noticia-lightbox-toolbar.is-visible { opacity: 1; pointer-events: auto; }
.noticia-lightbox-counter { position: fixed; right: 24px; bottom: 20px; color: var(--white); font-family: var(--font-body); font-size: 0.92rem; font-weight: 400; letter-spacing: 0.1em; z-index: 2; opacity: 0; transition: opacity 0.25s ease, bottom 0.2s ease; }
.noticia-lightbox-counter.is-visible { opacity: 1; }
.noticia-lightbox-counter:empty { display: none; }
.noticia-lightbox-counter strong { font-weight: 700; }
.noticia-lightbox-thumbs.is-open ~ .noticia-lightbox-counter { bottom: 160px; }
.noticia-lightbox-icon-btn { background: none; border: none; color: var(--white); cursor: pointer; padding: 8px; display: flex; align-items: center; justify-content: center; }
.noticia-lightbox-icon-btn svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 0.8; stroke-linecap: round; stroke-linejoin: round; }
.noticia-lightbox-icon-btn:hover { color: var(--blue); }
.noticia-lightbox-pause-btn .noticia-lightbox-icon-play { display: none; }
.noticia-lightbox-pause-btn.is-paused .noticia-lightbox-icon-pause { display: none; }
.noticia-lightbox-pause-btn.is-paused .noticia-lightbox-icon-play { display: block; }
.noticia-lightbox-gallery-icon { stroke-linejoin: miter; }
.noticia-lightbox-close svg { width: 38px; height: 38px; stroke-width: 0.8; }
.noticia-lightbox-zone { position: absolute; top: 0; bottom: 0; width: 18%; min-width: 90px; background: none; border: none; display: flex; align-items: center; cursor: pointer; z-index: 1; }
.noticia-lightbox-zone--prev { left: 0; justify-content: flex-start; }
.noticia-lightbox-zone--next { right: 0; justify-content: flex-end; }
.noticia-lightbox-thumbs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; gap: 14px; padding: 24px 28px; background: var(--white); overflow-x: auto; transform: translateY(100%); transition: transform 0.35s ease; pointer-events: none; }
.noticia-lightbox-thumbs.is-open { transform: translateY(0); pointer-events: auto; }
.noticia-lightbox-thumb { flex: 0 0 140px; width: 140px; height: 92px; background-size: cover; background-position: center; cursor: pointer; border: 1px solid transparent; transition: border-color 0.2s ease; }
.noticia-lightbox-thumb.is-active { border-color: var(--blue); }
.noticia-lightbox-arrow { padding: 0 24px; opacity: 0; transition: opacity 0.25s ease; }
.noticia-lightbox-arrow svg { width: 64px; height: 64px; stroke: var(--white); stroke-width: 0.5; fill: none; transition: stroke 0.2s ease; }
.noticia-lightbox-zone:hover .noticia-lightbox-arrow { opacity: 1; }
.noticia-lightbox-arrow:hover svg { stroke: var(--blue); }
.noticia-video-block { position: relative; width: 100%; aspect-ratio: 18/9; border-radius: 0; background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 100%); display: flex; align-items: center; justify-content: center; }
.noticia-video-crest { width: 110px; height: 110px; object-fit: contain; opacity: 0.35; }
.noticia-video-play { position: absolute; width: 78px; height: 78px; border-radius: 50%; border: 2px solid var(--yellow); display: flex; align-items: center; justify-content: center; }
.noticia-video-play svg { width: 32px; height: 32px; fill: var(--yellow); }

.video-player { display: flex; align-items: stretch; width: 100%; aspect-ratio: 18/9; overflow: hidden; }
.video-player:fullscreen { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(96vw, 192vh); height: min(96vh, 48vw); margin: 0; aspect-ratio: 18 / 9; }
.video-player:fullscreen::backdrop { background: #000; }
.video-stage.is-idle { cursor: none; }
.video-stage { position: relative; flex: 1; min-width: 0; background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 100%); overflow: hidden; transition: flex-basis 0.3s ease; }
.video-stage .noticia-video-crest { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 110px; height: 110px; object-fit: contain; opacity: 0.35; }

.video-pip-overlay { display: none; position: absolute; inset: 0; z-index: 1; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: #121212; }
.video-stage.is-pip-active .video-pip-overlay { display: flex; }
.video-seek-indicator { position: absolute; top: 0; bottom: 0; width: 35%; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; color: var(--yellow); font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; pointer-events: none; opacity: 0; z-index: 1; transition: opacity 0.4s ease; }
.video-seek-indicator.is-active { opacity: 1; }
.video-seek-indicator--left { left: 0; align-items: flex-start; padding-left: 80px; background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%); }
.video-seek-indicator--right { right: 0; align-items: flex-end; padding-right: 80px; background: linear-gradient(to left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%); }
.video-seek-indicator-content { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.video-seek-indicator svg { width: 34px; height: 34px; fill: var(--yellow); stroke: var(--yellow); stroke-width: 2.2; stroke-linejoin: round; }
.video-captions { position: absolute; left: 50%; bottom: calc(10px - var(--captions-window-pad, 0px)); transform: translateX(-50%); width: 92%; text-align: center; z-index: 1; pointer-events: none; transition: bottom 0.25s ease; }
.video-stage:hover .video-captions, .video-stage:focus-within .video-captions, .video-player:has(.video-moments-panel:hover) .video-captions, .video-stage.is-scrubbing .video-captions, .video-stage.is-settings-open .video-captions, .video-stage.is-controls-sticky .video-captions { bottom: calc(60px - var(--captions-window-pad, 0px)); }
.video-captions[hidden] { display: none; }
#videoCaptionsText { display: inline-block; max-width: 100%; background: #000; color: #fff; font-family: var(--font-body); font-weight: 400; font-size: 1.8rem; line-height: 1.3; padding: 8px 18px; border-radius: 0; white-space: normal; text-align: center; overflow-wrap: break-word; }
.video-pip-overlay svg { width: 48px; height: 48px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.video-pip-overlay svg rect { fill: #fff; stroke: none; }
.video-pip-overlay p { margin: 0; color: #fff; font-family: var(--font-body); font-size: 1.85rem; font-weight: 400; text-align: center; max-width: 80%; }

.video-controls { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; align-items: stretch; height: 32px; gap: 6px; z-index: 2; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.video-stage:hover .video-controls, .video-stage:focus-within .video-controls, .video-player:has(.video-moments-panel:hover) .video-controls, .video-stage.is-scrubbing .video-controls, .video-stage.is-settings-open .video-controls, .video-stage.is-controls-sticky .video-controls { opacity: 1; pointer-events: auto; }
.video-stage.is-idle .video-controls { opacity: 0 !important; pointer-events: none !important; }
.video-play-btn { flex: 0 0 52px; width: 52px; background: rgba(0, 0, 0, 0.7); border: none; display: flex; align-items: center; justify-content: center; border-radius: 6px; }
.video-logo-box { flex: 0 0 40px; width: 40px; height: 40px; align-self: flex-end; background: rgba(0, 0, 0, 0.7); border: none; display: flex; align-items: flex-end; justify-content: center; border-radius: 0; }
.video-play-btn, .video-fullscreen-btn { color: var(--yellow); cursor: pointer; }
.video-play-btn svg { width: 28px; height: 28px; fill: currentColor; }
.video-play-btn:hover { background: var(--blue); color: var(--yellow); }
.video-play-btn .video-icon-pause { display: none; }
.video-play-btn.is-playing .video-icon-play { display: none; }
.video-play-btn.is-playing .video-icon-pause { display: block; }
.video-logo-box img { width: 44px; height: 44px; object-fit: contain; display: block; transform-origin: center bottom; transform: translateY(8px) scale(1.12); }

.video-timeline-bar { position: relative; flex: 1; min-width: 0; background: rgba(0, 0, 0, 0.7); display: flex; align-items: center; gap: 3px; padding: 0 6px 0 16px; border-radius: 6px; }
.video-scrubber { flex: 1; position: relative; height: 4px; background: rgba(255, 255, 255, 0.15); border-radius: 2px; cursor: pointer; transition: height 0.15s ease, background 0.4s ease; }
.video-scrubber.is-loaded { background: rgba(255, 255, 255, 0.3); }
.video-scrubber.is-dragging { cursor: grabbing; }
.video-scrubber:hover { height: 7px; }
.video-scrubber-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: var(--blue); border-radius: 2px; pointer-events: none; }
.video-scrubber-thumb { display: none; }
.video-time-bubble { position: absolute; bottom: 10px; left: 0%; transform: translateX(-50%) scale(0.85); transform-origin: center bottom; background: var(--yellow); color: #000; font-family: var(--font-body); font-weight: 700; font-size: 0.6rem; line-height: 1; padding: 6px 4px; border-radius: 3px; white-space: nowrap; pointer-events: none; z-index: 1; transition: bottom 0.15s ease; }
.video-scrubber:hover .video-time-bubble { bottom: 11.5px; }
.video-time-bubble::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 3.5px solid transparent; border-top-color: var(--yellow); }

.video-hover-preview { position: absolute; bottom: 28px; left: 0; display: flex; flex-direction: column; align-items: center; gap: 0; background: #000; padding: 1.5px; border-radius: 8px; pointer-events: none; z-index: 2; }
.video-hover-preview[hidden] { display: none; }
.video-hover-preview-thumb { width: 146px; height: 82px; border-radius: 7px 7px 0 0; overflow: hidden; background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 100%); display: flex; align-items: center; justify-content: center; }
.video-hover-preview-thumb img { width: 90%; height: 90%; object-fit: contain; opacity: 0.4; }
.video-hover-preview-time { color: var(--yellow); font-family: var(--font-body); font-weight: 700; font-size: 0.65rem; line-height: 1; padding: 8.6px 0 5.1px; }

.video-icon-btn { flex: 0 0 auto; background: none; border: none; color: var(--yellow); cursor: pointer; padding: 2px; display: flex; align-items: center; justify-content: center; }
.video-icon-btn:disabled { opacity: 0.35; cursor: default; pointer-events: none; }
.video-icon-btn[hidden] { display: none; }
#videoSettingsBtn svg path { fill: currentColor; stroke: none; }
#videoSettingsBtn svg circle { fill: #000; stroke: none; }
#videoSearchBtn .video-search-glass-halo { fill: #000; stroke: none; }
#videoSearchBtn .video-search-glass-body { fill: var(--yellow); stroke: none; }
#videoSearchBtn .video-search-glass-handle { stroke: var(--yellow); stroke-width: 3; stroke-linecap: round; }
#videoSearchBtn.is-active { color: var(--yellow); }
#videoSearchBtn.is-active .video-search-sheet { fill: var(--yellow); }
#videoSearchBtn.is-active .video-search-sheet-line { stroke: #000; }
#videoSearchBtn:hover { color: var(--blue); }
#videoSearchBtn:hover .video-search-sheet { fill: none; }
#videoSearchBtn:hover .video-search-sheet-line { stroke: var(--blue); }
#videoSearchBtn:hover .video-search-glass-body { fill: var(--blue); }
#videoSearchBtn:hover .video-search-glass-handle { stroke: var(--blue); }
#videoSearchBtn.is-active:hover .video-search-sheet { fill: var(--blue); }
#videoSearchBtn.is-active:hover .video-search-sheet-line { stroke: #000; }

.video-settings-control { position: relative; display: flex; align-items: center; }
.video-settings-menu { position: absolute; bottom: 100%; right: 0; margin-bottom: 8px; background: rgba(0, 0, 0, 0.85); border-radius: 8px; width: 320px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease, height 0.25s ease; white-space: nowrap; overflow-x: hidden; overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none; }
.video-settings-menu::-webkit-scrollbar { display: none; }
.video-settings-menu.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.video-settings-track { display: flex; }
.video-settings-panel { flex: 0 0 100%; width: 320px; box-sizing: border-box; display: flex; flex-direction: column; padding: 6px 0; align-self: flex-start; }
.video-settings-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: none; border: none; color: #fff; padding: 10px 16px; cursor: pointer; font-family: var(--font-body); font-size: 0.85rem; text-align: left; transition: background 0.45s ease; }
.video-settings-row--customize { justify-content: flex-start; gap: 6px; }
.video-settings-row--debug-log { justify-content: flex-start; gap: 10px; padding: 16px; font-size: 0.72rem; }
.video-settings-row[data-panel="quality"], .video-settings-row[data-panel="captions"], .video-settings-row[data-panel="captions-font"], .video-settings-row[data-panel="captions-background"], .video-settings-row[data-panel="captions-window"] { padding: 12px 16px; }
.video-settings-row-icon { width: 13px; height: 13px; flex-shrink: 0; fill: none; stroke: #fff; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
#videoCaptionsResetAll, #videoCaptionsResetAllFont, #videoCaptionsResetAllBg, #videoCaptionsResetAllWindow { justify-content: center; margin: 14px 16px 10px; padding: 4px 16px; background: none; border: 1.5px solid #fff; border-radius: 6px; font-size: 0.72rem; }
#videoCaptionsResetAllFont { margin-top: 18px; }
#videoCaptionsResetAllBg, #videoCaptionsResetAllWindow { margin-top: 4px; }
#videoCaptionsResetAll:hover, #videoCaptionsResetAllFont:hover, #videoCaptionsResetAllBg:hover, #videoCaptionsResetAllWindow:hover { background: rgba(255, 255, 255, 0.25); border-color: #fff; }
.video-settings-row-icon-ring { stroke-width: 3; }
.video-settings-divider { height: 1px; margin: 8px 0; background: rgba(255, 255, 255, 0.2); }
.video-settings-row:hover { background: rgba(255, 255, 255, 0.25); }
.video-settings-row--debug-log:hover, .video-settings-row[data-panel="quality"]:hover { border-radius: 4px; }
.video-settings-value { display: flex; align-items: center; gap: 4px; color: #fff; }
.video-settings-value svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.video-settings-back { position: relative; display: flex; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, 0.2); color: #fff; padding: 16px 16px 22px; margin-bottom: 4px; font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; line-height: 1; }
.video-settings-back-icon { position: absolute; left: 10px; top: 50%; transform: translateY(calc(-50% - 3px)); display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 8px; background: none; border: none; color: inherit; cursor: pointer; transition: background 0.3s ease; }
.video-settings-back-icon:hover { background: rgba(255, 255, 255, 0.25); }
.video-settings-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.video-settings-back-label { display: block; width: 100%; text-align: center; }
.video-settings-item { display: flex; align-items: center; gap: 10px; background: none; border: none; color: #fff; padding: 10px 16px; cursor: pointer; font-family: var(--font-body); font-size: 0.85rem; text-align: left; transition: background 0.45s ease; }
.video-settings-tick { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; visibility: hidden; }
.video-settings-item.is-selected .video-settings-tick { visibility: visible; }
.video-caption-setting { display: flex; flex-direction: column; gap: 11px; padding: 10px 16px; }
#videoCaptionsOpacitySetting { padding-top: 2px; }
#videoCaptionsBgOpacitySetting { padding-top: 2px; }
#videoCaptionsWindowOpacitySetting { padding-top: 2px; }
.video-captions-window { display: inline-block; max-width: 100%; }
.video-caption-setting .video-settings-label, .video-caption-dropdown-toggle .video-settings-label { color: #fff; font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; }
.video-caption-dropdown-toggle .video-settings-value { gap: 8px; }
.video-caption-dropdown-toggle .video-settings-value span { color: #fff; font-size: 0.78rem; }
.video-caption-dropdown-arrow { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s ease; }
.video-caption-dropdown-toggle.is-open .video-caption-dropdown-arrow { transform: rotate(180deg); }
.video-caption-dropdown { width: 100%; }
.video-caption-dropdown-toggle { width: 100%; }
.video-caption-dropdown-list { width: 100%; display: flex; flex-direction: column; background: none; }
.video-caption-dropdown-list .video-settings-item { font-size: 0.78rem; }
.video-caption-dropdown-list[hidden] { display: none; }
.video-caption-swatches { display: flex; flex-wrap: wrap; justify-content: space-between; width: 100%; }
.video-caption-swatch { width: 14px; height: 14px; border-radius: 50%; border: none; cursor: pointer; padding: 0; box-shadow: 0 0 0 2px var(--yellow); transition: box-shadow 0.2s ease, transform 0.15s ease; }
.video-caption-swatch.is-selected { box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.85), 0 0 0 5px var(--yellow); }
.video-caption-swatch:hover { transform: scale(1.2); }
.video-caption-chip-group { display: flex; flex-wrap: wrap; justify-content: space-between; width: 100%; }
#videoCaptionsOpacityChips .video-caption-chip { padding-left: 20.16px; padding-right: 20.16px; }
#videoCaptionsWindowOpacityChips .video-caption-chip { padding-left: 13.5px; padding-right: 13.5px; }
.video-caption-chip { background: #3a3a3a; border: none; color: #fff; border-radius: 4px; padding: 5px 18.5px; font-family: var(--font-body); font-size: 0.72rem; cursor: pointer; transition: background 0.2s ease; }
.video-caption-chip:hover { background: #545454; }
.video-caption-chip.is-selected { background: var(--yellow); color: #000; font-weight: 700; }
.video-caption-chip.is-selected:hover { background: var(--yellow); }
.video-settings-item:hover { background: rgba(255, 255, 255, 0.25); }
.video-icon-btn svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#videoSettingsBtn svg { transition: transform 0.25s ease; }
#videoSettingsBtn.is-active svg { transform: rotate(45deg); }
.video-icon-btn:hover, .video-icon-btn.is-active { color: var(--blue); }
#videoVolumeBtn.is-active { color: var(--yellow); }
#videoVolumeBtn.is-active:hover { color: var(--blue); }
#videoSettingsBtn.is-active { color: var(--yellow); }
#videoSettingsBtn.is-active:hover { color: var(--blue); }
#videoCaptionsBtn.is-active svg rect { fill: var(--yellow); stroke: var(--yellow); }
#videoCaptionsBtn.is-active svg path { stroke: #000; }
#videoCaptionsBtn.is-active:hover svg rect { fill: var(--blue); stroke: var(--blue); }
.video-icon-btn .video-icon-volume-off { display: none; }
.video-icon-mute-stroke-gap { stroke: #000; stroke-width: 4.5; }
.video-icon-btn.is-active .video-icon-volume-on { display: none; }
.video-icon-btn.is-active .video-icon-volume-off { display: block; }
.video-pip-arrow { transition: transform 0.2s ease; transform-box: fill-box; transform-origin: center; }
#videoPipBtn.is-active .video-pip-arrow { transform: rotate(180deg); }

.video-fs-contract { display: none; }
#videoFullscreenBtn.is-active .video-fs-expand { display: none; }
#videoFullscreenBtn.is-active .video-fs-contract { display: block; }
#videoFullscreenBtn.is-active { color: var(--yellow); }
#videoFullscreenBtn.is-active:hover { color: var(--blue); }

.video-volume-control { position: relative; display: flex; align-items: center; margin-left: 10px; }
.video-volume-popup { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); width: 44px; height: 108px; padding-bottom: 8px; display: flex; align-items: flex-end; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
.video-volume-control:hover .video-volume-popup { opacity: 1; pointer-events: auto; }
.video-volume-slider { width: 31px; height: 100%; background: rgba(0, 0, 0, 0.7); border-radius: 6px; padding: 10px 0; display: flex; align-items: flex-end; justify-content: center; }
.video-volume-track { position: relative; width: 4px; height: 100%; background: rgba(255, 255, 255, 0.3); border-radius: 2px; cursor: pointer; transition: width 0.15s ease; }
.video-volume-track.is-dragging { cursor: grabbing; }
.video-volume-track:hover { width: 7px; }
.video-volume-fill { position: absolute; bottom: 0; left: 0; right: 0; background: var(--blue); border-radius: 2px; height: 70%; pointer-events: none; }
.video-volume-thumb { position: absolute; left: 50%; bottom: 70%; width: 9px; height: 9px; border-radius: 50%; background: #fff; transform: translate(-50%, 50%); pointer-events: none; transition: width 0.15s ease, height 0.15s ease; }
.video-volume-track:hover .video-volume-thumb { width: 12px; height: 12px; }

.video-moments-panel { flex-shrink: 0; width: 0; background: #060604; color: #fff; overflow: hidden; transition: width 0.3s ease; }
.video-moments-panel.is-open { width: 360px; }

.video-context-menu { position: fixed; z-index: 80; background: #000; border-radius: 8px; padding: 10px 0; min-width: 240px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }
.video-context-menu[hidden] { display: none; }
.video-context-menu-item { display: flex; align-items: center; gap: 12px; width: 100%; background: none; border: none; color: #fff; text-align: left; padding: 13px 16px; font-family: var(--font-body); font-size: 0.85rem; cursor: pointer; }
.video-context-menu-item:hover { background: rgba(255, 255, 255, 0.15); }
.video-context-menu-item svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.video-info-panel { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 70; background: #000; color: #fff; border-radius: 8px; width: 280px; max-width: 90%; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); font-family: var(--font-body); }
.video-info-panel[hidden] { display: none; }
#videoDebugPanel { position: absolute; top: 11px; left: 11px; transform: none; background: rgba(0, 0, 0, 0.55); width: 305px; transition: width 0.2s ease; }
#videoDebugPanel:has(#videoDebugKey:not([hidden])) { width: 580px; }
.video-info-panel-close { background: none; border: none; color: #fff; font-size: 1.4rem; font-weight: 100; line-height: 1; cursor: pointer; padding: 0 4px; }
.video-shortcuts-panel { position: absolute; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.85) 100%); font-family: var(--font-body); opacity: 0; transition: opacity 0.22s ease; }
.video-shortcuts-panel.is-open { opacity: 1; }
.video-shortcuts-panel-content { display: flex; flex-direction: column; align-items: center; gap: 24px; transform: scale(0.85); transition: transform 0.22s ease; }
.video-shortcuts-panel.is-open .video-shortcuts-panel-content { transform: scale(1); }
.video-shortcuts-panel[hidden] { display: none; }
.video-shortcuts-panel-close { position: absolute; top: 16px; right: 16px; display: flex; align-items: center; justify-content: center; background: none; border: none; color: #bbb; cursor: pointer; padding: 0; transition: color 0.15s ease; }
.video-shortcuts-panel-close:hover { color: #fff; }
.video-shortcuts-panel-close svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.7; stroke-linecap: round; }
.video-shortcuts-title { margin: 0; color: #fff; font-size: 1.25rem; font-weight: 700; font-family: var(--font-body); text-transform: none; letter-spacing: normal; }
.video-shortcuts-list { display: grid; grid-template-columns: repeat(3, max-content); grid-template-rows: repeat(4, auto); grid-auto-flow: column; justify-content: center; gap: 11px 40px; max-width: 95%; }
.video-shortcut-item { display: flex; flex-direction: row; align-items: center; gap: 14px; text-align: left; }
.video-shortcut-key { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; box-sizing: border-box; width: 40px; height: 40px; padding: 0; border-radius: 6px; background: none; border: 2px solid #fff; color: #fff; font-size: 1.1rem; font-weight: 400; }
.video-shortcut-desc { color: #fff; font-size: 0.86rem; white-space: nowrap; }
.video-shortcut-arrow { width: 20px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.video-shortcut-arrow path { stroke-width: 2.4; }
.video-shortcut-arrow--horizontal { width: 36px; height: 20px; }
.video-debug-panel-close { position: absolute; top: 6px; right: 6px; z-index: 1; display: flex; align-items: center; justify-content: center; }
.video-debug-panel-close svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.video-debug-panel .video-info-panel-body { padding-top: 16px; font-size: 0.68rem; gap: 3px; }
.video-info-panel-body { padding: 10px 14px; font-size: 0.78rem; display: flex; flex-direction: column; gap: 8px; }
.video-info-panel-body div { display: flex; justify-content: space-between; gap: 12px; }
.video-info-panel-body div span:last-child { color: rgba(255, 255, 255, 0.75); text-align: right; }
.video-debug-panel .video-info-panel-body div { justify-content: flex-start; gap: 6px; }
.video-debug-panel .video-info-panel-body div span:last-child { color: #fff; font-weight: 700; text-align: left; }
.video-debug-panel-key { padding: 0 14px 2px; font-size: 0.68rem; font-family: var(--font-body); white-space: nowrap; }
.video-debug-panel-key[hidden] { display: none; }
.video-debug-panel-key span:last-child { color: #fff; font-weight: 700; }
.video-debug-panel-actions { display: flex; flex-direction: row; gap: 8px; padding: 2px 12px 14px; }
.video-debug-action-btn { flex: 1; min-width: 0; max-width: 137px; background: var(--blue); color: var(--yellow); border: none; border-radius: 4px; padding: 4px 3px; font-family: var(--font-body); font-size: 0.75rem; line-height: 1.15; font-weight: 700; text-align: center; white-space: nowrap; cursor: pointer; }
.video-debug-action-btn.is-copied { flex: 0 1 auto; }
.video-debug-panel-actions:has(.video-debug-action-btn.is-copied) .video-debug-action-btn:not(.is-copied) { flex: 0 0 auto; }

.video-toast { position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%); z-index: 60; background: rgba(0, 0, 0, 0.45); color: #fff; padding: 8px 14px; border-radius: 6px; font-family: var(--font-body); font-size: 0.8rem; white-space: nowrap; }
.video-toast[hidden] { display: none; }
.video-copy-toast { position: absolute; top: 11px; left: 11px; z-index: 75; display: flex; align-items: center; gap: 8px; background: rgba(0, 0, 0, 0.45); color: #fff; padding: 6px 14px; border-radius: 8px; font-family: var(--font-body); font-size: 0.78rem; font-weight: 400; white-space: nowrap; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); overflow: hidden; transform: translateY(-24px); opacity: 0; transition: transform 0.22s ease, opacity 0.22s ease; }
.video-copy-toast.is-open { transform: translateY(0); opacity: 1; }
.video-copy-toast[hidden] { display: none; }
.video-copy-toast svg { position: relative; z-index: 1; width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.video-copy-toast span { position: relative; z-index: 1; }
.video-copy-toast-divider { position: relative; z-index: 1; align-self: stretch; margin: -6px 0; width: 0.5px; background: rgba(255, 255, 255, 0.15); }
.video-copy-toast-close { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; background: none; border: none; color: #fff; padding: 0; cursor: pointer; }
.video-copy-toast-close svg { width: 22px; height: 22px; stroke-width: 1.6; }
.video-copy-toast-progress { position: absolute; inset: 0; background: rgba(255, 255, 255, 0.09); transform-origin: left; transform: scaleX(0); z-index: 0; }
.video-moments-panel-inner { width: 360px; height: 100%; display: flex; flex-direction: column; padding: 18px 0 4px; box-sizing: border-box; }
.video-moments-panel h3 { flex-shrink: 0; margin: 0; padding: 0 18px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); font-size: 1rem; color: #fff; font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-weight: 700; }
.video-transcript-search { flex-shrink: 0; display: flex; align-items: center; gap: 10px; min-height: 38px; margin: 10px 18px 0; padding: 5px 14px; background: #3a3a38; border-radius: 8px; cursor: text; box-sizing: border-box; transition: background 0.2s ease; }
.video-transcript-search:hover { background: #555551; }
.video-transcript-search:focus-within { outline: 2px solid #00ADEF; outline-offset: 2px; }
.video-transcript-search-icon { width: 21px; height: 21px; flex-shrink: 0; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.video-transcript-search:has(input:not(:placeholder-shown)) .video-transcript-search-icon { display: none; }
.video-transcript-search input { flex: 1; min-width: 0; background: none; border: none; outline: none; color: #fff; font-family: var(--font-body); font-size: 0.85rem; }
.video-transcript-search input::placeholder { color: #fff; }
.video-transcript-search-controls { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.video-transcript-search-controls[hidden] { display: none; }
.video-transcript-search-count { font-size: 0.78rem; color: #fff; font-family: var(--font-body); white-space: nowrap; margin-right: 2px; }
.video-transcript-nav-btn, .video-transcript-clear-btn { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; background: none; border: none; border-radius: 4px; padding: 0; color: #fff; cursor: pointer; transition: background 0.2s ease; }
.video-transcript-nav-btn, .video-transcript-clear-btn { width: 32px; height: 32px; }
.video-transcript-nav-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.video-transcript-nav-btn:hover, .video-transcript-clear-btn:hover { background: #858685; }
.video-transcript-clear-btn svg { width: 19px; height: 19px; stroke-linecap: round; stroke-linejoin: round; }
.video-transcript-clear-btn svg circle { fill: #fff; stroke: none; }
.video-transcript-clear-btn svg line { stroke: #3a3a38; stroke-width: 2.4; }
.video-transcript-search:hover .video-transcript-clear-btn svg line { stroke: #555551; }
.video-moments-list { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow-y: auto; padding: 0 18px; margin-top: 18px; scrollbar-width: none; -ms-overflow-style: none; }
.video-moments-list::-webkit-scrollbar { display: none; }
.video-moment { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: none; border: none; color: #fff; padding: 10px 18px; margin: 0 -18px; border-radius: 0; cursor: pointer; text-align: left; font-family: var(--font-body); transition: background 0.2s ease; }
.video-moment-text { flex: 1; font-size: 0.85rem; line-height: 1.4; color: rgba(255, 255, 255, 0.55); }
.video-moment-time-block { flex-shrink: 0; width: 56px; box-sizing: border-box; text-align: center; background: #27281f; color: rgba(255, 255, 255, 0.6); font-weight: 400; font-size: 0.78rem; padding: 6px 0; border-radius: 4px; }
.video-moment:hover { background: rgba(255, 255, 255, 0.1); }
.video-moment.is-current-match .video-moment-text, .video-moment:hover .video-moment-text { color: #fff; }
.video-moment.is-current-match .video-moment-time-block, .video-moment:hover .video-moment-time-block { background: #63655F; color: #fff; }
.noticia-date { display: block; color: var(--grey-700); font-size: 0.9rem; margin: 18px 0 0; }
.noticia-body p { font-size: 1.12rem; line-height: 1.7; color: var(--ink); margin: 0 0 20px; }
.noticia-share { display: flex; gap: 20px; margin-top: 12px; }
.noticia-share a { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: var(--ink); transition: color 0.2s ease; }
.noticia-share a svg { width: 28px; height: 28px; }
.noticia-share a:hover { color: var(--blue); }
.noticia-related { padding: 56px 0 72px; }
.noticia-related h2 { font-size: 2.2rem; margin: 0 0 32px; text-align: left; }
.noticia-related .noticia-related-head { max-width: none; padding: 0 40px; }
.noticia-related .noticia-related-grid-wrap { max-width: none; padding: 0 20px; }
.noticia-related .news-card { width: auto; }
.noticia-related .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
.noticia-related .news-image { aspect-ratio: 16/9; margin-bottom: 14px; }
.noticia-related .news-tag { font-family: var(--font-display); font-size: 1.05rem; font-weight: 400; letter-spacing: 0.06em; margin-bottom: 0; }
.noticia-related .news-card h3 { font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-size: 1.55rem; font-weight: 600; line-height: 1.28; margin: 8px 0 0; }
.noticia-related .news-card p { margin: 10px 0 0; font-family: var(--font-body); font-size: 1.05rem; line-height: 1.45; color: var(--ink); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.noticia-related .news-date { display: block; font-size: 0.85rem; margin-top: 12px; }

/* Collection product listing */
.collection-intro { padding: 32px 0 0; }
.collection-intro .container {
  max-width: var(--container-wide);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.collection-intro h1 {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: normal;
  font-size: 2.25rem;
  color: var(--ink);
  margin: 0;
}

.sort-dropdown { position: relative; flex-shrink: 0; margin-right: 40px; }
.sort-dropdown summary {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.15s ease;
}
.sort-dropdown summary::-webkit-details-marker { display: none; }
.sort-dropdown summary:hover { color: var(--blue); }
.sort-dropdown[open] summary { color: var(--blue); }
.sort-dropdown summary svg { width: 20px; height: 20px; }
.sort-menu {
  position: absolute;
  top: 100%;
  right: -14px;
  background: var(--white);
  border: none;
  border-radius: 0;
  box-shadow: none;
  min-width: 260px;
  padding: 2px 14px 28px 0;
  z-index: 20;
}
.sort-menu-item {
  display: block;
  width: 100%;
  text-align: right;
  padding: 0.48em 0;
  border-radius: 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.15s ease;
}
.sort-menu-item:hover { color: var(--blue); }

.collection-products-section { padding: 28px 0 88px; }
.collection-products-section .container { max-width: var(--container-wide); padding: 0 20px; }
.collection-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }

.collection-filters { margin-top: 10px; }
.filter-group { padding: 20px 0; border-bottom: 1px solid var(--grey-200); }
.filter-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  list-style: none;
}
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary:focus,
.filter-group summary:focus-visible { outline: none; }
.filter-group summary svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--ink); transition: color 0.15s ease; }
.filter-group summary.is-hovered svg,
.filter-group summary.is-active svg { color: var(--blue); }
.filter-group h3 { font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-size: 1rem; font-weight: 700; color: var(--ink); margin: 0; transition: color 0.15s ease; }
.filter-group summary.is-hovered h3 { color: var(--blue); }
.filter-options { display: flex; flex-direction: column; margin-top: 14px; }
.filter-option { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--ink); padding: 6px 0; cursor: pointer; transition: color 0.15s ease; }
.filter-option:hover { color: var(--blue); }
.filter-option input {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 1px solid var(--grey-200);
  background: var(--white);
  position: relative;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.filter-option input:checked {
  background: var(--ink);
  border-color: var(--ink);
}
.filter-option input:checked::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 2px;
  width: 4px;
  height: 7px;
  border: solid var(--white);
  border-width: 0 1.2px 1.2px 0;
  transform: rotate(45deg);
}
@media (max-width: 900px) {
  .collection-layout { grid-template-columns: 1fr; }
  .collection-filters { border-top: none; }
}

/* Players */
.players-section { padding: 48px 0 88px; }

.players-filters, .shop-filters { display: flex; gap: 30px; flex-wrap: wrap; margin-bottom: 96px; }
.players-filter, .shop-filter {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.92rem;
  color: var(--grey-700);
  padding: 0 0 14px;
  position: relative;
}
.players-filter::after, .shop-filter::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; background: var(--ink); transform: scaleX(0); transition: transform 0.2s ease; }
.players-filter:hover, .shop-filter:hover { color: var(--ink); }
.players-filter.active, .shop-filter.active { color: var(--ink); }
.players-filter.active::after, .shop-filter.active::after { transform: scaleX(1); }

.players-grid { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 28px; row-gap: 68px; }

.player-card { display: flex; flex-direction: column; }

.player-card-photo {
  position: relative;
  aspect-ratio: 3 / 3.4;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  pointer-events: none;
}
.player-card-photo::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -3%;
  bottom: 0;
  height: 55%;
  background: var(--grey-100);
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
  transition: background 0.3s ease;
}
.player-card:hover .player-card-photo::before { background: var(--blue); }

.player-card-photo img {
  height: 107%;
  max-width: 94%;
  width: auto;
  object-fit: contain;
  object-position: bottom;
}
.player-card-photo-front,
.player-card-photo-back {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  transition: opacity 0.3s ease;
}
.player-card-photo-front { opacity: 1; }
.player-card-photo-back { opacity: 0; }
.player-card:hover .player-card-photo-front { opacity: 0; }
.player-card:hover .player-card-photo-back { opacity: 1; }

.player-card-info { display: flex; align-items: center; padding-top: 16px; overflow: visible; }
.player-card-number {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 2.5rem;
  color: #4F6F87;
  line-height: 1;
  flex-shrink: 0;
  max-width: 110px;
  padding-right: 6px;
  margin-right: 10px;
  overflow: hidden;
  white-space: nowrap;
  opacity: 1;
  transition: max-width 0.35s ease, opacity 0.2s ease, margin-right 0.35s ease;
}
.player-card:hover .player-card-number { max-width: 0; opacity: 0; margin-right: 0; }

.player-card-name { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; transition: transform 0.35s ease; }
.player-card:hover .player-card-name { transform: translateX(var(--name-slide, -28px)); }

.player-card-first { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.03em; color: #4F6F87; font-weight: 600; }
.player-card-last { font-size: 1.05rem; text-transform: uppercase; font-weight: 700; color: var(--ink); font-family: var(--font-display); overflow-wrap: break-word; }

.player-card-meta { margin-left: auto; padding-left: 8px; padding-right: 14px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.player-card-position { font-size: 0.8rem; color: #4F6F87; white-space: nowrap; }
.player-card-arrow {
  width: 24px;
  height: 24px;
  color: #4F6F87;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.player-card:hover .player-card-arrow { opacity: 1; transform: translateX(0); }

/* Player profile page */
.player-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--blue-900) 0%, var(--blue-800) 55%, var(--blue) 100%);
  min-height: 620px;
  max-width: var(--container-wide);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
}
.player-hero-number {
  position: absolute;
  /* keeps clear of the sticky header so it's never covered while scrolling */
  top: 113px;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
}
.player-hero-number svg {
  height: 100%;
  width: auto;
  display: block;
  overflow: visible;
  transform: scale(1.08, 1.23);
  transform-origin: bottom right;
}
.player-hero-number text {
  fill: var(--yellow-dark);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
}
.player-hero-photo {
  position: absolute;
  right: 3%;
  bottom: 0;
  top: 0;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
}
.player-hero-photo img { height: 100%; width: auto; object-fit: contain; display: block; }
.player-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 56px;
  padding-top: 180px;
}
.player-hero-first {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.5rem;
  color: var(--white);
}
.player-hero-last {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 4.6rem;
  line-height: 0.95;
  color: var(--white);
  margin: 4px 0 10px;
}
.player-hero-last--coach { font-size: 6rem; white-space: nowrap; }
.player-hero-text--coach { margin-left: -56px; }
.coach-divider { height: 80px; background: var(--white); }
.player-hero-position {
  display: block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}
.player-hero-cta { flex-shrink: 0; }

.player-info-row { padding: 40px 0; border-bottom: 1px solid var(--grey-200); }
.player-info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.player-info-label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--grey-700); margin-bottom: 6px; }
.player-info-value { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); }

.player-bio { background: var(--grey-100); padding: 56px 0; }
.player-bio h2 { font-size: 1.8rem; margin: 0 0 24px; }
.player-bio-text {
  max-width: 850px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink);
  max-height: 27em;
  overflow: hidden;
  position: relative;
  transition: max-height 0.4s ease;
}
.player-bio-text p { margin: 0 0 1.2em; }
.player-bio-text p:first-child { font-size: 1.55rem; line-height: 1.5; font-weight: 500; }
.player-bio-text p:not(:first-child) { font-size: 1.05rem; line-height: 1.65; color: var(--grey-700); }
.player-bio-text:not(.expanded)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2.6em;
  background: linear-gradient(to bottom, rgba(244, 246, 248, 0), var(--grey-100));
}
.player-bio-text.expanded { max-height: 600px; }
.player-bio-toggle {
  margin-top: 18px;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 0.85rem;
  color: var(--ink);
}
.player-bio-toggle:hover { color: var(--blue); }
.player-bio-toggle-icon { font-size: 1.15rem; line-height: 1; }

.player-related { padding: 56px 0 72px; }
.player-related-head { display: flex; align-items: center; gap: 20px; }
.player-related h2 { font-size: 1.8rem; margin: 0; }

.player-related-carousel { position: relative; }
.player-related-arrow {
  position: absolute;
  top: 89px;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 0;
  border: none;
  background: var(--white);
  box-shadow: 0 6px 20px rgba(1, 21, 61, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 1.5rem;
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, background 0.2s ease;
  z-index: 3;
}
.player-related-prev { left: 134px; }
.player-related-next { right: 134px; }
.player-related-carousel:hover .player-related-arrow { opacity: 1; pointer-events: auto; }
.player-related-arrow:hover { background: var(--grey-200); }
.player-related-arrow.is-disabled { opacity: 0 !important; pointer-events: none !important; }

.player-related .news-grid--secondary {
  margin-top: 32px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
  gap: 22px;
  padding-left: max(20px, calc((100% - 1200px) / 2 + 20px));
  padding-right: 40px;
}
.player-related .news-grid--secondary::-webkit-scrollbar { display: none; }
.player-related .news-grid--secondary.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.player-related .news-grid--secondary .news-card { flex: 0 0 285px; width: 285px; user-select: none; }
.player-related .news-grid--secondary .news-image { aspect-ratio: 16/10; margin-bottom: 12px; pointer-events: none; }
.player-related .news-grid--secondary .news-card h3 { font-size: 1.1rem; margin-bottom: 6px; }

.player-related-progress { margin: 24px auto 0; width: 90px; height: 4px; position: relative; }
.player-related-progress::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grey-200);
  transform: translateY(-50%);
}
.player-related-progress-bar {
  position: absolute;
  top: 50%;
  left: 0;
  height: 4px;
  border-radius: 0;
  background: var(--ink);
  transform: translateY(-50%);
  transition: left 0.1s linear, width 0.1s linear;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%);
}

/* Responsive */
@media (max-width: 960px) {
  .secondary-inner { justify-content: flex-start; gap: 28px; padding-left: 4px; }
  .secondary-inner a span { display: none; }
  .mega-menu-panel { max-width: 100%; }
  .mega-primary { width: 170px; padding-top: 60px; }
  .mega-secondary { --mega-pad-t: 60px; --mega-pad-r: 20px; --mega-pad-b: 20px; --mega-pad-l: 20px; }
  .mega-close { right: 10px; top: 10px; background: rgba(0,0,0,0.35); color: var(--ink); }
  .hero { flex-direction: column; }
  .hero-feature { min-height: 46vh; }
  .hero-promo { min-height: 320px; }
  .trophy-inner, .foundation-inner, .banner-inner { flex-direction: column; text-align: center; gap: 28px; }
  .foundation-list li { text-align: left; }
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .shop-promo { grid-column: span 2; }
  .club-info-grid { grid-template-columns: 1fr; }
  .footer-links-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-mid-grid { grid-template-columns: 1fr; gap: 24px; }
  .players-grid { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .page-header h1 { font-size: 2.4rem; }
  .player-hero-last { font-size: 3.4rem; }
  .player-info-grid { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .noticia-article h1 { font-size: 2.1rem; }
  .noticia-related .container { padding: 0 20px; }
}
@media (max-width: 560px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-promo { grid-column: span 1; }
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
  .header-top-side { width: auto; }
  .hero-slide { padding: 28px; }
  .fixtures-section .container { padding: 0 20px; }
  .news-section .container { padding: 0 20px; }
  .player-related .news-grid--secondary { padding-left: 20px; padding-right: 20px; }
  .shop-section .container { padding: 0 20px; }
  .news-dark .container { padding: 0 20px; }
  .club-info .container { padding: 0 20px; }
  .support-banner .container,
  .trust-row .container,
  .site-footer .container { padding-left: 20px; padding-right: 20px; }
  .news-grid { grid-template-columns: 1fr; }
  .promo-inner { font-size: 0.78rem; padding: 0 10px; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .foundation-list li { text-align: center; padding-left: 0; }
  .foundation-list li::before { display: none; }
  .mega-primary { width: 130px; }
  .mega-primary-link { padding: 12px 14px; font-size: 0.88rem; }
  .players-grid { grid-template-columns: 1fr; row-gap: 48px; }
  .players-filters { gap: 20px; row-gap: 12px; }
  .player-hero { min-height: 520px; }
  .player-hero-inner { padding-top: 120px; padding-bottom: 32px; }
  .player-hero-last { font-size: 2.4rem; }
  .player-hero-number { top: 100px; }
  .player-hero-photo { right: -2%; top: 0; }
  .player-info-grid { grid-template-columns: 1fr; }
  .noticia-article h1 { font-size: 1.7rem; }
  .noticia-lead { font-size: 1.05rem; }
  .noticia-gallery { grid-template-columns: 1fr; }
  .noticia-related .news-grid { grid-template-columns: 1fr; }
}

/* Shop page */
.shop-quicknav { border-top: 1px solid var(--grey-200); border-bottom: 1px solid var(--grey-200); }
.shop-quicknav-inner { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; }
.shop-quicknav-inner a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 4px; font-size: 0.8rem; font-weight: 600; color: var(--ink); text-align: center; }
.shop-quicknav-inner svg { width: 26px; height: 26px; color: var(--blue); flex-shrink: 0; }
.shop-quicknav-inner a:hover { color: var(--blue); }

.shop-hero-carousel { position: relative; overflow: hidden; min-height: 640px; width: 100%; max-width: var(--container-wide); margin: 0 auto; }
.shop-hero-slide-text { position: relative; z-index: 3; max-width: 480px; }
.shop-hero-slide-text h2 { color: var(--yellow); }
.shop-hero-carousel .hero-cta {
  position: relative;
  overflow: hidden;
  z-index: 0;
  border-radius: 0;
  font-weight: 400;
  font-size: 1.05rem;
  padding: 0.85em 1.8em;
  background: var(--yellow);
  border: 1px solid var(--yellow);
  color: var(--blue);
}
.shop-hero-carousel .hero-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: translateY(100%);
  transition: transform 0.28s ease;
  z-index: -1;
}
.shop-hero-carousel .hero-cta:hover { background: var(--yellow); border-color: var(--blue); color: var(--yellow); }
.shop-hero-carousel .hero-cta:hover::before { transform: translateY(0); }
.shop-hero-carousel .hero-arrow {
  width: auto; height: auto;
  border: none;
  border-radius: 0;
  background: none;
  color: var(--yellow);
  padding: 0;
  display: flex;
  transition: transform 0.2s ease, color 0.2s ease;
}
.shop-hero-carousel .hero-arrow svg { width: 34px; height: 34px; }
.shop-hero-carousel .hero-arrow:hover { background: none; color: var(--blue-light); }
.shop-hero-carousel .shop-hero-prev:hover { transform: translateX(-8px); }
.shop-hero-carousel .shop-hero-next:hover { transform: translateX(8px); }
.shop-hero-carousel .hero-arrows { bottom: 28px; right: 40px; gap: 22px; }

.shop-hero-products { position: absolute; right: 0; bottom: 0; top: 0; width: 42%; z-index: 2; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; }
.shop-hero-product { position: relative; height: 100%; display: flex; align-items: flex-end; }
.shop-hero-product img { height: 92%; max-width: 90%; width: auto; object-fit: contain; filter: drop-shadow(0 26px 30px rgba(0,10,40,0.45)); }
.price-bubble {
  position: absolute;
  top: 8%; right: 6%;
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--blue-900);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; text-align: center;
  font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.02em;
  line-height: 1.15;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  transform: rotate(-9deg);
}
.price-bubble strong { display: block; font-size: 1.2rem; font-style: italic; font-weight: 700; }
.shop-hero-anniversary { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); width: 320px; height: 320px; opacity: 0.9; z-index: 1; pointer-events: none; }


.shop-catalog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px 28px; }
.shop-catalog-grid--duo { display: flex; gap: 28px; justify-content: start; }
.shop-catalog-grid--duo .product-card { flex: 0 0 calc((100% - 56px) / 3); }
.shop-catalog-grid--trio { grid-template-columns: repeat(3, 1fr); }
#produtos .container { max-width: var(--container-wide); padding: 0 20px; }

.product-image-front.tile-light, .product-image-back.tile-dark { display: flex; align-items: center; justify-content: center; }
.product-image-front.tile-light { background: var(--grey-100); }
.product-image-back.tile-dark { background: var(--blue-900); }
.product-icon { width: 92px; height: 92px; }
.tile-light .product-icon { color: var(--blue); }
.tile-dark .product-icon { color: var(--yellow); }

.collections-section { padding: 64px 0; }
.collections-section:has(.also-like-row) { padding-bottom: 32px; }
.collections-section .container { max-width: var(--container-wide); padding: 0 20px; }
.collections-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.collections-head h2 {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: normal;
  font-size: 2.25rem;
  color: var(--ink);
  margin: 0;
}
.collections-row { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; margin-right: -20px; position: relative; left: 0; transition: left 0.35s ease; }
.collections-row::-webkit-scrollbar { display: none; }
.collections-row.at-end { left: -20px; }
.collection-card {
  position: relative;
  flex: 0 0 calc((100vw - 44px) / 2.8);
  aspect-ratio: 3 / 3.4;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background-color: var(--grey-100);
}
.collection-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--card-bg, none);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
}
.collection-card:hover::before { transform: scale(1.08); }
.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,10,30,0.8) 0%, rgba(0,10,30,0) 45%);
}
.collection-card--gradient { background-image: none; background-color: var(--blue-900); background: linear-gradient(150deg, var(--blue-900) 0%, var(--blue) 100%); }
.collection-card--anniversary { background-color: var(--blue-900); }
.collection-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 190px; height: 190px; color: rgba(255,255,255,0.18); z-index: 1; transition: transform 0.5s ease; }
.collection-card:hover .collection-icon { transform: translate(-50%, -50%) scale(1.08); }
.collection-caption { position: relative; z-index: 2; color: var(--yellow); font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-weight: 700; font-size: 1.3rem; padding: 26px; }

/* Outlet */
.outlet-section { padding: 64px 0 88px; }
.outlet-section .container { max-width: var(--container-wide); padding: 0 20px; }
.outlet-section .collections-head h2 { margin-left: 20px; }
.outlet-row { display: flex; gap: 28px; overflow-x: hidden; scroll-behavior: smooth; }
.outlet-card { flex: 0 0 calc((100% - 56px) / 3); }
.collections-row.is-dragging,
.outlet-row.is-dragging,
.category-row.is-dragging,
.moda-product-row.is-dragging { user-select: none; }
.collections-row a,
.collections-row img,
.outlet-row a,
.outlet-row img,
.category-row a,
.category-row img,
.moda-product-row a,
.moda-product-row img { -webkit-user-drag: none; user-drag: none; }
.collections-row.is-dragging img,
.outlet-row.is-dragging img,
.category-row.is-dragging img,
.moda-product-row.is-dragging img { pointer-events: none; }
.outlet-meta { display: flex; flex-direction: column; margin-bottom: 10px; }
.outlet-final-label { color: var(--sale-red); font-weight: 700; font-size: 0.85rem; }
.outlet-timer { color: var(--sale-red); font-size: 0.85rem; }
.outlet-ticker { height: 1.2em; overflow: hidden; margin-top: 2px; font-size: 0.85rem; }
.outlet-ticker-track { display: flex; flex-direction: column; animation: outlet-ticker-cycle 6s ease-in-out infinite; }
.outlet-discount { display: block; height: 1.2em; line-height: 1.2em; color: var(--sale-red); font-weight: 700; font-size: 1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes outlet-ticker-cycle {
  0%, 40% { transform: translateY(0); }
  50%, 90% { transform: translateY(-1.2em); }
  100% { transform: translateY(-2.4em); }
}
.price-row--promo { color: var(--sale-red); font-weight: 700; }
.price-row--struck { color: var(--grey-700); font-size: 0.85rem; }
.price-row--struck strong { font-weight: 400; text-decoration: line-through; }

/* Homem / Mulher / Criança */
.gender-section { padding: 8px 0 88px; }
.gender-section .container { max-width: var(--container-wide); padding: 0 20px; }
.gender-container {
  position: relative;
  aspect-ratio: 1530 / 1571;
}
.gender-tile {
  position: absolute;
  display: flex;
  text-decoration: none;
}
.gender-photo {
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.gender-tile:hover .gender-photo { transform: scale(1.04); }

.gender-tile--homem {
  left: 4.2%;
  top: 0;
  width: 38.5%;
  height: 58.4%;
  align-items: flex-start;
  gap: 10px;
}
.gender-tile--homem .gender-photo { flex: 1; height: 100%; overflow: hidden; }
.gender-tile--homem .gender-photo { background-size: contain; background-repeat: no-repeat; background-color: var(--grey-100); }

.gender-tile--mulher {
  left: 45.9%;
  top: 16.5%;
  width: 35%;
  height: auto;
  flex-direction: column;
}
.gender-tile--mulher .gender-photo { flex: none; aspect-ratio: 1 / 1; }

.gender-tile--crianca {
  left: 32.8%;
  top: 62.3%;
  width: 35%;
  height: auto;
  flex-direction: column;
}
.gender-tile--crianca .gender-photo { flex: none; aspect-ratio: 1 / 1; }

.gender-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 2.25rem;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink);
  text-align: center;
  padding-top: 12px;
}
.gender-tile--mulher .gender-label { text-align: left; padding-left: 24px; }
.gender-tile--crianca .gender-label { text-align: right; }
.gender-label--vertical {
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  text-align: left;
  padding-top: 0;
  flex-shrink: 0;
}

/* Comprar por categoria */
.category-section { padding: 64px 0 88px; }
.category-section .container { max-width: var(--container-wide); padding: 0 20px; }
.category-section .collections-head h2 { margin-left: 20px; }

/* Moda (Homem/Mulher/Criança) */
.moda-banner { max-width: var(--container-wide); margin: 0 auto; overflow: hidden; }
.moda-banner img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; display: block; }

.moda-square-wrap {
  position: relative;
  z-index: 2;
  max-width: var(--container-wide);
  margin: -180px auto 0;
  padding: 0 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.moda-square { width: 440px; height: 480px; flex-shrink: 0; max-width: 100%; background: var(--grey-100); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.moda-square img { max-width: 65%; max-height: 65%; object-fit: contain; }

.moda-title-inline { max-width: 900px; padding-bottom: 12px; align-self: flex-start; margin-top: 232px; }
.moda-title-inline h1 {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: normal;
  font-size: 2.25rem;
  color: var(--ink);
  margin: 0 0 10px;
}
.moda-title-inline p { color: var(--ink); font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-size: 1.18rem; margin: 0; }

.moda-tabs { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 52px; }
.moda-tabs a { font-family: var(--font-body); font-weight: 500; font-size: 0.85rem; color: var(--ink); text-decoration: none; transition: color 0.15s ease; }
.moda-tabs a:hover { color: var(--blue); }

.moda-block { padding: 56px 0; }
.moda-block .container { max-width: var(--container-wide); padding: 0 20px; }
.collections-section + .moda-block { padding-top: 20px; }
.moda-product-row { display: flex; gap: 28px; overflow-x: hidden; scroll-behavior: smooth; }
.moda-product-row .product-card { flex: 0 0 calc((100% - 84px) / 4); }

@media (max-width: 900px) {
  .moda-product-row .product-card { flex: 0 0 calc((100% - 28px) / 2); }
}
@media (max-width: 560px) {
  .moda-product-row .product-card { flex: 0 0 100%; }
}

/* Sócios */
.socios-news-carousel {
  position: relative;
  overflow: hidden;
  min-height: 630px;
  max-width: var(--container-wide);
  margin: 0 auto;
}
.socios-news-carousel .hero-cta {
  position: relative;
  overflow: hidden;
  z-index: 0;
  border-radius: 0;
  font-weight: 400;
  font-size: 1.05rem;
  padding: 0.85em 1.8em;
  background: var(--yellow);
  border: 1px solid var(--yellow);
  color: var(--blue);
}
.socios-news-carousel .hero-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: translateY(100%);
  transition: transform 0.35s ease;
  z-index: -1;
}
.socios-news-carousel .hero-cta:hover { background: var(--yellow); border-color: var(--blue); color: var(--yellow); }
.socios-news-carousel .hero-cta:hover::before { transform: translateY(0); }
.socios-news-carousel .hero-arrow {
  width: auto; height: auto;
  border: none;
  border-radius: 0;
  background: none;
  color: var(--yellow);
  padding: 0;
  display: flex;
  transition: transform 0.2s ease, color 0.2s ease;
}
.socios-news-carousel .hero-arrow svg { width: 34px; height: 34px; }
.socios-news-carousel .hero-arrow:hover { background: none; color: var(--blue-light); }
.socios-news-carousel .socios-news-prev:hover { transform: translateX(-8px); }
.socios-news-carousel .socios-news-next:hover { transform: translateX(8px); }
.socios-news-carousel .hero-arrows { bottom: 28px; right: 40px; gap: 22px; }

.socios-intro-title { padding: 40px 0 0; }
.socios-intro-title .container { max-width: var(--container-wide); padding: 0 20px; }
.socios-intro-title h1 { font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-size: 2.4rem; color: var(--ink); margin: 0 0 12px; }
.socios-intro-title p { color: var(--ink); font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-size: 1.15rem; max-width: 900px; margin: 0; }

.socios-benefits { padding: 24px 0 64px; }
.socios-benefits .container { max-width: var(--container-wide); padding: 0 20px; }
.socios-benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 0; }
.socios-benefit-card { padding: 40px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.socios-benefit-icon { width: 72px; height: 72px; color: var(--blue); margin-bottom: 20px; }

.icon-tv-wrap { position: relative; width: 72px; height: 72px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; }
.icon-tv-wrap .socios-benefit-icon { margin-bottom: 0; }
.icon-tv-logo { position: absolute; top: 53%; left: 50%; width: 45px; height: auto; transform: translate(-50%, -50%) scale(1); animation: tvLogoPulse 1.8s ease-in-out infinite; }

.icon-discount { animation: tagSwing 2.4s ease-in-out infinite; transform-origin: 60.4% 31.25%; animation-delay: 0.3s; }

.icon-ticket { animation: ticketPop 2.6s ease-in-out infinite; transform-origin: 50% 50%; animation-delay: 0.6s; }

@keyframes tvLogoPulse {
  0%, 100% { transform: translate(-50%, -50%) translateY(0) scale(1); filter: drop-shadow(0 0 0 rgba(1, 74, 173, 0)); opacity: 0.92; }
  50% { transform: translate(-50%, -50%) translateY(-5px) scale(1.18); filter: drop-shadow(0 0 7px rgba(1, 74, 173, 0.5)); opacity: 1; }
}

@keyframes tagSwing {
  0%, 100% { transform: rotate(-9deg); }
  50% { transform: rotate(9deg); }
}

@keyframes ticketPop {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(-6deg); }
}

@media (prefers-reduced-motion: reduce) {
  .icon-tv-logo, .icon-discount, .icon-ticket {
    animation: none;
  }
}
.socios-benefit-card h3 { font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-size: 1.3rem; font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.socios-benefit-card p { color: var(--ink); font-size: 1.2rem; margin: 0; }
.socios-benefit-card p strong { font-weight: 700; }

.socios-mission { background: var(--blue-900); padding: 72px 0; max-width: var(--container-wide); margin: 0 auto; }
.socios-mission .container { max-width: var(--container-wide); padding: 0 20px; }
.socios-mission-inner { display: flex; align-items: center; justify-content: space-between; gap: 56px; }
.socios-mission-text { max-width: 580px; }
.socios-mission-eyebrow { display: block; color: var(--yellow); font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; font-weight: 600; margin-bottom: 10px; }
.socios-mission-text h2 { font-family: var(--font-body); text-transform: none; letter-spacing: normal; color: var(--white); font-size: 2.2rem; margin: 0 0 16px; }
.socios-mission-text p { color: var(--white); margin: 0 0 16px; font-size: 1.15rem; }
.socios-mission-text .hero-cta {
  position: relative;
  overflow: hidden;
  z-index: 0;
  border-radius: 0;
  font-weight: 400;
  font-size: 1.05rem;
  padding: 0.85em 1.8em;
  background: var(--yellow);
  border: 1px solid var(--yellow);
  color: var(--blue);
}
.socios-mission-text .hero-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: translateY(100%);
  transition: transform 0.35s ease;
  z-index: -1;
}
.socios-mission-text .hero-cta:hover { background: var(--yellow); border-color: var(--blue); color: var(--yellow); }
.socios-mission-text .hero-cta:hover::before { transform: translateY(0); }
.socios-mission-text .btn { margin-top: 12px; }
.socios-mission-photo { flex-shrink: 0; width: 220px; display: flex; align-items: center; justify-content: center; }
.socios-mission-photo img { max-width: 100%; filter: drop-shadow(0 26px 30px rgba(0,10,40,0.45)); }

.socios-compare { padding: 72px 0 88px; }
.socios-compare .container { max-width: var(--container-wide); padding: 0 20px; }
.socios-compare-intro { max-width: 640px; color: var(--grey-700); margin: 8px 0 0; }
.socios-compare-table-wrap { overflow-x: auto; margin-top: 32px; }
.socios-compare-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.socios-compare-table th, .socios-compare-table td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--grey-200); }
.socios-compare-table th:first-child, .socios-compare-table td:first-child { text-align: left; }
.socios-compare-table thead th { font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-size: 1rem; color: var(--ink); font-weight: 700; }
.socios-compare-table tbody td:first-child { color: var(--ink); font-weight: 500; }
.socios-compare-table td.yes { color: var(--blue); font-weight: 700; font-size: 1.1rem; }
.socios-compare-table td.no { color: var(--grey-200); font-size: 1.1rem; }
.socios-compare-table th:nth-child(3), .socios-compare-table td:nth-child(3) { background: var(--grey-100); }
.socios-compare-table thead th:nth-child(3) { color: var(--blue); }
.socios-compare-cta { text-align: center; margin-top: 40px; }

@media (max-width: 900px) {
  .socios-benefits-grid { grid-template-columns: 1fr; }
  .socios-mission-inner { flex-direction: column; text-align: center; }
  .socios-mission-text { max-width: 100%; }
}

/* Loja sitemap */
.shop-sitemap .container { max-width: var(--container-wide); padding: 0 20px 0 60px; }
.shop-sitemap-grid { grid-template-columns: repeat(7, 1fr); padding: 48px 0; }
.collections-section + .shop-sitemap { margin-top: 98px; margin-bottom: 18px; }
.shop-sitemap .footer-col h4 { font-size: 1.15rem; color: var(--ink); }
.shop-sitemap .footer-col h4 a { font-size: inherit; font-weight: inherit; color: inherit; margin-bottom: 0; }
.category-row { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; margin-right: -20px; position: relative; left: 0; transition: left 0.35s ease; }
.category-row::-webkit-scrollbar { display: none; }
.category-row.at-end { left: -20px; }
.category-card {
  position: relative;
  flex: 0 0 calc((100vw - 44px) / 2.8);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background-color: var(--grey-100);
}
.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--card-bg, none);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
}
.category-card:hover::before { transform: scale(1.08); }
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,10,30,0.8) 0%, rgba(0,10,30,0) 45%);
}
.category-card--gradient { background-image: none; background-color: var(--blue-900); background: linear-gradient(150deg, var(--blue-900) 0%, var(--blue) 100%); }
.category-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 150px; height: 150px; color: rgba(255,255,255,0.18); z-index: 1; transition: transform 0.5s ease; }
.category-card:hover .category-icon { transform: translate(-50%, -50%) scale(1.08); }
.category-caption { position: relative; z-index: 2; color: var(--yellow); font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-weight: 700; font-size: 1.15rem; padding: 22px; }

@media (max-width: 900px) {
  .shop-catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .outlet-card { flex: 0 0 calc((100% - 28px) / 2); }
  .shop-catalog-grid--duo .product-card { flex: 0 0 calc((100% - 28px) / 2); }
  .shop-hero-carousel { min-height: 560px; }
  .shop-hero-products { width: 34%; }
  .shop-hero-anniversary { width: 220px; height: 220px; }
  .gender-container { aspect-ratio: auto; display: flex; flex-direction: column; gap: 20px; }
  .gender-tile { position: static; width: 100% !important; height: auto !important; }
  .gender-tile--homem { flex-direction: column; }
  .gender-tile--homem .gender-photo { width: 100%; height: 340px; flex: none; }
  .gender-tile--mulher .gender-photo, .gender-tile--crianca .gender-photo { height: 340px; flex: none; }
  .gender-label--vertical { writing-mode: horizontal-tb; transform: none; text-align: center; padding: 12px 0 0; order: 2; }
}
@media (max-width: 560px) {
  .shop-catalog-grid { grid-template-columns: 1fr; }
  .outlet-card { flex: 0 0 100%; }
  .shop-catalog-grid--duo .product-card { flex: 0 0 100%; }
  .shop-quicknav-inner { gap: 28px; }
  .shop-hero-carousel .hero-slide { padding: 0 24px; }
  .shop-hero-products, .shop-hero-anniversary { display: none; }
}

/* Product page */
.pdp-delivery-bar { background: var(--grey-100); padding: 14px 0; text-align: center; font-size: 0.88rem; color: var(--grey-700); }
.pdp-delivery-bar span { font-weight: 700; color: var(--ink); }

/* Generic product page (placeholder items without a dedicated PDP) */
.generic-pdp-section { padding: 48px 0 88px; }
.generic-pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; max-width: var(--container-wide); }
.generic-pdp-gallery { background: var(--grey-100); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.generic-pdp-tile { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.generic-pdp-tile svg { width: 140px; height: 140px; color: var(--ink); }
.generic-pdp-tile img { max-width: 55%; max-height: 55%; object-fit: contain; }
.generic-pdp-info h1 { font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-size: 2rem; color: var(--ink); margin: 0 0 24px; }
.generic-pdp-note { color: var(--grey-700); font-size: 0.92rem; margin: 20px 0; }
.generic-pdp-back { display: block; margin-top: 16px; color: var(--grey-700); font-size: 0.9rem; transition: color 0.15s ease; }
.generic-pdp-back:hover { color: var(--blue); }
@media (max-width: 700px) {
  .generic-pdp-grid { grid-template-columns: 1fr; }
}

.pdp-section { padding: 48px 0 72px; }
.pdp-section .container { max-width: var(--container-wide); padding: 0 56px 0 20px; }
.pdp-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 56px; align-items: start; }

.pdp-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pdp-gallery-col { display: flex; flex-direction: column; gap: 20px; }
.pdp-gallery-tile { background: var(--grey-100); overflow: hidden; }
.pdp-gallery-tile img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.pdp-gallery-tile--tall img { aspect-ratio: 3 / 4; object-fit: cover; }

.pdp-info h1 { font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-weight: 700; font-size: 2.1rem; line-height: 1.2; color: var(--ink); margin-bottom: 0.5em; }
.pdp-price { margin-bottom: 24px; }

.pdp-label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--grey-700); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }

.pdp-variants { margin-bottom: 24px; }
.pdp-variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-variant-btn { width: 46px; height: 46px; padding: 4px; border-radius: 0; border: 1px solid var(--grey-200); background: var(--white); cursor: pointer; transition: border-color 0.15s ease; }
.pdp-variant-btn img { width: 100%; height: 100%; object-fit: contain; }
.pdp-variant-btn:hover { border-color: var(--blue); }
.pdp-variant-btn.is-active { border: 1.5px solid var(--ink); }

.pdp-sizes { margin-bottom: 24px; }
.pdp-size-options { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-size-btn { min-width: 48px; height: 46px; padding: 0 14px; border-radius: 0; border: 1px solid var(--grey-200); background: var(--white); font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; color: var(--ink); cursor: pointer; transition: border-color 0.15s ease; }
.pdp-size-btn:hover { border-color: var(--blue); color: var(--blue); }
.pdp-size-btn.is-active { border: 1.5px solid var(--ink); }
.pdp-size-btn.is-error { border-color: var(--sale-red); color: var(--sale-red); }
.pdp-size-error { display: none; color: var(--sale-red); font-family: var(--font-body); font-size: 0.72rem; margin-top: 4px; }
.pdp-size-error.is-visible { display: block; }

.pdp-qty-row { display: flex; margin-bottom: 14px; }
.pdp-buy-row { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.pdp-qty { display: flex; align-items: center; gap: 10px; }
.pdp-qty-btn { width: 32px; height: 46px; border: none; background: transparent; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.pdp-qty-btn:hover { color: var(--blue); }
.pdp-qty-value { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--grey-200); font-weight: 400; font-size: 0.95rem; color: var(--ink); }
.pdp-personalize { position: relative; overflow: hidden; z-index: 0; width: 64px; height: 48px; padding: 0; border-radius: 0; border: 1px solid var(--ink); background: var(--white); display: flex; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; flex-shrink: 0; transition: border-color 0.2s ease, color 0.2s ease; }
.pdp-personalize svg { width: 24px; height: 24px; position: relative; }
.pdp-personalize::before { content: ""; position: absolute; inset: 0; background: var(--blue); transform: translateY(100%); transition: transform 0.28s ease; z-index: -1; }
.pdp-personalize:hover { border-color: var(--blue); color: var(--yellow); }
.pdp-personalize:hover::before { transform: translateY(0); }

.pdp-wishlist { width: 48px; height: 48px; padding: 0; border: none; background: none; display: flex; align-items: center; justify-content: center; color: #9CA3AF; cursor: pointer; flex-shrink: 0; }
.pdp-wishlist svg { width: 34px; height: 34px; fill: transparent; transition: fill 0.4s ease, stroke 0.4s ease; }
.pdp-wishlist:hover svg { fill: var(--blue); stroke: var(--blue); }
.pdp-wishlist.is-active svg { fill: var(--blue); stroke: var(--blue); }
.pdp-add, .pdp-buy { border-radius: 0; flex: 1; height: 48px; font-family: var(--font-body); font-weight: 400; font-size: 1rem; text-transform: none; letter-spacing: normal; padding: 0 30px; }
.pdp-add { position: relative; overflow: hidden; z-index: 0; background: var(--white); border: 1px solid var(--ink); color: var(--ink); transition: border-color 0.2s ease, color 0.2s ease; }
.pdp-add::before { content: ""; position: absolute; inset: 0; background: var(--blue); transform: translateY(100%); transition: transform 0.28s ease; z-index: -1; }
.pdp-add:hover { border-color: var(--blue); color: var(--yellow); }
.pdp-add:hover::before { transform: translateY(0); }
.pdp-buy { position: relative; overflow: hidden; z-index: 0; background: var(--ink); border: 1px solid var(--ink); color: var(--yellow); transition: border-color 0.2s ease; }
.pdp-buy::before { content: ""; position: absolute; inset: 0; background: var(--blue); transform: translateY(100%); transition: transform 0.28s ease; z-index: -1; }
.pdp-buy:hover { border-color: var(--blue); }
.pdp-buy:hover::before { transform: translateY(0); }

.pdp-tab-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 18px 0; background: none; border: none; font-family: var(--font-body); font-weight: 500; font-size: 1.3rem; color: var(--ink); cursor: pointer; text-align: left; transition: color 0.15s ease; }
.pdp-tab-toggle:hover { color: var(--blue); }
.pdp-tab-toggle svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
.pdp-tab-toggle.is-open svg { transform: rotate(180deg); }
.pdp-tab-panel { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
#details-tab { scroll-margin-top: 45px; }
.pdp-tab-panel p { margin: 0 0 12px; padding-top: 16px; font-size: 0.98rem; line-height: 1.6; color: var(--ink); }
.pdp-tab-panel.is-open { max-height: 320px; }
.pdp-clamp-4 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.pdp-more-link { display: inline-block; margin-top: 4px; font-weight: 400; font-size: 0.9rem; color: var(--ink); text-decoration: underline; }
.pdp-more-link:hover { color: var(--ink); }

.pdp-details-section { padding: 8px 0 72px; }
.pdp-details-section .container { max-width: var(--container-wide); padding: 0 48px 0 32px; }
.pdp-details-inner { max-width: none; width: calc(100% - 16px); margin-left: 16px; }
.pdp-details-tabnav { display: flex; gap: 64px; border-bottom: 1px solid var(--grey-200); margin-bottom: 24px; }
.pdp-details-tabbtn { padding: 14px 0; background: none; border: none; border-bottom: 4px solid transparent; margin-bottom: -1px; font-family: var(--font-body); font-weight: 500; font-size: 1.4rem; color: var(--ink); cursor: pointer; transition: color 0.15s ease, border-color 0.15s ease; }
.pdp-details-tabbtn:hover { color: var(--blue); }
.pdp-details-tabbtn.is-active { color: var(--blue); border-bottom-color: var(--blue); }
.pdp-details-grid { display: grid; grid-template-columns: 1fr 440px; gap: 100px; align-items: start; }
.pdp-details-text h2 { font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-weight: 700; font-size: 2.1rem; color: var(--ink); margin-bottom: 24px; }
.pdp-details-grid--sheet { grid-template-columns: 1fr; }
.pdp-details-grid--sheet .pdp-details-text h2,
.pdp-details-grid--sheet .pdp-details-image { display: none; }
.pdp-details-image { background: var(--grey-100); }
.pdp-details-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.pdp-details-panel { display: none; }
.pdp-details-panel.is-active { display: block; }
.pdp-details-panel p { margin: 0 0 12px; font-size: 1.18rem; line-height: 1.7; color: var(--ink); }
.pdp-spec-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 48px; }
.pdp-spec-col h3 { font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-weight: 700; font-size: 1.4rem; color: var(--ink); margin: 28px 0 14px; }
.pdp-spec-col h3:first-child { margin-top: 0; }
.pdp-spec-row { display: flex; align-items: center; gap: 12px; padding: 6px 0; font-size: 1rem; color: var(--ink); }
.pdp-spec-row--dash { gap: 0; }
.pdp-spec-row svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--ink); }
.pdp-spec-dash { font-weight: 700; }
.pdp-size-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pdp-size-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.pdp-size-table th, .pdp-size-table td { text-align: left; padding: 32px 28px; border-bottom: 1px solid var(--grey-200); }
.pdp-size-table th { font-family: var(--font-body); font-weight: 700; color: var(--ink); text-transform: none; font-size: 1.4rem; letter-spacing: normal; }
.pdp-size-table td:first-child { font-weight: 700; }
.pdp-size-guide h3 { font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-weight: 700; font-size: 1.5rem; color: var(--ink); margin: 0 0 14px; }
.pdp-size-guide p { margin: 0 0 12px; font-size: 1.12rem; line-height: 1.65; color: var(--ink); }
.pdp-size-diagram { display: block; width: 100%; max-width: 640px; margin-top: 20px; }
.pdp-delivery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.pdp-delivery-col h3 { font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-weight: 700; font-size: 1.4rem; color: var(--ink); margin: 0 0 14px; }
.pdp-delivery-col .pdp-spec-row a { color: var(--ink); text-decoration: underline; }
.pdp-delivery-col .pdp-spec-row a:hover { color: var(--blue); }
@media (max-width: 900px) {
  .pdp-delivery-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 700px) {
  .pdp-size-grid { grid-template-columns: 1fr; }
}

.pdp-share { margin-top: 28px; }
.pdp-share .pdp-label { margin: 0 0 14px; font-family: var(--font-body); font-weight: 500; font-size: 1.3rem; color: var(--ink); text-transform: none; letter-spacing: normal; }
.pdp-share-icons { display: flex; align-items: center; gap: 18px; }
.pdp-share a { display: flex; align-items: center; justify-content: center; color: var(--ink); }
.pdp-share a:hover { color: var(--blue); }
.pdp-share svg { width: 26px; height: 26px; }

/* Complete your purchase (bundle) */
.bundle-section { padding: 0 0 10px; }
.bundle-head { padding: 0 60px; margin-bottom: 24px; }
.bundle-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--grey-200); margin: 0 20px; padding: 30px 40px; }
.bundle-items { display: flex; align-items: center; gap: 0; }
.bundle-item { display: flex; align-items: center; gap: 18px; text-decoration: none; color: inherit; }
.bundle-item-info h4 { transition: color 0.2s ease; }
.bundle-item:hover .bundle-item-info h4,
.bundle-item:hover .product-price .price-row:not(.price-row--member):not(.price-row--pvp) { color: var(--blue); }
.bundle-item img { width: 112px; height: 112px; object-fit: contain; background: var(--grey-100); flex-shrink: 0; }
.bundle-item-icon { width: 112px; height: 112px; display: flex; align-items: center; justify-content: center; background: var(--grey-100); color: var(--ink); flex-shrink: 0; }
.bundle-item-icon svg { width: 44px; height: 44px; }
.bundle-box--second { margin: 20px 20px 0; }
.bundle-item-info h4 { font-family: var(--font-body); font-weight: 500; font-size: 1rem; color: var(--ink); text-transform: none; letter-spacing: normal; margin: 0 0 14px; width: 150px; }
.bundle-item-info .product-price { margin-bottom: 0; }
.bundle-item-info .product-price .price-row { width: 150px; gap: 20px; }
.also-like-row .price-note { color: var(--ink); }
.also-like-row .product-card h3 { min-height: 54.4px; }
.also-like-wallet-note { margin-top: -2px; }
.also-like-row .product-card h3 { transition: color 0.2s ease; }
.also-like-row .product-card h3:hover { color: var(--blue); }
.bundle-wallet-note { margin-top: -2px; }
.bundle-plus { width: 24px; height: 24px; margin: 0 2px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; line-height: 1; color: var(--grey-700); flex-shrink: 0; transform: translateX(-1px); }
.bundle-summary { min-width: 400px; }
.bundle-summary .product-price { margin-bottom: 16px; }
.bundle-add-btn { position: relative; overflow: hidden; z-index: 0; width: 100%; height: 56px; border-radius: 0; background: var(--ink); border: 1px solid var(--ink); color: var(--yellow); font-family: var(--font-body); font-weight: 400; font-size: 1.3rem; text-transform: none; letter-spacing: normal; transition: border-color 0.2s ease; }
.bundle-add-btn::before { content: ""; position: absolute; inset: 0; background: var(--blue); transform: translateY(100%); transition: transform 0.28s ease; z-index: -1; }
.bundle-add-btn:hover { border-color: var(--blue); }
.bundle-add-btn:hover::before { transform: translateY(0); }
@media (max-width: 900px) {
  .bundle-box { flex-direction: column; align-items: stretch; padding: 24px; }
  .bundle-items { flex-wrap: wrap; }
  .bundle-summary { min-width: 0; }
}

.pdp-sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; background: var(--white); border-top: 1px solid var(--grey-200); transform: translateY(100%); transition: transform 0.25s ease; z-index: 60; }
.pdp-sticky-bar.is-visible { transform: translateY(0); }
.pdp-sticky-inner { display: flex; align-items: center; gap: 14px; padding: 14px 40px; max-width: var(--container-wide); margin: 0 auto; }
.pdp-sticky-title { flex: 1; font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-weight: 500; font-size: 1.55rem; color: var(--ink); }
.pdp-sticky-inner .pdp-add, .pdp-sticky-inner .pdp-buy { flex: none; height: 50px; padding: 0 30px; font-size: 1.05rem; }
.pdp-sticky-inner .pdp-add { margin-left: -16px; }
.pdp-sticky-inner .pdp-buy { margin-left: -4px; }
.pdp-sticky-inner .pdp-qty-value { border-color: var(--ink); width: 40px; height: 40px; }
.pdp-sticky-inner .pdp-qty-btn { height: 40px; }

/* Mini cart toast */
.pdp-cart-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.65); z-index: 690; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s; }
.pdp-cart-backdrop.is-open { opacity: 1; visibility: visible; }
.pdp-cart-toast { position: fixed; top: 80px; right: 0; width: 360px; background: var(--white); border: 1px solid var(--grey-200); box-shadow: 0 -6px 16px rgba(0,0,0,0.06); padding: 54px 24px; z-index: 700; transform: translateX(100%); transition: transform 0.35s ease; }
.pdp-cart-toast.is-open { transform: translateX(0); }
.pdp-cart-toast-header { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.pdp-cart-toast-check { display: flex; align-items: center; justify-content: center; color: var(--ink); flex-shrink: 0; margin-top: -18px; }
.pdp-cart-toast-check svg { width: 30px; height: 30px; }
.pdp-cart-toast-msg { flex: 1; font-family: var(--font-body); font-size: 0.85rem; color: var(--ink); margin-top: -18px; }
.pdp-cart-toast-close { background: none; border: none; font-family: var(--font-body); font-weight: 300; font-size: 2rem; line-height: 1; color: var(--blue); cursor: pointer; padding: 0; margin-top: -68px; margin-right: -4px; }
.pdp-cart-toast-body { display: flex; gap: 14px; margin-bottom: 16px; }
.pdp-cart-toast-body img { width: 78px; height: 78px; object-fit: contain; background: var(--grey-100); flex-shrink: 0; }
.pdp-cart-toast-info { flex: 1; min-width: 0; }
.pdp-cart-toast-info h4 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--ink); text-transform: none; letter-spacing: normal; margin: 0 0 4px; }
.pdp-cart-toast-meta { display: block; font-family: var(--font-body); font-size: 0.78rem; color: #B4BCC6; margin-bottom: 8px; }
.pdp-cart-toast-info .product-price { margin-bottom: 0; margin-right: -10px; }
.pdp-cart-toast-btn { position: relative; overflow: hidden; z-index: 0; display: block; width: 100%; text-align: center; height: 52px; line-height: 52px; padding: 0; margin-top: 10px; background: var(--ink); color: var(--yellow); border: 1px solid var(--ink); border-radius: 0; font-family: var(--font-body); font-weight: 400; font-size: 1.1rem; text-decoration: none; text-transform: none; letter-spacing: normal; transition: border-color 0.2s ease; }
.pdp-cart-toast-btn::before { content: ""; position: absolute; inset: 0; background: var(--blue); transform: translateY(100%); transition: transform 0.28s ease; z-index: -1; }
.pdp-cart-toast-btn:hover { border-color: var(--blue); }
.pdp-cart-toast-btn:hover::before { transform: translateY(0); }
.pdp-cart-toast.is-compact { padding-bottom: 22px; }
.pdp-cart-toast.is-compact .pdp-cart-toast-btn:first-of-type { margin-top: 18px; }
@media (max-width: 480px) {
  .pdp-cart-toast { right: 12px; left: 12px; width: auto; }
}

/* Bundle add-to-cart modal */
.bundle-modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 750; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s; }
.bundle-modal-backdrop.is-open { opacity: 1; visibility: visible; }
.bundle-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.96); width: min(1040px, 95vw); max-height: 82vh; overflow-y: auto; background: var(--white); border: 1px solid var(--grey-200); padding: 34px 40px; z-index: 760; display: flex; gap: 0; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s; }
.bundle-modal--triple { width: min(1220px, 95vw); }
.bundle-modal--triple .bundle-modal-intro { width: 180px; }
.bundle-modal.is-open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.bundle-modal-close { position: absolute; top: 18px; right: 40px; background: none; border: none; line-height: 1; color: var(--ink); cursor: pointer; padding: 0; display: flex; }
.bundle-modal-close svg { width: 26px; height: 26px; transition: transform 0.3s ease; }
.bundle-modal-close:hover svg { transform: rotate(90deg); }
.bundle-modal-close:hover { color: var(--blue); }
.bundle-modal-intro { width: 320px; flex-shrink: 0; margin-left: -16px; margin-top: 30px; }
.bundle-modal-intro h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.55rem; text-transform: none; letter-spacing: normal; color: var(--ink); margin: 0 0 16px; }
.bundle-modal-intro p { font-family: var(--font-body); font-size: 0.95rem; color: var(--ink); margin: 0 0 26px; }
.bundle-modal-intro-text--triple { display: none; }
.bundle-modal--triple .bundle-modal-intro-text--duo { display: none; }
.bundle-modal--triple .bundle-modal-intro-text--triple { display: block; }
.bundle-modal-buyall { display: inline-flex; align-items: center; gap: 4px; margin-top: 20px; font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.bundle-modal-buyall span { display: inline-block; transition: transform 0.2s ease; }
.bundle-modal-buyall:hover span { transform: translateX(4px); }
.bundle-modal-items { display: flex; justify-content: flex-end; gap: 22px; flex: 1; min-width: 0; margin-top: 30px; }
.bundle-modal-item { position: relative; flex: 0 1 310px; min-width: 0; border: 1px solid var(--ink); padding: 22px 8px; }
.bundle-modal-item-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.bundle-modal-item-head img, .bundle-modal-item-icon { width: 62px; height: 62px; object-fit: contain; background: var(--grey-100); display: flex; align-items: center; justify-content: center; color: var(--ink); flex-shrink: 0; }
.bundle-modal-item-icon svg { width: 26px; height: 26px; }
.bundle-modal-item h4 { font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; text-transform: none; letter-spacing: normal; color: var(--ink); margin: 0; }
.bundle-modal-item .product-price { margin-bottom: 14px; }
.bundle-modal-item .product-price .price-row { font-size: 0.8rem; }
.bundle-modal-item .product-price .price-row--pvp { font-size: 0.75rem; }
.bundle-modal-item .product-price .price-note { font-size: 0.7rem; }
.bundle-modal-sizes { display: flex; flex-wrap: nowrap; gap: 2px; margin: 0 2px; transition: transform 0.15s ease; }
.bundle-modal-sizes.has-error { transform: translateY(-4px); }
.bundle-modal-size-btn { flex: 1 1 auto; min-width: 0; height: 38px; padding: 0 11px; border: 0.75px solid var(--ink); background: var(--white); font-family: var(--font-body); font-weight: 600; font-size: 0.8rem; color: var(--ink); cursor: pointer; transition: border-color 0.15s ease; }
.bundle-modal-size-btn:hover { border-color: var(--blue); color: var(--blue); }
.bundle-modal-size-btn.is-active { border: 1.5px solid var(--ink); }
.bundle-modal-size-btn.is-error { border-color: var(--sale-red); color: var(--sale-red); }
.bundle-modal-size-error { position: absolute; left: 22px; right: 22px; bottom: 8px; margin: 0; visibility: hidden; color: var(--sale-red); font-family: var(--font-body); font-size: 0.75rem; }
.bundle-modal-size-error.is-visible { visibility: visible; }
@media (max-width: 700px) {
  .bundle-modal { flex-direction: column; padding: 28px; }
  .bundle-modal-intro { width: auto; }
  .bundle-modal-items { flex-direction: column; }
}

@media (max-width: 900px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 32px; }
  .pdp-info { position: static; }
  .pdp-sticky-title { display: none; }
  .pdp-details-grid { grid-template-columns: 1fr; }
  .pdp-details-image { order: -1; max-width: 420px; }
}
@media (max-width: 560px) {
  .pdp-buy-row { gap: 8px; }
  .pdp-add, .pdp-buy { flex-basis: 100%; }
  .pdp-sticky-inner { flex-wrap: wrap; }
}

/* Personalization page */
.personalize-widget-section { display: flex; justify-content: center; height: 100vh; overflow: hidden; }
.personalize-card { width: 100%; max-width: none; display: flex; flex-direction: column; border: none; background: var(--grey-100); min-height: 0; }
.personalize-card-image { flex: 1; min-height: 0; }

.personalize-card-header { display: flex; align-items: flex-start; justify-content: space-between; padding: 16px 20px 16px 48px; background: transparent; border-bottom: none; }
.personalize-card-header-info { position: relative; }
.personalize-card-title { display: block; font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.personalize-card-price { display: inline-block; font-size: 0.82rem; color: var(--ink); margin-top: 4px; }
.personalize-card-surcharge { display: inline-block; font-size: 0.82rem; color: var(--ink); margin-top: 4px; margin-left: 6px; }
.personalize-price-trigger { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; padding: 0; margin: 0; cursor: pointer; }
.personalize-price-trigger svg { width: 12px; height: 12px; color: var(--ink); transition: transform 0.5s ease; }
.personalize-price-trigger.is-open svg { transform: rotate(180deg); }
.personalize-price-dropdown { position: absolute; top: calc(100% + 10px); left: 0; min-width: 350px; background: var(--white); padding: 0 18px; z-index: 30; overflow: hidden; max-height: 0; transition: max-height 0.4s ease, padding 0.4s ease; }
.personalize-price-dropdown.is-open { max-height: 400px; padding: 16px 18px; }
.pw-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-family: var(--font-body); font-size: 0.85rem; color: var(--ink); padding: 5px 0; }
.pw-price-row strong { font-weight: 400; }
.pw-price-row--member { color: var(--blue); }
.pw-price-note { font-size: 0.7rem; color: var(--ink); padding-top: 0; padding-bottom: 6px; }
.pw-price-row--pvp { color: #9CA3AF; }
.pw-price-row--section { margin-top: 4px; }
.pw-price-row--sub { padding-left: 14px; font-size: 0.78rem; color: var(--grey-700); }
.pdp-personalize-overlay { display: none; position: fixed; inset: 0; z-index: 500; }
.pdp-personalize-overlay.is-open { display: block; }
.personalize-card-close { display: inline-block; font-size: 2.6rem; font-weight: 200; line-height: 1; color: var(--ink); text-decoration: none; cursor: pointer; margin-right: 24px; background: none; border: none; padding: 0; font-family: inherit; transition: color 0.2s ease, transform 0.3s ease; }
.personalize-card-close:hover { color: var(--blue); transform: rotate(90deg); }

.personalize-card-image { position: relative; background: transparent; display: flex; align-items: center; justify-content: center; padding: 24px; }
.personalize-card-image img { max-height: 55%; max-width: 32%; object-fit: contain; }
.pw-preview-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -38%); display: flex; flex-direction: column; align-items: center; gap: 2px; pointer-events: none; }
.pw-preview-name { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.85rem; color: var(--white); text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.pw-preview-number { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--white); text-shadow: 0 1px 4px rgba(0,0,0,0.5); }

.personalize-card-footer { padding: 16px 20px; background: transparent; }
.personalize-card-step-row { display: flex; align-items: center; justify-content: flex-end; margin-bottom: 16px; }
.personalize-card-step { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; color: var(--ink); background: none; border: none; padding: 0; font-family: var(--font-body); cursor: pointer; transition: color 0.2s ease; }
.personalize-card-step svg { width: 20px; height: 20px; }
.personalize-card-step:hover { color: var(--blue); }
.personalize-card-next { display: flex; align-items: center; gap: 4px; background: none; border: none; font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; color: var(--ink); cursor: pointer; }
.personalize-card-next svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.personalize-card-next:hover svg { transform: translateX(4px); }
.personalize-card-next.is-disabled { visibility: hidden; }

.personalize-card-step-center { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-top: 48px; border-top: 1px solid var(--ink); margin-bottom: 16px; }
.personalize-step-wrap { grid-column: 2; justify-self: center; position: relative; }
.personalize-card-step-center .personalize-card-next { grid-column: 3; justify-self: end; }

.personalize-step-dropdown { position: fixed; top: 0; left: 0; height: 100vh; width: 0; overflow: hidden; background: var(--white); z-index: 40; display: flex; flex-direction: column; gap: 56px; padding: 40px 0; transition: width 0.45s ease, padding 0.45s ease; }
.personalize-step-dropdown.is-open { width: 330px; padding: 40px 28px; }
.pw-step-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; color: var(--ink); white-space: nowrap; }
.pw-step-row strong { font-weight: 400; color: var(--ink); }
.pw-step-row.is-empty strong { color: #9CA3AF; font-weight: 400; }
.pw-step-icon-row img { width: 40px; height: 40px; object-fit: contain; }
.personalize-card-prev { grid-column: 1; justify-self: start; display: flex; align-items: center; gap: 4px; background: none; border: none; font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; color: var(--ink); cursor: pointer; visibility: hidden; }
.personalize-card-prev svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.personalize-card-prev:hover svg { transform: translateX(-4px); }
.personalize-card-prev.is-visible { visibility: visible; }

.personalize-card-options { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.personalize-opt-group { display: flex; align-items: center; gap: 10px; grid-column: 2; justify-self: center; }
.personalize-opt-icon { width: 44px; height: 40px; border: 1px solid var(--ink); background: var(--white); display: flex; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; flex-shrink: 0; }
.personalize-opt-icon svg { width: 16px; height: 16px; }
.personalize-opt-pill { height: 40px; padding: 0 20px; border: 1px solid var(--ink); background: var(--white); font-family: var(--font-body); font-size: 0.85rem; color: var(--ink); cursor: pointer; }
.personalize-opt-pill.is-active { border-color: var(--blue); }
.personalize-field-group { display: flex; flex-direction: column; gap: 6px; }
.personalize-field-label { font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; color: var(--grey-700); text-transform: uppercase; letter-spacing: 0.03em; }
.personalize-card-input { width: 140px; height: 40px; padding: 0 12px; border: 1px solid var(--ink); font-family: var(--font-body); font-size: 0.85rem; color: var(--ink); }
.personalize-card-input--number { width: 70px; }
.personalize-card-input:focus { outline: none; border-color: var(--blue); }
.personalize-add-btn { position: relative; overflow: hidden; z-index: 0; justify-self: end; height: 48px; padding: 0 36px; border-radius: 0; border: 1px solid var(--grey-200); background: var(--grey-200); color: var(--grey-700); font-family: var(--font-body); font-weight: 400; font-size: 1rem; text-transform: none; letter-spacing: normal; cursor: not-allowed; transition: border-color 0.2s ease; }
.personalize-add-btn::before { content: ""; position: absolute; inset: 0; background: var(--blue); transform: translateY(100%); transition: transform 0.28s ease; z-index: -1; }
.personalize-add-btn:not(:disabled) { background: var(--ink); border-color: var(--ink); color: var(--yellow); cursor: pointer; }
.personalize-add-btn:not(:disabled):hover { border-color: var(--blue); }
.personalize-add-btn:not(:disabled):hover::before { transform: translateY(0); }

/* Calendário */
.calendario-banner { background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 100%); padding: 92px 0; }
.calendario-banner .container { max-width: none; padding: 0 40px; }
.calendario-banner-inner { position: relative; }
.calendario-banner-comp { position: absolute; top: -34px; left: 0; right: 0; text-align: center; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.95rem; font-weight: 200; color: var(--yellow); margin: 0; }
.calendario-banner-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 64px; }
.calendario-banner-team { display: flex; align-items: center; justify-content: flex-end; justify-self: end; gap: 6px; }
.calendario-banner-team img, .calendario-banner-crest, .calendario-banner-team .calendario-crest-badge { width: 140px; height: 140px; object-fit: contain; flex-shrink: 0; }
.calendario-banner-team img.calendario-banner-crest { width: 172px; height: 172px; }
.calendario-banner-team .calendario-crest-badge { font-size: 1.5rem; }
.calendario-banner-team span { font-family: var(--font-display); font-weight: 400; font-size: 3rem; color: var(--yellow); text-transform: uppercase; letter-spacing: 0.02em; }
.calendario-banner-team--away { justify-content: flex-start; justify-self: start; text-align: right; }
.calendario-banner-team--away span { order: 1; }
.calendario-banner-when { text-align: center; color: var(--yellow); }
.calendario-banner-date { display: block; font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; letter-spacing: 0.03em; }
.calendario-banner-time { display: block; font-family: var(--font-body); font-weight: 200; font-size: 2.2rem; letter-spacing: 0.03em; color: var(--yellow); margin-top: 4px; }

.calendario-header, .media-header { background: none; padding: 48px 0 8px; }
.calendario-header .container, .media-header .container { max-width: none; padding: 0 40px; }
.calendario-header h1, .media-header h1 { font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-weight: 700; font-size: 2.3rem; color: var(--ink); margin: 0 0 10px; }
.calendario-header p, .media-header p { color: var(--ink); font-size: 1.15rem; }
.calendario-header .page-header-inner, .media-header .page-header-inner { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.calendario-sync { display: inline-flex; align-items: center; color: var(--ink); font-weight: 600; text-decoration: none; font-size: 1.05rem; margin-top: 28px; }
.calendario-sync:hover { color: var(--blue); }
.calendario-sync-arrow { display: inline-block; transition: transform 0.2s ease; margin-left: 2px; }
.calendario-sync:hover .calendario-sync-arrow { transform: translateX(4px); }

.calendario-section { padding: 44px 0 88px; }
.calendario-section.calendario-section--empty { padding-bottom: 40px; }
.calendario-section .container { max-width: none; padding: 0 40px; }

.calendario-tabs { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: 6px; padding-bottom: 18px; }
.calendario-tabs::after { content: ""; position: absolute; left: -40px; right: -40px; bottom: 0; border-bottom: 1px solid var(--grey-200); }
.calendario-status { display: flex; gap: 62px; margin-left: -16px; }
.calendario-filter { background: none; border: none; cursor: pointer; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; font-size: 1.1rem; color: var(--ink); padding: 0 0 14px; margin-bottom: -19px; position: relative; }
.calendario-filter:hover { color: var(--blue); }
.calendario-filter.active { color: var(--blue); }
.calendario-filtros-toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: none; cursor: pointer; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; font-size: 1.1rem; color: var(--ink); padding: 0; }
.calendario-filtros-toggle:hover { color: var(--blue); }
.calendario-filtros-toggle.is-open { color: var(--blue); }
.calendario-filtros-arrow { width: 18px; height: 18px; transition: transform 0.2s ease; }
.calendario-filtros-toggle.is-open .calendario-filtros-arrow { transform: rotate(180deg); }

.calendario-filtros-panel { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; max-height: 0; opacity: 0; overflow: hidden; padding: 0 40px; margin: 0 -40px; box-shadow: 0 4px 10px -4px rgba(0,0,0,0.22); transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease; }
.calendario-filtros-panel::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: var(--white); z-index: -1; }
.calendario-filtros-panel.is-open { max-height: 640px; opacity: 1; padding: 32px 40px 40px; }
.calendario-filtros-panel.show-shadow { overflow: visible; }
.calendario-filtros-col h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink); margin: 0 0 16px; }
.calendario-filtros-opt { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 1.15rem; color: #8C8A88; cursor: pointer; }
.calendario-filtros-opt:has(input:checked) { color: var(--ink); }
.calendario-filtros-opt input { width: 20px; height: 20px; accent-color: var(--blue); cursor: pointer; flex-shrink: 0; }
.calendario-filtros-opt input[type="radio"] { appearance: none; -webkit-appearance: none; box-sizing: border-box; margin: 0; border-radius: 50%; border: 2px solid #8C8A88; background: var(--white); position: relative; }
.calendario-filtros-opt input[type="radio"]:checked::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); transform: translate(-50%, -50%); }
.calendario-filtros-actions { grid-column: 1 / -1; display: flex; justify-content: center; margin-top: 24px; }
.calendario-filtros-apply { position: relative; overflow: hidden; z-index: 0; display: inline-flex; align-items: center; justify-content: center; padding: 0.55em 1.8em; background: transparent; border: 1.5px solid var(--ink); color: var(--ink); font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.03em; cursor: pointer; transition: color 0.2s ease, border-color 0.2s ease; }
.calendario-filtros-apply::before { content: ""; position: absolute; inset: 0; background: var(--blue); transform: translateY(100%); transition: transform 0.28s ease; z-index: -1; }
.calendario-filtros-apply:hover { color: var(--yellow); border-color: var(--blue); }
.calendario-filtros-apply:hover::before { transform: translateY(0); }
.calendario-filtros-opt input[type="checkbox"] { appearance: none; -webkit-appearance: none; box-sizing: border-box; margin: 0; border: 2px solid #8C8A88; border-radius: 0; background: var(--white); position: relative; }
.calendario-filtros-opt input[type="checkbox"]::after {
  content: "";
  position: absolute;
  inset: 2px;
  background-color: var(--blue);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 12 10 18 20 6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 12 10 18 20 6'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.15s ease;
}
.calendario-filtros-opt input[type="checkbox"]:checked::after { transform: scale(1); opacity: 1; }

.calendario-row { position: relative; display: grid; grid-template-columns: 200px 1fr 220px; align-items: center; gap: 20px; padding: 44px 0; }
.calendario-row::after { content: ""; position: absolute; left: -40px; right: -40px; bottom: 0; border-bottom: 1px solid var(--grey-200); }

.calendario-info { display: flex; flex-direction: column; gap: 2px; padding-left: 40px; }
.calendario-venue { text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.03em; color: var(--ink); white-space: nowrap; }
.calendario-date { font-weight: 400; font-size: 1.3rem; color: var(--ink); text-transform: uppercase; }

.calendario-center { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.calendario-comp { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; font-weight: 700; color: var(--blue); margin-top: -28px; }
.calendario-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 110px; width: 100%; max-width: 820px; position: relative; top: 16px; }
.calendario-team { display: flex; align-items: center; gap: 14px; }
.calendario-team:not(.calendario-team--focus) { gap: 27px; }
.calendario-team img, .calendario-crest-badge { width: 66px; height: 66px; object-fit: contain; flex-shrink: 0; }
.calendario-team img[src="Logos/Logo.png"] { width: 92px; height: 92px; }
.calendario-team--home img[src="Logos/Logo.png"] { margin-right: -13px; }
.calendario-team:not(.calendario-team--home) img[src="Logos/Logo.png"] { margin-left: -13px; }
.calendario-crest-badge { border-radius: 50%; border: 1.5px solid var(--grey-200); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; color: var(--grey-700); background: var(--grey-100); }
.calendario-team span { font-weight: 500; font-size: 1.05rem; color: var(--ink); text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }
.calendario-team--home { flex-direction: row-reverse; justify-content: flex-start; text-align: right; }
.calendario-mid { display: flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 400; font-size: 2.55rem; color: var(--ink); white-space: nowrap; }
.calendario-mid .sep { color: var(--ink); font-weight: 400; font-size: 1rem; }
.calendario-row--finished .calendario-mid { font-size: 2.55rem; font-weight: 400; }
.calendario-mid strong { font-weight: 400; }

.calendario-actions { position: relative; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.calendario-actions a { font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.calendario-actions a:hover { color: var(--blue); }
.calendario-icon-actions { display: flex; align-items: flex-end; gap: 20px; }
.calendario-icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; color: var(--ink); }
.calendario-icon-btn svg { width: 100%; height: 100%; fill: currentColor; }
.calendario-icon-btn:hover { color: var(--blue); }
.calendario-icon-tooltip { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 4px; color: var(--blue); font-size: 0.92rem; font-weight: 600; white-space: nowrap; opacity: 0; visibility: hidden; z-index: 2; }
.calendario-icon-btn:hover .calendario-icon-tooltip { opacity: 1; visibility: visible; transition: opacity 0.8s ease; }
.calendario-actions .calendario-matchcenter-btn { position: relative; overflow: hidden; z-index: 0; display: inline-flex; align-items: center; justify-content: center; width: 136px; padding: 14px 12px; border: 1px solid var(--ink); color: var(--ink); font-family: var(--font-body); font-weight: 400; font-size: 1.08rem; line-height: 1; text-align: center; white-space: nowrap; transition: color 0.2s ease, border-color 0.2s ease; }
.calendario-actions > .calendario-matchcenter-btn:first-child { position: absolute; bottom: 100%; right: 0; margin-bottom: 13px; z-index: 1; }
.calendario-actions .calendario-matchcenter-btn::before { content: ""; position: absolute; inset: 0; background: var(--blue); transform: translateY(100%); transition: transform 0.28s ease; z-index: -1; }
.calendario-actions .calendario-matchcenter-btn:hover { color: var(--yellow); border-color: var(--blue); }
.calendario-actions .calendario-matchcenter-btn:hover::before { transform: translateY(0); }

.calendario-empty { display: none; height: 1px; }

.calendario-loading { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 90px 0; }
.calendario-loading[hidden] { display: none; }
.calendario-loading span { width: 12px; height: 48px; background: var(--blue); transform-origin: center; transform: skewX(-15deg) scaleY(0.3); opacity: 0.35; animation: calendario-loading-grow 0.9s steps(10, jump-end) infinite; }
.calendario-loading span:nth-child(1) { animation-delay: 0s; }
.calendario-loading span:nth-child(2) { animation-delay: 0.15s; }
.calendario-loading span:nth-child(3) { animation-delay: 0.3s; }
.calendario-loading span:nth-child(4) { animation-delay: 0.45s; }
.calendario-loading span:nth-child(5) { animation-delay: 0.6s; }
@keyframes calendario-loading-grow {
  0%, 100% { transform: skewX(-15deg) scaleY(0.3); opacity: 0.35; }
  50% { transform: skewX(-15deg) scaleY(1); opacity: 1; }
}
.calendario-empty.is-visible { display: block; }

@media (max-width: 860px) {
  .calendario-banner-team span { font-size: 1.1rem; }
  .calendario-banner-team img, .calendario-banner-crest { width: 40px; height: 40px; }
  .calendario-row { grid-template-columns: 1fr; text-align: center; gap: 14px; }
  .calendario-info { align-items: center; }
  .calendario-team--home { flex-direction: row; justify-content: center; text-align: left; }
  .calendario-actions { align-items: center; flex-direction: row; justify-content: center; flex-wrap: wrap; }
}

/* Vídeos e Fotos */
.media-section { padding: 40px 0 43px; }
.media-section .container { max-width: 1600px; padding: 0 40px; }
.noticias-section .noticias-grid-wrap { max-width: none; padding: 0 13px; }
.noticias-section { padding-bottom: 64px; }
.noticias-section .media-more-wrap { margin-top: 96px; }
.media-filters { display: flex; align-items: center; gap: 36px; margin-bottom: 56px; }
.media-clear-filters { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 0; border: none; background: none; color: #CFCFCF; font-family: var(--font-body); font-weight: 500; font-size: 0.9rem; cursor: pointer; }
.media-clear-filters svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.media-clear-filters:hover { color: #CFCFCF; }
.media-filter-pill { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: none; background: none; color: var(--ink); font-family: var(--font-body); font-weight: 500; font-size: 1.2rem; cursor: pointer; transition: color 0.2s ease; }
.media-filter-pill svg { width: 18px; height: 18px; stroke-width: 2.4; transition: transform 0.5s ease; }
.media-filter-dropdown.is-open .media-filter-pill svg { transform: rotate(180deg); }
.media-filter-pill:hover { color: var(--blue); }
.media-filter-dropdown { position: relative; }
.media-filter-dropdown.is-open { border: 1px solid var(--grey-200); border-top: none; border-bottom: none; background: var(--white); padding: 10px 18px; }
.media-filter-menu { position: absolute; top: 100%; left: -1px; min-width: 270px; margin-top: 0; border: 1px solid var(--grey-200); border-top: none; background: linear-gradient(to right, transparent 0 var(--frame-width, 0px), var(--grey-200) var(--frame-width, 0px) 100%) top left / 100% 1px no-repeat, var(--white); box-shadow: 0 10px 24px -6px rgba(0,0,0,0.14); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; z-index: 20; }
.media-filter-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.media-filter-menu button { display: block; width: 100%; text-align: left; padding: 15px 18px; border: none; background: none; font-family: var(--font-body); font-weight: 400; font-size: 0.85rem; color: var(--ink); cursor: pointer; transition: background 0.15s ease, color 0.15s ease; }
#todosFilterMenu { max-height: min(620px, 70vh); overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none; }
#todosFilterMenu::-webkit-scrollbar { display: none; }
.media-filter-menu--cols { min-width: 620px; display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, auto); grid-auto-flow: column; column-gap: 60px; }
.media-filter-menu button:hover { color: var(--blue); }
.media-filter-menu button.is-selected { color: var(--blue); }
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.media-grid[hidden] { display: none; }
.media-card { display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.media-card[hidden] { display: none; }
.media-card-thumb { position: relative; aspect-ratio: 16/10; background: linear-gradient(135deg, var(--blue), #002d6b); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.media-card-crest { width: 56px; height: 56px; object-fit: contain; opacity: 0.9; transition: transform 0.4s ease; }
.media-card:hover .media-card-crest { transform: scale(1.1); }
.media-card-play, .media-card-gallery { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; justify-content: center; color: var(--yellow); transition: color 0.2s ease; }
.media-card-play svg { width: 28px; height: 28px; fill: currentColor; stroke: currentColor; stroke-width: 2.2; overflow: visible; }
.media-card-gallery svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: square; overflow: visible; }
.media-card:hover .media-card-play, .media-card:hover .media-card-gallery { color: var(--blue); }
.media-card-tag { font-family: var(--font-display); font-size: 0.95rem; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }
.media-card h3 { font-family: var(--font-body); text-transform: none; letter-spacing: normal; margin: 0; font-size: 1.3rem; font-weight: 600; line-height: 1.3; }
.media-card:hover h3 { color: var(--blue); }
.media-card:hover .media-card-desc { color: var(--blue); }
.media-card-date { font-size: 0.82rem; color: var(--grey-700); }
.media-card-desc { margin: 0; font-family: var(--font-body); font-size: 1.05rem; line-height: 1.45; color: var(--ink); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.media-more-wrap { display: flex; justify-content: center; margin-top: 48px; }
.media-more-wrap[hidden] { display: none; }

.media-card.is-hero-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.media-card.is-hero-2 { grid-column: 3; grid-row: 1; width: calc(100% + 14px); }
.media-card.is-hero-3 { grid-column: 3; grid-row: 2; width: calc(100% + 14px); }
.media-card.is-hero-1 .media-card-crest { width: 84px; height: 84px; }
.media-card.is-hero-1 .media-card-play svg { width: 40px; height: 40px; }
.media-card.is-hero-1 .media-card-gallery svg { width: 36px; height: 36px; }
.media-card.is-hero-1 h3 { font-size: 2.1rem; }
.media-card.is-hero-1 .media-card-desc { font-size: 1.3rem; -webkit-line-clamp: 4; }

.media-second-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 28px; margin-top: 36px; }
.media-second-row[hidden] { display: none; }
.media-card.is-second .media-card-crest { width: 84px; height: 84px; }
.media-card.is-second .media-card-play svg { width: 40px; height: 40px; }
.media-card.is-second .media-card-gallery svg { width: 36px; height: 36px; }
.media-card.is-second h3 { font-size: 2.1rem; }
.media-card.is-second .media-card-desc { font-size: 1.3rem; -webkit-line-clamp: 4; }
.media-second-row + .media-grid { margin-top: 36px; }
.media-more-btn { position: relative; overflow: hidden; z-index: 0; display: inline-flex; align-items: center; justify-content: center; padding: 0.85em 2.4em; background: transparent; border: 1.5px solid var(--ink); color: var(--ink); font-family: var(--font-body); font-weight: 400; font-size: 1.05rem; text-transform: none; letter-spacing: normal; cursor: pointer; transition: color 0.2s ease, border-color 0.2s ease; }
.media-more-btn::before { content: ""; position: absolute; inset: 0; background: var(--blue); transform: translateY(100%); transition: transform 0.28s ease; z-index: -1; }
.media-more-btn:hover { color: var(--yellow); border-color: var(--blue); }
.media-more-btn:hover::before { transform: translateY(0); }

@media (max-width: 860px) {
  .media-grid { grid-template-columns: 1fr; }
  .media-filters { flex-wrap: wrap; }
}

.noticias-header { background: none; padding: 48px 0 8px; text-align: center; }
.noticias-header .container { max-width: 1100px; padding: 0 40px; }
.noticias-header h1 { font-family: var(--font-body); text-transform: uppercase; letter-spacing: normal; font-weight: 500; font-size: 2.6rem; color: var(--ink); margin: 0 0 14px; }
.noticias-header p { color: var(--ink); font-size: 1.25rem; margin: 0; white-space: nowrap; }

@media (max-width: 860px) {
  .noticias-header p { white-space: normal; }
}

.news-grid--listing { grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.news-grid--listing .news-card[hidden] { display: none; }
.news-grid--listing .news-image { aspect-ratio: 16/10; margin-bottom: 14px; }
.news-grid--listing .news-tag { font-family: var(--font-display); font-size: 0.95rem; font-weight: 400; letter-spacing: 0.06em; margin-bottom: 8px; }
.news-grid--listing .news-card h3 { font-family: var(--font-body); font-size: 1.3rem; margin-bottom: 10px; font-weight: 600; line-height: 1.3; }
.news-grid--listing .news-card p { font-size: 1.05rem; line-height: 1.45; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.news-grid--listing .news-date { font-size: 0.82rem; color: #BEBEBE; margin-top: 18px; }
.news-date { display: block; margin-top: 12px; font-size: 0.85rem; color: var(--grey-700); }
.news-video-badge, .news-gallery-badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 0.85rem; font-weight: 500; color: var(--blue); }
.news-video-badge svg, .news-gallery-badge svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }

@media (max-width: 860px) {
  .news-grid--listing { grid-template-columns: 1fr; }
  .noticias-section .noticias-grid-wrap { padding: 0 10px; }
}

/* Match Center */
body.match-center-page { background: #F4F4F4; }
.mc-hero { position: relative; overflow: hidden; background: #F4F4F4; padding: 120px 0 72px; }
.mc-hero:has(.mc-match-timeline:not([hidden])) { padding-bottom: 0; }
.mc-hero .container { max-width: none; padding: 0 40px; }
.mc-hero-comp { display: block; max-width: 980px; text-align: center; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.9rem; font-weight: 400; color: #767676; margin: 0 auto 4px; }
.mc-hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; justify-content: center; gap: 20px; max-width: 980px; margin: 0 auto; }
.mc-hero-side { position: relative; min-width: 0; z-index: 1; order: 1; }
.mc-hero-center { order: 2; }
.mc-hero-side--away { order: 3; }
.mc-hero-row--home-first .mc-hero-side:not(.mc-hero-side--away) { order: 3; }
.mc-hero-row--home-first .mc-hero-side--away { order: 1; }
.mc-hero-row--home-first .mc-hero-team { flex-direction: row-reverse; }
.mc-hero-row--home-first .mc-hero-team-col:not(.mc-hero-team-col--away) { align-items: flex-start; }
.mc-hero-row--home-first .mc-hero-team-col--away { align-items: flex-end; }
.mc-hero-watermark { position: absolute; transform: translateY(-50%); font-family: var(--font-body); font-weight: 800; font-size: clamp(5rem, 12vw, 12rem); line-height: 1; letter-spacing: 0.01em; color: transparent; -webkit-text-stroke: 1px #EEEEEE; white-space: nowrap; pointer-events: none; user-select: none; z-index: 0; }
.mc-hero-watermark--opponent { left: 0; text-align: right; }
.mc-hero-watermark--lisbon { right: 0; text-align: left; }
.mc-hero-team { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 30px; justify-content: flex-end; }
.mc-hero-team--away { justify-content: flex-start; }
.mc-hero-team-text { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.mc-hero-team:not(.mc-hero-team--away) .mc-hero-team-text { align-items: flex-end; text-align: right; }
.mc-hero-row--home-first .mc-hero-team--away .mc-hero-team-text { align-items: flex-end; text-align: right; }
.mc-hero-row--home-first .mc-hero-team:not(.mc-hero-team--away) .mc-hero-team-text { align-items: flex-start; text-align: left; }
.mc-hero-team img, .mc-hero-team .calendario-crest-badge { width: 76px; height: 76px; object-fit: contain; flex-shrink: 0; }
.mc-hero-team .calendario-crest-badge { width: 56px; height: 56px; font-size: 0.95rem; background: var(--white); }
.mc-hero-team-text > span { font-family: var(--font-body); font-weight: 700; font-size: 2.2rem; color: var(--ink); text-transform: none; letter-spacing: normal; white-space: nowrap; margin-bottom: 8px; }
.mc-hero-center { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; margin-top: 48px; }
.mc-hero-time-block { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.mc-hero-date { display: block; font-family: var(--font-body); font-weight: 700; font-size: 0.85rem; color: var(--ink); text-transform: none; letter-spacing: normal; }
.mc-hero-time { font-family: var(--font-body); font-weight: 700; font-size: 3.1rem; color: var(--ink); line-height: 1; }
.mc-hero-flip { position: relative; width: 100%; height: 80px; overflow: hidden; margin: 0; }
.mc-hero-flip-track { display: flex; flex-direction: column; width: 100%; transition: transform 0.5s ease; transform: translateY(0); }
.mc-hero-flip-track.show-countdown { transform: translateY(-80px); }
.mc-hero-flip-face { display: flex; align-items: center; justify-content: center; width: 100%; height: 80px; flex: 0 0 80px; }
.mc-hero-countdown { display: flex; align-items: flex-start; gap: 0; }
.mc-hero-countdown-seg { display: flex; flex-direction: column; align-items: center; }
.mc-hero-countdown-seg strong { font-family: var(--font-body); font-weight: 700; font-size: 3.1rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.mc-hero-countdown-seg span { font-family: var(--font-body); font-weight: 700; font-size: 0.85rem; text-transform: none; letter-spacing: normal; color: var(--ink); margin-top: 4px; }
.mc-hero-countdown-colon { font-family: var(--font-body); font-weight: 700; font-size: 3.1rem; line-height: 1; color: var(--ink); margin: 0 -2px; }
.mc-hero-venue { font-size: 0.92rem; color: var(--grey-700); }
.mc-hero-team-col { display: flex; flex-direction: column; margin-top: 60px; }
.mc-hero-team-col:not(.mc-hero-team-col--away) { align-items: flex-end; }
.mc-hero-team-col--away { align-items: flex-start; }
.mc-hero-scorers { margin-top: -6px; display: flex; flex-direction: column; gap: 3px; font-family: var(--font-body); font-size: 0.85rem; color: var(--ink); }
.mc-hero-scorer-line { display: block; }
.mc-hero-scorer-minute { font-weight: 700; }
.mc-hero-scorer-name { font-weight: 400; }
.mc-hero-result { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mc-hero-result .mc-hero-date { font-size: 0.98rem; }
.mc-hero-result[hidden] { display: none; }
.mc-hero-score { display: flex; align-items: center; gap: 32px; }
.mc-hero-score-num { font-family: var(--font-body); font-weight: 700; font-size: 3.1rem; color: var(--ink); line-height: 1; }
.mc-hero-score-sep { display: block; width: 14px; height: 6px; border-radius: 0; background: var(--ink); }

.mc-sticky-header { background: var(--white); position: fixed; top: 0; left: 0; right: 0; overflow: hidden; transform: translateY(-100%); transition: transform 0.3s ease; z-index: 700; }
.mc-back-to-top { position: fixed; right: 0; bottom: 80px; padding: 2px 3px; background: var(--white); border: none; border-radius: 0; display: flex; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; z-index: 500; }
.mc-back-to-top[hidden] { display: none; }
.mc-back-to-top svg { width: 25px; height: 29.2px; stroke-width: 1.2; }
.mc-sticky-header::before, .mc-sticky-header::after { content: ""; position: absolute; bottom: 0; width: 50%; height: 8px; transition: transform 0.35s ease; }
.mc-sticky-header::before { left: 0; background: #767676; transform: translateX(-100%); }
.mc-sticky-header::after { right: 0; background: var(--blue); transform: translateX(100%); }
.mc-sticky-header.is-visible::before, .mc-sticky-header.is-visible::after { transform: translateX(0); }
.mc-sticky-header--home-first::before { background: var(--blue); }
.mc-sticky-header--home-first::after { background: #767676; }
.mc-sticky-header.is-visible { transform: translateY(0); }
.mc-sticky-header-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; justify-content: center; gap: 58px; padding: 26px 40px; }
.mc-sticky-share { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); }
.mc-sticky-share .mc-timeline-share-panel { height: 34px; top: 50%; bottom: auto; transform: translate(100%, -50%); background: none; padding-left: 14px; }
.mc-sticky-share .mc-timeline-share { color: var(--ink); width: 40px; height: 40px; transition: color 0.15s ease, opacity 0.2s ease; }
.mc-sticky-share:hover .mc-timeline-share { opacity: 0; }
.mc-sticky-share .mc-timeline-share svg { width: 24px; height: 24px; }
.mc-hero-share { position: absolute; z-index: 10; transform: translate(-50%, -50%); }
.mc-hero-share .mc-timeline-share-panel { height: 34px; top: 50%; bottom: auto; transform: translate(100%, -50%); background: none; padding-left: 14px; }
.mc-hero-share .mc-timeline-share { color: var(--ink); width: 40px; height: 40px; transition: color 0.15s ease, opacity 0.2s ease; }
.mc-hero-share:hover .mc-timeline-share { opacity: 0; }
.mc-hero-share .mc-timeline-share svg { width: 24px; height: 24px; }
.mc-sticky-team { display: flex; align-items: center; gap: 28px; order: 1; justify-self: end; }
.mc-sticky-center, .mc-sticky-result { order: 2; }
.mc-sticky-team--away { order: 3; justify-self: start; }
.mc-sticky-header-inner--home-first .mc-sticky-team:not(.mc-sticky-team--away) { order: 3; justify-self: start; }
.mc-sticky-header-inner--home-first .mc-sticky-team--away { order: 1; justify-self: end; }
.mc-sticky-header-inner--home-first .mc-sticky-team { flex-direction: row-reverse; }
.mc-sticky-team img, .mc-sticky-team .calendario-crest-badge { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.mc-sticky-team .calendario-crest-badge { width: 36px; height: 36px; font-size: 0.85rem; }
.mc-sticky-team span { font-family: var(--font-body); font-weight: 700; font-size: 1.7rem; color: #767676; white-space: nowrap; }
.mc-sticky-team--away span { color: var(--blue); }
.mc-sticky-center { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 110px; }
.mc-sticky-center[hidden] { display: none; }
.mc-sticky-time { font-family: var(--font-body); font-weight: 700; font-size: 1.7rem; color: var(--ink); line-height: 1.1; }
.mc-sticky-date { font-size: 0.9rem; color: var(--grey-700); }
.mc-sticky-result { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.mc-sticky-result[hidden] { display: none; }
.mc-sticky-score { display: flex; align-items: center; gap: 24px; }
.mc-sticky-score-num { font-family: var(--font-body); font-weight: 700; font-size: 1.7rem; color: var(--ink); line-height: 1.1; }
.mc-sticky-score-sep { display: block; width: 8px; height: 3px; border-radius: 0; background: var(--ink); }

.mc-match-timeline { position: relative; z-index: 5; padding: 0 0 10px; margin-top: -50px; }
.mc-timeline-axis { position: relative; max-width: 1120px; margin: 0 auto; padding: 0 60px; height: 230px; }
.mc-timeline-track { position: absolute; left: 0; right: 0; top: 130px; height: 0; }
.mc-timeline-axis-line { position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: var(--ink); }
.mc-timeline-tick { position: absolute; top: 0; width: 1px; height: 14px; background: var(--ink); transform: translate(-50%, -50%); }
.mc-timeline-tick--start { left: 0%; }
.mc-timeline-tick--half { left: 47.5%; }
.mc-timeline-tick--full { left: 95%; }
.mc-timeline-axis-label { position: absolute; top: 0; transform: translateY(-50%); font-family: var(--font-body); font-size: 0.85rem; font-weight: 400; color: var(--ink); white-space: nowrap; }
.mc-timeline-axis-label--start { right: 100%; margin-right: 8px; }
.mc-timeline-axis-label--end { left: 100%; margin-left: 8px; }
.mc-timeline-side-icon { position: absolute; left: 0%; top: 0; width: 22px; height: 22px; border-radius: 50%; overflow: hidden; background: var(--white); border: 1px solid rgba(0, 0, 0, 0.12); display: flex; align-items: center; justify-content: center; }
.mc-timeline-side-icon--opponent { transform: translate(calc(-50% - 20px), calc(-50% - 46px)); font-family: var(--font-body); font-size: 0.6rem; font-weight: 700; color: var(--ink); }
.mc-timeline-side-icon--lisbon { width: 30px; height: 30px; background: transparent; border: none; border-radius: 0; transform: translate(calc(-50% - 20px), calc(-50% + 46px)); }
.mc-timeline-axis--home-first .mc-timeline-side-icon--lisbon { transform: translate(calc(-50% - 20px), calc(-50% - 46px)); }
.mc-timeline-axis--home-first .mc-timeline-side-icon--opponent { transform: translate(calc(-50% - 20px), calc(-50% + 46px)); }
.mc-timeline-side-icon--lisbon img { width: 100%; height: 100%; object-fit: contain; }
.mc-timeline-event { position: absolute; top: 0; z-index: 1; --ox: 0px; --oy: 0px; transform: translate(calc(-50% + var(--ox)), calc(-50% - 46px + var(--oy))); }
.mc-timeline-event:hover { z-index: 50; }
.mc-timeline-event--lisbon { transform: translate(calc(-50% + var(--ox)), calc(-50% + 46px + var(--oy))); }
.mc-timeline-axis--home-first .mc-timeline-event--lisbon { transform: translate(calc(-50% + var(--ox)), calc(-50% - 46px + var(--oy))); }
.mc-timeline-axis--home-first .mc-timeline-event--opponent { transform: translate(calc(-50% + var(--ox)), calc(-50% + 46px + var(--oy))); }
.mc-timeline-event-icon { display: block; width: 22px; height: 22px; cursor: pointer; }
.mc-timeline-event-icon svg { width: 100%; height: 100%; }
.mc-timeline-event-popup { position: absolute; left: 50%; bottom: calc(100% + 44px); top: auto; transform: translate(-50%, 4px); min-width: 160px; background: var(--white); border-radius: 0; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16); padding: 7px 30px 7px 12px; opacity: 0; pointer-events: none; transition: opacity 0.15s ease, transform 0.15s ease; z-index: 20; text-align: left; }
.mc-timeline-event:hover .mc-timeline-event-popup { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.mc-timeline-event-popup::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 14px; height: 17px; background: var(--white); transform: translateX(-50%) rotate(45deg); }

.mc-timeline-event--popup-left .mc-timeline-event-popup { left: auto; right: 0; transform: translateY(4px); }
.mc-timeline-event--popup-left:hover .mc-timeline-event-popup { transform: translateY(0); }
.mc-timeline-event--popup-left .mc-timeline-event-popup::after { left: auto; right: 14px; transform: rotate(45deg); }

.mc-timeline-event--popup-right .mc-timeline-event-popup { left: 0; right: auto; transform: translateY(4px); }
.mc-timeline-event--popup-right:hover .mc-timeline-event-popup { transform: translateY(0); }
.mc-timeline-event--popup-right .mc-timeline-event-popup::after { left: 14px; transform: rotate(45deg); }
.mc-timeline-event-popup strong { display: block; font-family: var(--font-body); font-size: 0.85rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.mc-timeline-event-popup--card { padding: 8px 20px; min-width: 480px; min-height: 60px; display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; }
.mc-timeline-event-popup > span { display: block; font-family: var(--font-body); font-size: 0.75rem; font-weight: 400; color: var(--grey-700); white-space: nowrap; margin-top: 3px; }
.mc-timeline-event-popup .mc-timeline-popup-title { margin-bottom: 4px; }
.mc-timeline-event-popup .mc-timeline-popup-title--home { color: var(--blue); }
.mc-timeline-event-popup .mc-timeline-popup-title--away { color: var(--grey-700); }
.mc-timeline-event-popup .mc-timeline-popup-sub-row { display: flex; align-items: center; justify-content: flex-start; gap: 90px; min-width: 460px; }
.mc-timeline-popup-player { display: flex; align-items: center; gap: 12px; }
.mc-timeline-popup-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--white); border: 1px solid rgba(0, 0, 0, 0.04); flex-shrink: 0; }
.mc-timeline-popup-avatar { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--white); border: 1px solid rgba(0, 0, 0, 0.04); font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; color: var(--ink); flex-shrink: 0; }
.mc-timeline-popup-info { display: flex; flex-direction: column; }
.mc-timeline-popup-arrow { display: block; width: 18px; height: 18px; margin-bottom: 3px; }
.mc-timeline-popup-arrow svg { width: 100%; height: 100%; }
.mc-timeline-popup-name { font-family: var(--font-body); font-size: 0.88rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.mc-timeline-popup-position { font-family: var(--font-body); font-size: 0.76rem; font-weight: 400; color: var(--grey-700); white-space: nowrap; margin-top: 2px; }
.mc-timeline-event-popup .mc-timeline-popup-goal-row { display: flex; align-items: center; gap: 20px; min-width: 380px; max-width: 420px; }
.mc-timeline-event-popup .mc-timeline-popup-goal-row--indent { margin-left: 76px; }
.mc-timeline-event-popup .mc-timeline-popup-title--goal { margin-left: 76px; }
.mc-timeline-popup-photo-center { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); }
.mc-timeline-popup-goal-info { display: flex; flex-direction: column; gap: 4px; }
.mc-timeline-popup-description { font-family: var(--font-body); font-size: 0.84rem; font-weight: 400; color: var(--ink); white-space: normal; line-height: 1.35; }
.mc-tabs { background: #F4F4F4; }
.mc-tabs-inner { display: flex; justify-content: center; gap: 8px; overflow-x: auto; }
.mc-tab { flex-shrink: 0; padding: 18px 22px; border: none; background: none; font-family: var(--font-body); font-weight: 500; font-size: 1.45rem; color: var(--grey-700); cursor: pointer; transition: color 0.15s ease; }
.mc-tab:hover { color: var(--blue); }
.mc-tab.active { color: var(--blue); }
.mc-tab-label { display: inline-block; padding-bottom: 16px; border-bottom: 3px solid transparent; }
.mc-tab.active .mc-tab-label { border-color: var(--blue); }

.mc-content { padding: 44px 0 8px; overflow-x: hidden; overflow-y: clip; }
.mc-content .container { max-width: none; padding: 0 32px; }
.mc-panel[hidden] { display: none; }
.mc-content.mc-content--white { background: var(--white); }
.mc-tabs.mc-content--white .mc-tab { padding-bottom: 2px; }

.mc-section-title { font-family: var(--font-body); font-weight: 700; font-size: 1.8rem; text-transform: none; letter-spacing: normal; color: var(--ink); margin: 0 0 20px; }
.mc-timeline { position: relative; margin-top: 12px; padding-bottom: 8px; }
.mc-timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--ink); transform: translateX(-50%); }
.mc-timeline-item { position: relative; display: grid; grid-template-columns: 1fr 56px 1fr; align-items: start; margin-bottom: 32px; }
.mc-timeline-minute-badge { grid-column: 2; grid-row: 1; align-self: center; justify-self: center; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 4px; background: var(--grey-100); padding: 10px 2px; }
.mc-timeline-minute-badge-time { font-family: var(--font-body); font-weight: 700; font-size: 0.93rem; color: var(--ink); white-space: nowrap; }
.mc-timeline-minute-badge-ball { display: block; width: 32px; height: 32px; }
.mc-timeline-minute-badge-ball svg { width: 100%; height: 100%; display: block; }
.mc-timeline-minute-badge-ball svg circle, .mc-timeline-minute-badge-ball svg path { transition: stroke 0.15s ease, fill 0.15s ease; }
.mc-timeline-minute-badge:hover .mc-timeline-minute-badge-ball svg circle, .mc-timeline-minute-badge:hover .mc-timeline-minute-badge-ball svg path { stroke: var(--blue); }
.mc-timeline-minute-badge:hover .mc-timeline-minute-badge-ball svg path[fill] { fill: var(--blue); }
.mc-timeline-card { background: var(--white); border-radius: var(--radius); padding: 22px 24px; max-width: none; box-shadow: 0 4px 14px rgba(0,0,0,0.05); }
.mc-timeline-item--left .mc-timeline-card { grid-column: 1; justify-self: stretch; }
.mc-timeline-item--right .mc-timeline-card { grid-column: 3; justify-self: stretch; }
.mc-timeline-item--left, .mc-timeline-item--right { opacity: 0; transition: opacity 0.6s ease, transform 0.6s ease; }
.mc-timeline-item--left { transform: translateX(70px); }
.mc-timeline-item--right { transform: translateX(-70px); }
.mc-timeline-item--left.is-visible, .mc-timeline-item--right.is-visible { opacity: 1; transform: translateX(0); }
.mc-timeline-item--center .mc-timeline-card { grid-column: 1 / 4; justify-self: center; max-width: 740px; width: 100%; }
.mc-timeline-item--center .mc-timeline-card--wide { max-width: 740px; }
.mc-timeline-item--center .mc-timeline-card--news { max-width: 740px; width: 100%; }
.mc-timeline-item--center .mc-timeline-card--news .media-card-thumb { aspect-ratio: 16/9; }
.mc-timeline-card--wide h3 { font-size: 1.15rem; }
.mc-timeline-card--dark { background: #242424; padding: 26px 24px; }
.mc-timeline-item--center .mc-timeline-card--dark { max-width: 740px; width: 100%; }
.mc-timeline-item--center .mc-timeline-card--kickoff { max-width: 740px; width: 100%; }
.mc-timeline-item--center .mc-timeline-card--kickoff h3 { font-size: 1.26rem; }
.mc-timeline-item--center .mc-timeline-card:not(.mc-timeline-card--wide):not(.mc-timeline-card--news):not(.mc-timeline-card--dark):not(.mc-timeline-card--kickoff) h3 { font-size: 1.26rem; }
.mc-timeline-item--center .mc-timeline-card--dark h3 { font-size: 1.26rem; }
.mc-timeline-card h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; text-transform: none; letter-spacing: normal; margin: 0 0 12px; color: var(--ink); }
.mc-timeline-card p { margin: 0 0 10px; font-size: 0.98rem; line-height: 1.5; color: var(--ink); }
.mc-timeline-card p:last-child { margin-bottom: 0; }
.mc-timeline-card--dark h3, .mc-timeline-card--dark p { color: var(--white); }
.mc-timeline-card--news { max-width: none; padding: 0; overflow: hidden; border-radius: 4px; }
.mc-timeline-item--left .mc-timeline-card--news, .mc-timeline-item--right .mc-timeline-card--news { justify-self: stretch; }
.mc-timeline-card--news .news-image { aspect-ratio: 16/8; margin: 0; }
.mc-timeline-news-body { position: relative; display: flex; align-items: center; gap: 22px; padding: 18px 20px; }
.mc-timeline-news-text { flex: 1; min-width: 0; }
.mc-timeline-item--left .mc-timeline-card h3, .mc-timeline-item--left .mc-timeline-card p { text-align: right; }
.mc-timeline-item--left .mc-timeline-news-body { flex-direction: row-reverse; }
.mc-timeline-news-text h3 { margin-bottom: 6px; color: var(--blue); font-size: 1.15rem; }
.mc-timeline-news-body--home { background: var(--blue); }
.mc-timeline-news-body--away { background: #767676; }
.mc-timeline-news-body--home .mc-timeline-news-text h3, .mc-timeline-news-body--home .mc-timeline-news-text p,
.mc-timeline-news-body--away .mc-timeline-news-text h3, .mc-timeline-news-body--away .mc-timeline-news-text p { color: var(--white); }
.mc-timeline-news-body--home .mc-timeline-share, .mc-timeline-news-body--away .mc-timeline-share { color: var(--white); }
.mc-timeline-news-body--home, .mc-timeline-news-body--away { gap: 32px; }
.mc-timeline-news-body--card-home .mc-timeline-news-text h3 { color: var(--blue); }
.mc-timeline-news-body--card-away .mc-timeline-news-text h3 { color: #767676; }
.mc-timeline-news-body--card-away .mc-timeline-news-avatar { color: var(--ink); border-color: rgba(0,0,0,0.15); }
.mc-timeline-news-body--card-home .mc-timeline-news-photo { border-color: rgba(0,0,0,0.04); }
.mc-timeline-news-photo { width: 78px; height: 78px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--white); border: 1px solid rgba(255,255,255,0.45); flex-shrink: 0; }
.mc-sub-title-body { padding-bottom: 8px; }
.mc-sub-card { display: flex; align-items: center; justify-content: flex-end; gap: 36px; padding: 16px 24px 46px; }
.mc-sub-player { display: flex; flex-direction: column; align-items: center; }
.mc-sub-row { display: flex; align-items: center; gap: 14px; }
.mc-sub-text { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.mc-sub-arrow { display: block; width: 20px; height: 20px; flex-shrink: 0; }
.mc-sub-arrow svg { width: 100%; height: 100%; display: block; }
.mc-sub-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--white); border: 1px solid rgba(0,0,0,0.08); flex-shrink: 0; }
.mc-sub-name { font-family: var(--font-body); font-weight: 700; font-size: 1.25rem; color: var(--ink); line-height: 1.2; white-space: nowrap; }
.mc-sub-position { font-family: var(--font-body); font-size: 1rem; color: var(--grey-700); }
.mc-timeline-news-avatar { width: 78px; height: 78px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: none; border: 1px solid rgba(255,255,255,0.7); color: var(--white); font-family: var(--font-body); font-weight: 700; font-size: 1.3rem; flex-shrink: 0; }
.mc-timeline-news-text p { margin-bottom: 0; font-size: 0.95rem; }
.mc-timeline-share-wrap { flex-shrink: 0; display: flex; align-items: center; }
.mc-timeline-share { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: none; background: none; color: var(--ink); cursor: pointer; transition: color 0.15s ease; }
.mc-timeline-share svg { width: 20px; height: 20px; }
.mc-timeline-share-wrap:hover .mc-timeline-share { color: var(--blue); }
.mc-timeline-share-panel { position: absolute; top: 0; bottom: 0; right: 0; width: 340px; transform: translateX(100%); display: flex; align-items: center; justify-content: flex-end; gap: 18px; padding: 0 14px 0 48px; background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.92) 48px, rgba(255,255,255,0.92) 100%); opacity: 0; pointer-events: none; transition: transform 0.3s ease, opacity 0.3s ease; z-index: 6; }
.mc-timeline-share-wrap:hover .mc-timeline-share-panel { transform: translateX(0); opacity: 1; pointer-events: auto; }
.mc-timeline-item--left .mc-timeline-share-panel { right: auto; left: 0; justify-content: flex-start; padding: 0 48px 0 14px; background: linear-gradient(to left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.92) 48px, rgba(255,255,255,0.92) 100%); transform: translateX(-100%); }
.mc-timeline-share-wrap--reverse .mc-timeline-share-panel { right: auto; left: 0; justify-content: flex-start; padding: 0 48px 0 14px; background: linear-gradient(to left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.92) 48px, rgba(255,255,255,0.92) 100%); transform: translateX(-100%); }
.mc-timeline-item--center .mc-timeline-card--news .mc-timeline-news-text h3 { color: var(--ink); text-transform: uppercase; font-size: 1.22rem; }
.mc-sticky-share:hover .mc-timeline-share-panel { transform: translate(0, -50%); }
.mc-hero-share:hover .mc-timeline-share-panel { transform: translate(0, -50%); }
.mc-timeline-share-panel a { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; color: var(--ink); flex-shrink: 0; }
.mc-timeline-share-panel a svg { width: 30px; height: 30px; }
.mc-timeline-share-panel a:hover { color: var(--blue); }
.mc-timeline-news-body--home .mc-timeline-share svg, .mc-timeline-news-body--away .mc-timeline-share svg { width: 26px; height: 26px; }
.mc-timeline-news-body--home .mc-timeline-share-panel { background: linear-gradient(to right, rgba(1,74,173,0) 0%, rgba(1,74,173,0.95) 48px, rgba(1,74,173,0.95) 100%); }
.mc-timeline-news-body--away .mc-timeline-share-panel { background: linear-gradient(to left, rgba(118,118,118,0) 0%, rgba(118,118,118,0.95) 48px, rgba(118,118,118,0.95) 100%); }
.mc-timeline-news-body--home .mc-timeline-share-panel a, .mc-timeline-news-body--away .mc-timeline-share-panel a { color: var(--white); }
.mc-timeline-news-body--home .mc-timeline-share-panel a:hover, .mc-timeline-news-body--away .mc-timeline-share-panel a:hover { color: rgba(255,255,255,0.7); }
.mc-timeline-item--center h3, .mc-timeline-item--center p { text-align: center; }
.mc-timeline-item--center h3 { font-weight: 700; }
.mc-form-badges { display: flex; gap: 6px; }
.mc-timeline-item--left .mc-form-badges { justify-content: flex-end; }
.mc-badge { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; font-family: var(--font-body); font-weight: 700; font-size: 0.78rem; color: var(--white); }
.mc-badge--v { background: #1F8A4C; }
.mc-badge--d { background: var(--sale-red); }
.mc-badge--e { background: var(--grey-700); }

.mc-equipas-subtitle { font-family: var(--font-body); font-weight: 600; font-size: 1.5rem; text-transform: none; letter-spacing: normal; color: var(--ink); margin: 0 0 20px; }
.mc-equipas-subtitle--empty { margin-bottom: 76px; }
.mc-roster { margin-bottom: 44px; }
.mc-roster-row { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.mc-roster-side { display: flex; align-items: center; gap: 14px; padding: 10px 28px 8px; min-height: 48px; border-bottom: 1px solid rgba(0,0,0,0.04); }
.mc-roster-row:first-child .mc-roster-side { border-top: 1px solid rgba(0,0,0,0.04); }
.mc-roster-side--away { justify-content: flex-end; text-align: right; padding-right: 4px; }
.mc-roster-side--away .mc-roster-info { align-items: flex-end; }
.mc-roster-side--home { justify-content: flex-start; text-align: left; padding-left: 4px; }
.mc-roster-photo { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--white); border: 1px solid rgba(0,0,0,0.04); flex-shrink: 0; }
.mc-roster-avatar { display: flex; align-items: center; justify-content: center; width: 104px; height: 104px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.04); background: var(--white); font-family: var(--font-body); font-weight: 700; font-size: 2rem; color: var(--ink); flex-shrink: 0; }
.mc-roster-num { font-family: var(--font-body); font-weight: 700; font-size: 2rem; flex-shrink: 0; min-width: 44px; text-align: center; color: var(--grey-700); }
.mc-roster-side--home .mc-roster-num { color: var(--blue); }
.mc-roster-info { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.mc-roster-info strong { font-family: var(--font-body); font-weight: 600; font-size: 1.5rem; color: var(--ink); }
.mc-roster-info small { font-size: 1rem; color: var(--grey-700); }
.mc-roster-events { position: absolute; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 10px; z-index: 2; }
.mc-roster-events--away { left: 28px; }
.mc-roster-events--home { right: 28px; }
[data-match-content="abertura-2023"] .mc-roster-side--away .mc-roster-num,
[data-match-content="amistoso-mar-2023"] .mc-roster-side--away .mc-roster-num { color: var(--blue); }
[data-match-content="abertura-2023"] .mc-roster-side--home .mc-roster-num,
[data-match-content="amistoso-mar-2023"] .mc-roster-side--home .mc-roster-num { color: var(--grey-700); }
.mc-roster-event { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mc-roster-event-time { font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: var(--ink); white-space: nowrap; }
.mc-roster-event-icon { display: block; width: 33px; height: 33px; }
.mc-roster-event-icon svg { width: 100%; height: 100%; display: block; }
.mc-referees-row { display: flex; flex-wrap: wrap; gap: 40px; padding: 10px 28px 8px; border-top: 1px solid rgba(0,0,0,0.04); border-bottom: 1px solid rgba(0,0,0,0.04); }
.mc-referee-item { display: flex; align-items: center; gap: 14px; }

.mc-equipas-reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.5s ease, transform 0.5s ease; }
.mc-equipas-reveal.is-visible { opacity: 1; transform: translateY(0); }

.mc-related-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; margin-bottom: 28px; }
.mc-related-more-grid { margin-top: 44px; margin-bottom: 96px; }
.mc-related-reveal { opacity: 0; transform: translateY(90px); transition: opacity 0.85s ease, transform 0.85s ease; }
.mc-related-reveal.is-visible { opacity: 1; transform: translateY(0); }
.mc-related-grid .news-card h3 { font-size: 1.8rem; margin-bottom: 14px; }
.mc-related-grid .news-card p { font-size: 1.25rem; }
.mc-related-grid .news-image, .mc-related-more-grid .news-image { position: relative; }
.mc-related-play, .mc-related-gallery-icon { position: absolute; left: 16px; bottom: 6px; color: var(--yellow); transition: color 0.2s ease; }
.mc-related-gallery-icon { bottom: 0; }
.mc-related-play svg, .mc-related-gallery-icon svg { width: 72px; height: 72px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.news-card:hover .mc-related-play, .news-card:hover .mc-related-gallery-icon { color: var(--blue); }
.mc-related-video-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 0.85rem; font-weight: 700; color: var(--ink); transition: color 0.2s ease; }
.mc-related-video-badge svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.news-card:hover .mc-related-video-badge { color: var(--blue); }
.mc-related-badges { display: flex; align-items: center; gap: 20px; }
.mc-related-live-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 0.85rem; font-weight: 700; color: var(--ink); transition: color 0.2s ease; }
.news-card:hover .mc-related-live-badge { color: var(--blue); }
.mc-live-dot { position: relative; width: 19px; height: 19px; border-radius: 50%; border: 1.8px solid var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mc-live-dot-core { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: mcLivePulse 1.1s ease-in-out infinite; }
@keyframes mcLivePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }
.mc-related-more { display: flex; justify-content: center; }

.mc-info-single { max-width: 480px; margin-bottom: 40px; }
.mc-section-title--pushed { margin-top: 140px; }
.mc-info-competition { display: flex; align-items: center; justify-content: space-between; max-width: 1080px; }
.mc-info-competition-item { display: flex; align-items: center; gap: 24px; }
.mc-info-competition-item svg { width: 88px; height: 88px; flex-shrink: 0; margin-left: 20px; }
.mc-info-competition-item span { font-weight: 600; font-size: 1.45rem; color: var(--ink); }
.mc-venue-section { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 40px; max-width: 1380px; margin-bottom: 60px; }
.mc-venue-left { min-width: 0; }
.mc-venue-block { max-width: 480px; margin-top: 24px; margin-bottom: 0; }
.mc-venue-header-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 24px; }
.mc-venue-header-row .mc-info-competition-item svg { margin-left: 0; }
.mc-venue-name-block { display: flex; flex-direction: column; gap: 4px; }
.mc-venue-header-row .mc-venue-location { display: block; text-align: left; font-size: 1.15rem; font-weight: 400; color: var(--ink); margin: 0; }
.mc-venue-apps { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 2px; }
.mc-venue-apps a { display: flex; align-items: center; color: var(--ink); transition: color 0.15s ease; }
.mc-venue-apps svg { width: 30px; height: 30px; flex-shrink: 0; }
.mc-venue-apps a:hover { color: var(--blue); }
.mc-venue-photo-big { max-width: 820px; width: 100%; height: auto; }
.mc-officials-list li strong { color: var(--ink); font-weight: 600; }

.mc-info-reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.5s ease, transform 0.5s ease; }
.mc-info-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 860px) {
  .mc-hero .container { padding: 0 20px; }
  .mc-hero-row { gap: 16px; }
  .mc-section-title { font-size: 1.4rem; }
  .mc-hero-team span { font-size: 1.05rem; }
  .mc-hero-team img, .mc-hero-team .calendario-crest-badge { width: 52px; height: 52px; }
  .mc-hero-watermark { display: none; }
  .mc-hero-share { display: none; }
  .mc-hero-time { font-size: 1.7rem; }
  .mc-hero-countdown-seg strong, .mc-hero-countdown-colon { font-size: 2.2rem; }
  .mc-roster-row { grid-template-columns: 1fr; }
  .mc-roster-side--away { display: none; }
  .mc-roster-side--home { padding-left: 0; }
  .mc-roster-events--away { display: none; }
  .mc-timeline::before { left: 14px; }
  .mc-timeline-item { grid-template-columns: 1fr; margin-left: 34px; margin-bottom: 24px; }
  .mc-timeline-item::before { left: -34px; }
  .mc-timeline-item--left .mc-timeline-card, .mc-timeline-item--right .mc-timeline-card, .mc-timeline-item--center .mc-timeline-card { grid-column: 1; justify-self: stretch; max-width: none; }
}

/* ===== My Lisbon FC (sócios landing page) ===== */
.mlf-hero { display: flex; min-height: 560px; max-width: var(--container-wide); margin: 0 auto; }
.mlf-hero-panel {
  width: 25%;
  min-width: 320px;
  background: var(--blue);
  color: var(--white);
  padding: 48px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mlf-hero-panel h1 { font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-size: 2.1rem; line-height: 1.2; color: var(--white); margin: 0 0 10px; }
.mlf-hero-panel p { margin: 0 0 40px; font-size: 1.2rem; line-height: 1.4; color: var(--yellow); }
.mlf-hero-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mlf-hero-btn {
  width: 100%;
  max-width: 240px;
  padding: 13px 16px;
  background: var(--white);
  color: var(--blue);
  text-align: center;
  font-size: 1.05rem;
  transition: background 0.2s ease;
}
.mlf-hero-btn:hover { background: var(--yellow); }
.mlf-hero-media { flex: 1; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 50%, var(--blue-800) 0%, var(--blue-900) 70%); }
.mlf-hero-media img { width: 34%; max-width: 400px; }

.mlf-section-title { font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-size: 2rem; color: var(--ink); margin: 0 0 40px; }
.mlf-actions { padding: 70px 0 60px; }
.mlf-actions .container,
.mlf-quotas .container,
.mlf-promos .container,
.mlf-recover .container { max-width: var(--container-wide); padding: 0 40px; }
.mlf-actions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.mlf-action-icon { width: 64px; height: 64px; color: var(--ink); margin: 0 auto 14px; display: block; }
.mlf-action-icon .mlf-accent { stroke: var(--blue); }
.mlf-action h3 { font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-size: 1.3rem; font-weight: 500; margin: 0 0 6px; }
.mlf-action p { margin: 0 auto 18px; max-width: 300px; color: var(--ink); }

/* "Aderir ›" style text links */
.mlf-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.mlf-link::after {
  content: "";
  width: 10px; height: 10px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 5 16 12 9 19'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 5 16 12 9 19'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.2s ease;
}
.mlf-link:hover { color: var(--blue); }
.mlf-link:hover::after { transform: translateX(3px); }
.mlf-link--light { color: var(--white); }
.mlf-promo:hover .mlf-link--light { color: var(--yellow); }

.mlf-quotas { padding: 10px 0 60px; }
.mlf-quotas-wrap { overflow-x: auto; }
.mlf-quotas-table { width: 100%; border-collapse: collapse; text-align: center; min-width: 760px; }
.mlf-quotas-table thead th { padding: 0 12px 18px; font-weight: 400; vertical-align: bottom; }
.mlf-quotas-table thead strong { display: block; font-size: 1.35rem; font-weight: 500; }
.mlf-quotas-table thead span { font-size: 0.9rem; }
.mlf-quotas-table tbody th { text-align: left; font-size: 0.95rem; font-weight: 700; padding: 18px 0; width: 14%; }
.mlf-quotas-table td { padding: 18px 12px; font-size: 0.95rem; }
.mlf-quotas-table tbody tr { border-top: 1px solid var(--grey-200); }
.mlf-quotas-table tbody tr:last-child { border-bottom: 1px solid var(--grey-200); }
.mlf-quotas-table td b { font-size: 1.4rem; font-weight: 400; }
.mlf-quotas-table td > span { display: block; font-size: 0.92rem; margin-top: 4px; }
.mlf-quotas-small { display: block; margin-bottom: 6px; font-size: 0.92rem; line-height: 1.6; }
.mlf-quotas-small b { font-size: 1.2rem; }
.mlf-quotas-table tbody tr:first-child td b { color: var(--blue); }
.mlf-quotas-notes { margin-top: 18px; font-size: 0.85rem; color: var(--ink); }
.mlf-quotas-notes p { margin: 0 0 3px; }

.mlf-promos { padding: 20px 0 80px; }
.mlf-promos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mlf-promo {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 330px;
  padding: 40px;
  overflow: hidden;
  background: linear-gradient(90deg, var(--blue-900) 0%, var(--blue-800) 45%, var(--blue) 100%);
  color: var(--white);
}
.mlf-promo-text { position: relative; z-index: 1; }
.mlf-promo-eyebrow { display: block; text-transform: uppercase; font-size: 0.9rem; margin-bottom: 4px; }
.mlf-promo h3 { font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-size: 2.3rem; color: var(--yellow); margin: 0 0 4px; }
.mlf-promo p { margin: 0 0 22px; font-size: 1.15rem; font-weight: 600; }
.mlf-promo-img { position: absolute; right: 40px; top: 50%; width: 220px; transform: translateY(-50%); opacity: 0.9; transition: transform 0.4s ease; }
.mlf-promo:hover .mlf-promo-img { transform: translateY(-50%) scale(1.05); }

.mlf-recover { background: var(--grey-100); padding: 60px 0; text-align: center; max-width: var(--container-wide); margin: 0 auto; }
.mlf-recover h2 { font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-size: 1.9rem; color: var(--blue); margin: 0 0 8px; }
.mlf-recover p { font-size: 1.9rem; line-height: 1.35; max-width: 1100px; margin: 0 auto 26px; color: var(--ink); }

.mlf-feature { display: flex; align-items: center; max-width: var(--container-wide); margin: 50px auto 0; min-height: 480px; }
.mlf-feature--reverse { flex-direction: row-reverse; }
.mlf-feature-media { flex: 0 0 50%; align-self: stretch; min-height: 480px; background: var(--blue-900) center / cover no-repeat; }
.mlf-feature-text { flex: 1; padding: 40px 8%; max-width: 760px; }
.mlf-eyebrow { display: block; color: var(--blue); font-weight: 700; font-size: 1.15rem; margin-bottom: 4px; }
.mlf-feature-text h2 { font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-size: 2.3rem; margin: 0 0 10px; }
.mlf-feature-text p { font-size: 1.15rem; line-height: 1.5; margin: 0 0 22px; }
.mlf-feature:last-child { margin-bottom: 80px; }
.mlf-feature-media--card { display: flex; align-items: center; justify-content: center; }
.mlf-feature-media--logo { display: flex; align-items: center; justify-content: center; background: var(--blue); }
.mlf-feature-media--logo img { width: 46%; max-width: 320px; }
.mlf-feature-media--yellow { background: var(--yellow); }
.mlf-feature-media--dark { background: var(--blue-900); }
/* member card drawn in CSS */
.mlf-member-card {
  width: 68%;
  max-width: 420px;
  aspect-ratio: 1.586;
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-800) 60%, var(--blue-900) 100%);
  border: 1px solid rgba(255,222,90,0.5);
  box-shadow: 0 24px 50px rgba(0,0,0,0.45);
  transform: rotate(-6deg);
}
.mlf-member-card img { width: 70px; }
.mlf-member-card strong { display: block; font-family: var(--font-display); font-size: 2rem; letter-spacing: 0.04em; color: var(--yellow); line-height: 1; }
.mlf-member-card span { color: var(--white); font-size: 0.95rem; }

@media (max-width: 900px) {
  .mlf-hero { flex-direction: column; min-height: 0; }
  .mlf-hero-panel { width: 100%; min-width: 0; padding: 40px 20px; }
  .mlf-hero-media { min-height: 260px; padding: 30px 0; }
  .mlf-hero-media img { width: 45%; }
  .mlf-actions .container, .mlf-quotas .container, .mlf-promos .container, .mlf-recover .container { padding: 0 20px; }
  .mlf-actions-grid, .mlf-promos-grid { grid-template-columns: 1fr; }
  .mlf-promo { min-height: 260px; padding: 28px; }
  .mlf-promo-img { width: 140px; right: 20px; }
  .mlf-recover p { font-size: 1.3rem; }
  .mlf-feature, .mlf-feature--reverse { flex-direction: column; min-height: 0; }
  .mlf-feature-media { flex-basis: auto; width: 100%; min-height: 280px; }
  .mlf-feature-text { padding: 30px 20px 0; }
}

/* ===== Débito Direto (member sign-up steps) ===== */
.dd-breadcrumb { border-bottom: 1px solid var(--grey-200); font-size: 0.85rem; }
.dd-breadcrumb .container { max-width: var(--container-wide); padding: 16px 40px; display: flex; flex-wrap: wrap; gap: 6px; }
.dd-breadcrumb a { color: var(--grey-700); }
.dd-breadcrumb a:hover { color: var(--blue); }
.dd-breadcrumb a::after { content: "›"; margin-left: 6px; color: var(--grey-700); }
.dd-breadcrumb span { color: var(--ink); font-weight: 600; }

.dd-steps-bar .container { max-width: var(--container-wide); padding: 26px 40px 36px; }
.dd-steps { display: flex; justify-content: space-between; gap: 20px; margin: 0; padding: 0; list-style: none; }
.dd-step { display: flex; align-items: center; gap: 12px; font-size: 1.6rem; font-weight: 300; text-transform: uppercase; color: #C4C9D0; white-space: nowrap; }
.dd-step-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid currentColor; border-radius: 50%; font-size: 1.2rem; flex-shrink: 0; }
.dd-step.is-active { color: var(--ink); }
.dd-step.is-done { color: var(--blue); }
.dd-step.is-done .dd-step-num { background: var(--blue); border-color: var(--blue); color: var(--white); }

.dd-body { padding: 50px 20px 110px; }
.dd-form-wrap { max-width: 880px; margin: 0 auto; }
.dd-panel { display: none; }
.dd-panel.is-active { display: block; }
.dd-legend { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; margin: 0 0 10px; }
.dd-legend small { font-size: 0.75rem; font-weight: 400; text-transform: none; }
.dd-legend--sub { margin-top: 26px; }
.dd-notice { background: var(--grey-100); padding: 14px; text-align: center; font-size: 0.8rem; text-transform: uppercase; text-decoration: underline; margin: 0 0 40px; }
.dd-text { font-size: 1rem; line-height: 1.5; margin: 0 0 24px; }
.dd-row { display: flex; gap: 22px; margin-bottom: 18px; }
.dd-field { position: relative; flex: 1; }
/* required marker to the right of each field */
.dd-field::after { content: "*"; position: absolute; top: -4px; right: -14px; font-size: 1.1rem; }
.dd-field input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--white);
}
.dd-field input::placeholder { color: var(--grey-700); }
.dd-field input:focus { outline: none; border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.dd-field.has-error input { border-color: var(--sale-red); }
.dd-error { display: block; margin-top: 6px; font-size: 0.8rem; color: var(--sale-red); }
.dd-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; line-height: 1.4; margin-top: 8px; flex-wrap: wrap; }
.dd-check input { margin-top: 3px; accent-color: var(--blue); }
.dd-check .dd-error { flex-basis: 100%; margin-top: 0; }
.dd-resend { background: none; border: none; padding: 0; font-family: var(--font-body); font-size: 0.9rem; color: var(--blue); text-decoration: underline; cursor: pointer; }
.dd-resend:disabled { color: var(--grey-700); cursor: default; text-decoration: none; }
.dd-actions { display: flex; justify-content: flex-end; gap: 14px; border-top: 1px solid var(--grey-200); margin-top: 30px; padding-top: 22px; }
.dd-actions--center { justify-content: center; border-top: none; }
.dd-btn {
  min-width: 240px;
  padding: 12px 24px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--yellow);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.dd-btn:hover { background: var(--blue-900); border-color: var(--blue-900); }
.dd-btn--ghost { background: var(--white); color: var(--blue); min-width: 160px; }
.dd-btn--ghost:hover { background: var(--grey-100); border-color: var(--blue); }
.dd-done { text-align: center; }
.dd-done svg { width: 72px; height: 72px; color: var(--blue); margin: 0 auto 18px; display: block; }
.dd-done h2 { font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-size: 1.8rem; margin: 0 0 10px; }

@media (max-width: 900px) {
  .dd-breadcrumb .container, .dd-steps-bar .container { padding-left: 20px; padding-right: 20px; }
  .dd-steps { overflow-x: auto; }
  .dd-step { font-size: 1rem; }
  .dd-step-num { width: 28px; height: 28px; font-size: 0.95rem; }
  .dd-row { flex-direction: column; }
  .dd-field::after { right: -12px; }
  .dd-btn { min-width: 0; flex: 1; }
}

/* ===== Search results page (pesquisa.html) ===== */
/* only the main header row here, so it carries the thin divider line the quick-links row normally draws */
.site-header--simple { position: relative; }
.site-header--simple::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: #DFE2E7;
  transform: scaleY(0.5);
  transform-origin: bottom;
}
/* Cart page (carrinho.html): the items on the left, codes and summary on the right, split by a thin line */
.cart-page { max-width: 1272px; margin: 0 auto; padding: 40px 24px 60px; }
.cart-layout { display: flex; min-height: 374px; }
.cart-items { flex: 0 0 55.5%; padding-right: 77px; border-right: 1px solid var(--grey-200); }
.cart-items-head { display: flex; justify-content: space-between; align-items: baseline; }
.cart-title { margin: 0; font-family: var(--font-body); font-size: 18px; font-weight: 500; text-transform: none; letter-spacing: normal; color: var(--ink); }
.cart-clear { padding: 0; background: none; border: none; cursor: pointer; font-family: var(--font-body); font-size: 14px; color: var(--ink); }
.cart-clear:hover { color: var(--blue); }
/* the products: a line above each one like the vertical one (the first sits under the heading); they stop short of the vertical line, ending under "Limpar Carrinho" */
.cart-list { margin-top: 20px; }
.cart-list[hidden] { display: none; }
.cart-item { position: relative; display: flex; gap: 24px; padding: 48px 0 24px; border-top: 1px solid var(--grey-200); }
/* "Remover": looks like "Limpar Carrinho" (same .cart-clear) and sits right under the line, as far below it as that one is above it */
.cart-item-remove { position: absolute; top: 20px; right: 0; }
.cart-item-img { flex-shrink: 0; width: 250px; height: 250px; object-fit: contain; background: var(--grey-100); }
/* only as wide as its widest part, the row of sizes, so the prices (stretching across it) end where the last size ends */
.cart-item-info { flex: 0 1 auto; min-width: 0; }
.cart-item-name { max-width: 230px; margin: 0 0 26px; font-family: var(--font-body); font-size: 17px; font-weight: 600; line-height: 1.35; text-transform: none; letter-spacing: normal; color: var(--ink); }
/* the prices sit halfway between the name and the sizes (26px either side) */
.cart-item .product-price { margin-bottom: 26px; }
/* on sale: "Promoção" in blue, set like the PVP line, over the PVP with its price struck through */
.cart-item-tag { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--blue); }
.cart-item .price-row--promo { color: var(--blue); font-weight: 400; }
.cart-item .price-row--struck { font-size: 0.92rem; }
/* the PVP line, label and price, in a mid grey */
.cart-item .price-row:not(.price-row--promo) { color: #6B7280; }
/* size boxes and quantity: the product page's own (.pdp-size-btn, .pdp-qty), stacked */
.cart-item .pdp-size-options { flex-wrap: nowrap; gap: 6px; margin-bottom: 28px; }
/* a little more compact than on the product page so all six sizes fit on one row beside the photo */
.cart-item .pdp-size-btn { min-width: 40px; height: 40px; padding: 0 8px; font-size: 0.85rem; }
/* sizes not picked and the quantity box get a dark grey outline, close to the picked size's black (which is also thicker);
   unlike on the product page, hovering a size doesn't turn it blue */
.cart-item .pdp-size-btn:not(.is-active),
.cart-item .pdp-qty-value { border-color: #53585F; }
.cart-item .pdp-size-btn:hover { color: var(--ink); }
.cart-item .pdp-size-btn.is-active:hover { border-color: var(--ink); }
.cart-item .pdp-qty { margin-left: -10px; }
.cart-info { flex: 1; min-width: 0; padding: 20px 0 60px 77px; }
.cart-codes { display: flex; gap: 10px; }
.cart-code { flex: 1; min-width: 0; }
.cart-code label { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 500; text-transform: uppercase; color: var(--ink); }
.cart-code-field { position: relative; }
.cart-code-field input { width: 100%; height: 50px; padding: 0 96px 0 20px; border: 1px solid #757575; border-radius: 0; background: var(--white); font-family: var(--font-body); font-size: 18px; color: var(--ink); outline: none; }
/* selected: a 1.7px black border, the extra drawn inside so the field and its text don't shift */
.cart-code-field input:focus { border-color: var(--ink); box-shadow: inset 0 0 0 0.7px var(--ink); }
.cart-code-field button { position: absolute; top: 5px; right: 0; width: 80px; height: 40px; padding: 0 20px 0 0; text-align: right; background: none; border: none; cursor: pointer; font-family: var(--font-body); font-size: 14px; font-weight: 500; color: #757575; }
/* "Adicionar" stays grey and can't be clicked until something is typed (disabled in carrinho.js); until then
   clicks go straight through it to the field underneath, so it acts as part of the box */
.cart-code-field button:disabled { pointer-events: none; }
.cart-code-field button:not(:disabled) { color: var(--ink); }
/* after a code is checked "Adicionar" disappears until the code is changed (.is-checked, set in carrinho.js) */
.cart-code.is-checked .cart-code-field button { visibility: hidden; }
/* refused code: red box, red title and "Código inválido" under the box on the right (hanging below it, so nothing moves) */
.cart-code { position: relative; }
.cart-code-error { position: absolute; top: 100%; right: 0; margin: 6px 0 0; font-size: 9.75px; font-weight: 500; color: var(--sale-red); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: transform 0.25s ease, opacity 0.25s ease, visibility 0s 0.25s; }
/* slides down into place from just under the box as it appears */
.cart-code.is-invalid .cart-code-error { visibility: visible; opacity: 1; transform: none; transition: transform 0.45s ease, opacity 0.45s ease, visibility 0s; }
.cart-code.is-invalid label { color: var(--sale-red); }
.cart-code.is-invalid .cart-code-field input { border-color: var(--sale-red); }
.cart-code.is-invalid .cart-code-field input:focus { border-color: var(--sale-red); box-shadow: inset 0 0 0 0.7px var(--sale-red); }
/* reCAPTCHA popup over a darkened page */
.captcha-modal { position: fixed; inset: 0; z-index: 800; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.55); }
.captcha-modal[hidden] { display: none; }
.captcha-modal-box { padding: 24px; background: var(--white); }
.captcha-modal-box p { margin: 0 0 16px; font-size: 14px; color: var(--ink); }
.captcha-modal-box #captchaWidget { min-height: 78px; }
.cart-summary { margin-top: 30px; }
.cart-summary p { display: flex; justify-content: space-between; margin: 0 0 7px; font-size: 14px; color: var(--ink); }
.cart-summary .cart-summary-total { font-weight: 700; }
/* the usual black button: sharp corners, yellow text, blue fill rising on hover (like .mini-cart-buy) */
.cart-buy { position: relative; overflow: hidden; z-index: 0; display: block; height: 50px; line-height: 50px; margin-top: 20px; text-align: center; background: var(--ink); color: var(--yellow); border: 1px solid var(--ink); border-radius: 0; font-size: 18px; text-decoration: none; transition: border-color 0.2s ease; }
.cart-buy::before { content: ""; position: absolute; inset: 0; background: var(--blue); transform: translateY(100%); transition: transform 0.28s ease; z-index: -1; }
.cart-buy:hover { border-color: var(--blue); }
.cart-buy:hover::before { transform: translateY(0); }
@media (max-width: 900px) {
  .cart-page { padding: 24px 20px 48px; }
  .cart-layout { flex-direction: column; min-height: 0; }
  .cart-items { padding: 0 0 24px; border-right: none; border-bottom: 1px solid var(--grey-200); }
  .cart-item { gap: 16px; }
  .cart-item-img { width: 140px; height: 140px; }
  .cart-info { padding: 24px 0 0; }
}

/* Checkout page (checkout.html): its own slim header and footer, the form on the left and the order summary on the right,
   split by a thin line like the cart page */
.co-header { display: flex; align-items: center; justify-content: space-between; height: 70px; padding: 0 24px; border-bottom: 1px solid var(--grey-200); background: var(--white); }
.co-header-left, .co-header-right { display: flex; align-items: center; }
.co-header-left { gap: 20px; }
.co-header-right { gap: 24px; }
.co-logo img { width: 59px; height: 59px; }
.co-steps { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: #757575; }
.co-steps .is-current { font-weight: 500; color: var(--ink); }
.co-steps a { color: inherit; text-decoration: none; }
.co-phone { font-size: 15px; color: var(--ink); }
.co-icon { position: relative; display: flex; color: var(--blue); }
.co-icon svg { width: 28px; height: 28px; }
/* hover: blue slides up from the bottom to fill the bag, its number turning white (as on the main header); the profile
   fills in blue at once */
.co-cart-fill { fill: currentColor; stroke: none; transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); transition: transform 0.3s ease; }
.co-cart:hover .co-cart-fill { transform: scaleY(1); }
.co-cart-count { transition: color 0.3s ease; }
.co-cart:hover .co-cart-count { color: var(--white); }
.co-icon:not(.co-cart):hover path { fill: currentColor; }
.co-cart-count { position: absolute; left: 50%; top: calc(50% + 3px); transform: translate(-50%, -50%); font-size: 10px; font-weight: 600; line-height: 1; }

.co-page { max-width: 1272px; margin: 0 auto; padding: 40px 24px 60px; }
.co-layout { display: flex; }
.co-form { flex: 0 0 55.5%; padding-right: 77px; border-right: 1px solid var(--grey-200); }
.co-summary { flex: 1; min-width: 0; padding-left: 77px; }

.co-login { display: flex; align-items: center; gap: 10px; padding: 0 0 18px 8px; margin-bottom: 22px; border-bottom: 1px solid var(--grey-200); }
.co-login[hidden] { display: none; }
.co-login > svg { flex-shrink: 0; width: 32px; height: 32px; color: var(--blue); }
.co-login p { flex: 1; margin: 0; font-size: 14px; color: var(--ink); }
.co-login a { color: var(--blue); }
.co-login-close { display: flex; padding: 0 4px; background: none; border: none; cursor: pointer; color: var(--ink); }
.co-login-close svg { width: 12px; height: 12px; }
.co-login-close:hover { color: var(--blue); }

.co-section { margin-bottom: 40px; }
.co-section[hidden] { display: none; }
.co-section h2 { margin: 0 0 20px; font-family: var(--font-body); font-size: 18px; font-weight: 500; text-transform: none; letter-spacing: normal; color: var(--ink); }
.co-intro { margin: -2px 0 20px; font-size: 14px; color: #757575; }
.co-field { margin-bottom: 10px; }
.co-field label { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 500; text-transform: uppercase; color: var(--ink); }
/* a required box left empty: red outline and red title */
.co-field.is-invalid label { color: var(--sale-red); }
.co-field.is-invalid input, .co-field.is-invalid select { border-color: var(--sale-red); }
.co-field input, .co-field select { width: 100%; height: 50px; padding: 0 20px; border: 1px solid #757575; border-radius: 0; background: var(--white); font-family: var(--font-body); font-size: 18px; color: var(--ink); outline: none; }
.co-field select { appearance: none; -webkit-appearance: none; cursor: pointer; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111418' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center / 18px; padding-right: 50px; }
/* País: a plain field with its suggestions dropping down underneath */
.co-combo { position: relative; }
/* the box's outline (same grey, no change when selected) carries on around the open list, so the list reads as the box growing downwards */
.co-combo input[aria-expanded="true"] { border-bottom-color: transparent; }
/* five countries showing, cut just under the word "Afeganistão" (5 rows of 44px less most of the last row's bottom padding), the rest by scrolling; the browser's scrollbar is hidden and a small light grey
   dot down the right edge shows where you are instead (moved in checkout.js) */
.co-combo-list { position: absolute; top: 100%; left: 0; right: 0; z-index: 20; max-height: 213px; overflow-y: auto; margin: 0; padding: 0; list-style: none; background: var(--white); border: 1px solid #757575; border-top: none; scrollbar-width: none; }
.co-combo-list:not(.co-tel-list)::-webkit-scrollbar { display: none; }
.co-combo-dot { position: absolute; right: 9px; z-index: 21; width: 6px; height: 6px; border-radius: 50%; background: #D1D5DB; pointer-events: none; }
.co-combo-dot[hidden] { display: none; }
.co-combo-list[hidden] { display: none; }
.co-combo-list li { padding: 11px 20px; font-size: 18px; line-height: 22px; color: var(--ink); cursor: pointer; }
.co-combo-list li:hover, .co-combo-list li.is-active { color: var(--blue); }
.co-row { display: flex; gap: 7px; }
.co-field--cp { flex: 0 0 171px; }
.co-field--grow { flex: 1; min-width: 0; }
.co-cp { display: flex; gap: 7px; }
.co-cp input { padding: 0 12px; text-align: center; }
.co-tel { position: relative; }
/* the country button inside the phone box, on a light grey block: flag, the dialing code in black and a small ▼ (the number box's left
   padding is set in phone-codes.js to fit it); it opens the list of codes in a small separate popup just under the box */
.co-tel-code { position: absolute; left: 1px; top: 1px; bottom: 1px; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 0 5px 0 10px; background: #F0F2F4; border: none; cursor: pointer; font-family: var(--font-body); font-size: 18px; color: var(--ink); }
.co-tel-flag { flex-shrink: 0; width: 24px; height: 18px; line-height: 18px; background-size: cover; }
.co-tel-code .co-tel-flag { margin-right: 7px; }
.co-tel-caret { margin-left: 6px; width: 0; height: 0; border-left: 3.5px solid transparent; border-right: 3.5px solid transparent; border-top: 4px solid var(--ink); }
.co-tel.is-open .co-tel-caret { transform: rotate(180deg); }
.co-tel-list { top: calc(100% + 6px); right: auto; width: 162px; max-height: 205px; border: 1px solid var(--grey-200); box-shadow: 0 6px 18px rgba(17, 20, 24, .12); scrollbar-width: auto; }
/* unlike the País list, this popup shows the browser's regular scroll bar, with its arrows */
.co-tel-list li { padding: 9px 14px; font-size: 16px; line-height: 20px; }
/* the line under the chosen country, Portugal and Spain; 5 rows plus it fill the popup */
.co-tel-list .co-tel-sep { height: 1px; margin: 6px 0; padding: 0; background: var(--grey-200); cursor: default; }
/* example number shown in grey until something is typed */
.co-tel input::placeholder { color: #848B95; opacity: 1; }
.co-tel-list li { display: flex; align-items: center; gap: 12px; }
.co-tel-list-dial { margin-left: -4px; color: #757575; }

/* delivery types: white boxes; the chosen one's outline turns blue (same thickness) */
.co-shipping { display: flex; flex-direction: column; gap: 10px; }
.co-ship { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 20px; border: 1px solid var(--grey-200); cursor: pointer; }
/* a thin line separates "Meio de pagamento" from the discounts above */
#pgForm { padding-top: 22px; border-top: 1px solid var(--grey-200); }
.co-section:has(> .cart-codes) { margin-bottom: 32px; }
/* payment methods: no boxes, just a round option on the left of each, then the service's logo(s) and its name */
.co-payments { display: flex; flex-direction: column; gap: 22px; }
.co-pay-option { display: flex; width: fit-content; align-items: center; gap: 14px; font-size: 17px; font-weight: 600; color: var(--ink); cursor: pointer; }
/* the Klarna option ("Paga em 3 prestações sem juros") is the only name in regular weight */
.co-pay-option:has(input[value="prestacoes"]) { font-weight: 400; }
.co-pay-logos { display: flex; flex-shrink: 0; align-items: center; gap: 6px; }
/* the logo files are already drawn at about 24px tall, so they're shown at their own size to stay sharp */
.co-pay-logos img { display: block; }
/* MB Way phone box: opens under the MB Way line, lined up with the "Meio de pagamento" title */
.co-mbway { margin: -6px 0 4px; }
.co-mbway[hidden] { display: none; }
/* Referência Multibanco: just a line under it, starting under its circle, saying the payment details come later */
.co-pay-info { margin: -8px 0 4px; font-size: 14px; line-height: 1.45; color: var(--ink); }
.co-pay-info[hidden] { display: none; }
/* Klarna: three lines, each after a small tick, then one after an "i" */
.co-klarna-info ul { display: flex; flex-direction: column; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.co-klarna-info :is(li, p) { display: flex; align-items: center; gap: 10px; margin: 0; }
/* (the "i" line a little smaller than the ticked ones) */
.co-klarna-info p { font-size: 10.5px; }
/* then a line, the same as the one over "Meio de pagamento", and under it the small print, the same size, its links
   underlined */
.co-klarna-info .co-klarna-legal { display: block; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--grey-200); line-height: 1.5; }
.co-klarna-legal a { color: inherit; text-decoration: underline; }
/* under it, the logos of the cards it takes, in a row at their own size, starting where its text starts */
.co-klarna-info .co-klarna-cards { display: flex; align-items: center; gap: 10px; margin: 10px 0 0 28px; }
.co-klarna-info .co-klarna-cards img { display: block; width: auto; height: auto; object-fit: initial; }
/* (the icons, ico-Check and ico-Info, at their own small size, centred in the same room so the text lines up) */
.co-klarna-info img { flex-shrink: 0; width: 18px; height: 18px; object-fit: none; }
/* "Adicionar": an outlined button, not filled; grey while there's no full number yet; on hover the black fill slides up from the bottom and the text turns yellow (the usual black button) */
.co-mbway-add { margin-top: 22px; }
/* the card boxes already have room under them (each field's own margin), so the same 22px gap needs less here */
#pgCard .co-mbway-add { margin-top: 12px; }
/* a small filled card icon in front of the card number */
.co-card-number { position: relative; }
.co-card-icon svg { position: absolute; left: 15px; top: 50%; width: 35px; height: 35px; transform: translateY(-50%); color: #D6E5F9; pointer-events: none; }
.co-field .co-card-number input { padding-left: 62px; }
/* the grey examples in the card boxes (number, MM/AA, CVC) */
.co-card-number input::placeholder, #pgCardExpiry::placeholder, #pgCardCvc::placeholder { font-size: 21px; color: #DDE0E4; }
/* Link saved card, at the right of the empty card number box: a wide, short black box with rounded corners holding a
   square to tick, the green link logo and the saved card (brand + last 4 digits); it goes once something is typed */
.co-card-link { position: absolute; right: 21px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 10px; height: 27px; padding: 0 12px 0 10px; border: none; border-radius: 8px; background: #111418; color: var(--white); font-family: var(--font-body); font-size: 14px; cursor: pointer; transition: background 0.2s ease, opacity 0.3s ease, visibility 0s; }
.co-card-link.is-gone { opacity: 0; visibility: hidden; transition: background 0.2s ease, opacity 0.3s ease, visibility 0s 0.3s; }
.co-card-link:hover { background: #2A2F36; }
.co-card-link[hidden] { display: none; }
.co-card-link-box { flex-shrink: 0; width: 13px; height: 13px; border: 1.5px solid var(--white); border-radius: 3px; background: #3A3F46; }
.co-card-link[aria-checked="true"] .co-card-link-box { background: #00D66F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23111418' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; border-color: #00D66F; }
.co-card-link-logo { display: flex; align-items: center; gap: 5px; font-size: 15px; font-weight: 700; letter-spacing: -0.2px; color: #00D66F; }
.co-card-link-logo svg { width: 16px; height: 16px; }
/* not signed in to Link: just "Utilizar" and the logo */
#pgCardLinkLogin { gap: 7px; padding: 0 12px; }
/* Link email popup (on the reCAPTCHA popup's dark backdrop) */
.link-modal-box { position: relative; width: min(350px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; padding: 31px 16px 23px; border-radius: 28px; }
/* rounded email box and "Continuar", unlike the square ones on the page */
.link-modal-box .co-field input, .link-modal-box .co-pay { border-radius: 8px; }
/* the ✕ in a light grey circle, a little darker on hover */
.link-modal-close { position: absolute; top: 21px; right: 14px; display: flex; align-items: center; justify-content: center; width: 27px; height: 27px; padding: 0; border: none; border-radius: 50%; background: #F6F6F6; color: #000; cursor: pointer; transition: background 0.2s ease; }
.link-modal-close:hover { background: #EBEBEB; }
.link-modal-close svg { width: 16px; height: 16px; }
.link-modal-logo { width: fit-content; margin-bottom: 14px; font-size: 21px; color: #011E0F; }
.link-modal-logo svg { width: 22px; height: 22px; }
button.link-modal-logo { padding: 0; border: none; background: none; font-family: var(--font-body); cursor: pointer; }
/* the details about Link, opened from the logo: they take the place of the subtitle, email box and "Continuar", under
   their own title, and the popup grows taller */
.link-modal-info, .link-modal-title-info, .link-modal-title-code, .link-modal-code, .link-modal-title-pay, .link-modal-pay,
.link-modal-title-add, .link-modal-add, .link-modal-title-remove, .link-modal-remove, .link-modal-title-logout,
.link-modal-box:is(.is-info, .is-code, .is-pay, .is-add, .is-remove, .is-logout) .link-modal-title-form { display: none; }
.link-modal-box.is-info .link-modal-info, .link-modal-box.is-info .link-modal-title-info,
.link-modal-box.is-code .link-modal-code, .link-modal-box.is-code .link-modal-title-code,
.link-modal-box.is-pay .link-modal-pay, .link-modal-box.is-pay .link-modal-title-pay,
.link-modal-box.is-add .link-modal-add, .link-modal-box.is-add .link-modal-title-add,
.link-modal-box.is-remove .link-modal-remove, .link-modal-box.is-remove .link-modal-title-remove,
.link-modal-box.is-logout .link-modal-logout, .link-modal-box.is-logout .link-modal-title-logout { display: block; }
/* ("Fazer logout?" is laid out as "Remover cartão?", sharing its classes) */
.link-modal-box.is-remove .link-modal-logout { display: none; }
/* "Atualizar cartão" is the same view with its own title, the card number shown but not changeable */
.link-modal-title-update, .link-modal-box.is-update .link-modal-title-add { display: none; }
.link-modal-box.is-update .link-modal-title-update { display: block; }
.link-modal-box.is-update #linkAddNumber { cursor: default; }
.link-modal-box:is(.is-info, .is-code, .is-pay, .is-add, .is-remove, .is-logout) > p, .link-modal-box:is(.is-info, .is-code, .is-pay, .is-add, .is-remove, .is-logout) .link-modal-email,
.link-modal-box:is(.is-info, .is-code, .is-pay, .is-add, .is-remove, .is-logout) > .co-pay { display: none; }
.link-modal-box.is-info h2 { margin-bottom: 22px; line-height: 1.3; }
/* the email view is a little tighter at the top and bottom than the others (the ✕ moving up with it) */
.link-modal-box:not(.is-info, .is-code, .is-pay, .is-add, .is-remove, .is-logout) { padding-top: 26px; padding-bottom: 18px; }
.link-modal-box:not(.is-info, .is-code, .is-pay, .is-add, .is-remove, .is-logout) .link-modal-close { top: 16px; }
/* its logo sits a little higher, the title staying where it was */
.link-modal-box:not(.is-info, .is-code, .is-pay, .is-add, .is-remove, .is-logout) .link-modal-logo { margin-top: -4px; margin-bottom: 18px; }
/* switching between the two (pagamento.js): the height glides and the content fades in, rising a little */
.link-modal-box.is-switching { overflow: hidden; transition: height 0.35s ease; }
.link-modal-box.is-switching > :not(.link-modal-close) { animation: link-modal-content-in 0.35s ease; }
@keyframes link-modal-content-in { from { opacity: 0; transform: translateY(8px); } }
/* there the link logo moves to the middle, and the back circle shows on the left, level with the ✕; on the code and
   payment views there's no back circle and the logo stays on the left, also level with the ✕ */
.link-modal-back { left: 14px; right: auto; display: none; }
/* (its arrow a little bigger than the ✕, the circle the same) */
.link-modal-back svg { width: 19px; height: 19px; stroke-width: 2.2; }
.link-modal-box:is(.is-info, .is-add, .is-remove, .is-logout) .link-modal-back { display: flex; }
/* ...the three dots taking its place, their menu without "Editar carteira" (nothing to edit) */
.link-modal-box.is-add.is-no-cards .link-modal-back { display: none; }
.link-modal-box.is-add.is-no-cards .link-modal-menu-btn { display: flex; }
.link-modal-box.is-no-cards #linkPayEdit { display: none; }
.link-modal-box.is-info .link-modal-logo { margin: -9px auto 23px; }
.link-modal-box:is(.is-code, .is-pay) .link-modal-logo { margin: -9px 0 23px; }
/* "Formas de pagamento": no logo, the title itself goes in the middle of the top row, level with the ✕ and the
   three-dot circle in the top-left corner; then, on the left, a grey line over the saved card(s) to pick from, another
   over the block to add a new card, and "Continuar" */
.link-modal-box:is(.is-pay, .is-add, .is-remove, .is-logout) .link-modal-logo { display: none; }
.link-modal-box:is(.is-pay, .is-add, .is-remove, .is-logout) h2 { margin: -6px 0 32px; padding: 0 36px; font-size: 15.5px; text-align: center; }
/* "Adicionar um cartão" (from "Cartão"): the same top row as "Formas de pagamento" but with the back circle on the
   left, then the card number, Validade and CVC side by side, País ou região, and "Adicionar". Each box is grey with no
   outline, its name inside it: big in the middle of an empty box, small at the top once it's clicked or filled in */
.link-modal-box.is-add h2 { margin-bottom: 24px; }
/* "Remover cartão?" sits lower, under the top row, and bigger, as the page's question */
.link-modal-box:is(.is-remove, .is-logout) h2 { margin: 43px 0 10px; padding: 0; font-size: 18px; }
.link-modal-field { position: relative; margin-bottom: 10px; }
.link-modal-add-row { display: flex; gap: 10px; }
.link-modal-add-row .link-modal-field { flex: 1; min-width: 0; }
.link-modal-field :is(input, select) { width: 100%; height: 54px; padding: 18px 14px 0; border: 1.5px solid transparent; border-radius: 12px; background: #F5F5F5; font-family: var(--font-body); font-size: 14.5px; color: var(--ink); outline: none; appearance: none; -webkit-appearance: none; transition: background 0.2s ease, border-color 0.2s ease; }
.link-modal-field :is(input, select):focus { border-color: #757575; background: var(--white); box-shadow: inset 0 0 0 0.5px #757575; }
.link-modal-field label { position: absolute; left: 15.5px; top: 8px; font-size: 11px; font-weight: 500; color: #757575; pointer-events: none; transition: top 0.2s ease, font-size 0.2s ease; }
.link-modal-field input:not(:focus):placeholder-shown + label { top: 18px; font-size: 14px; font-weight: 400; }
/* the three card boxes are a little shorter than País ou região; clicked into, each shows an example in light grey
   (pagamento.js swaps it in) */
.link-modal-field input { height: 50px; padding-top: 17px; }
.link-modal-field input + label { top: 7px; }
.link-modal-field input:not(:focus):placeholder-shown + label { top: 16px; }
.link-modal-field input::placeholder { font-size: 14.5px; color: #808080; opacity: 1; }
/* card companies' logos at the right of the card number box, taking turns (fading) every 3 seconds until the digits
   typed give the company away; then just that one (pagamento.js) */
#linkAddNumber { padding-right: 54px; }
.link-modal-card-brand { position: absolute; right: 14px; top: 25px; display: flex; width: 30px; height: 30px; transform: translateY(-50%); pointer-events: none; transition: opacity 0.2s ease; }
.link-modal-card-brand.is-fading { opacity: 0; }
.link-modal-card-brand svg { width: 100%; height: 100%; }
/* the country list: grey like the card boxes, turning white with the grey outline when clicked, the same as them; a
   small ▼ (its own element, so nothing can paint over it) at the right; its list of countries opens white. Chrome
   paints its blue over a box it autofills, so there the grey (or white) is drawn as a shadow on top of that */
.link-modal-field select { padding-right: 40px; cursor: pointer; }
.link-modal-field select:-webkit-autofill { -webkit-text-fill-color: var(--ink); box-shadow: inset 0 0 0 100px #F5F5F5; }
.link-modal-field select:-webkit-autofill:focus { box-shadow: inset 0 0 0 0.5px #757575, inset 0 0 0 100px var(--white); }
.link-modal-field select option { background: var(--white); color: var(--ink); }
.link-modal-field-arrow { position: absolute; right: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--ink); pointer-events: none; }
/* a box left unfinished (or wrong): red outline and red text, a line saying what's wrong under it in small red text,
   and on Validade and CVC the red circled "!" at the right, like the email box (clicked back into, the outline goes
   back to normal; typing takes all of it away) */
.link-modal-field.is-invalid :is(input, select) { border-color: var(--sale-red); box-shadow: inset 0 0 0 0.5px var(--sale-red); color: var(--sale-red); }
.link-modal-field.is-invalid :is(input, select):focus { border-color: #757575; box-shadow: inset 0 0 0 0.5px #757575; }
.captcha-modal-box.link-modal-box p.link-modal-field-error { display: none; margin: 5px 2px 0; font-size: 11.5px; line-height: 1.3; text-align: left; color: var(--sale-red); }
.link-modal-box .link-modal-field.is-invalid p.link-modal-field-error { display: block; }
.link-modal-field .link-modal-alert { top: 16.5px; right: 14px; }
.link-modal-field.is-invalid .link-modal-alert { display: block; }
.link-modal-add-row .link-modal-field.is-invalid input { padding-right: 38px; }
/* "Continuar" a little further down, the popup keeping its height (less room under it); grey until the card is complete */
.link-modal-add .co-pay { margin-top: 18px; }
/* (the button stays black meanwhile, only its text going light grey) */
.link-modal-add .co-pay:disabled { border-color: var(--ink); background: var(--ink); color: #9A9A9A; }
/* clicked: the text gives way to a spinning ring in the middle, in the button's yellow */
.link-modal-add .co-pay.is-loading { color: transparent; pointer-events: none; }
.link-modal-add .co-pay.is-loading::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border: 2.5px solid rgba(255, 222, 90, 0.3); border-top-color: var(--yellow); border-radius: 50%; animation: link-modal-spin 0.7s linear infinite; }
.link-modal-box.is-add { padding-bottom: 15px; }
.captcha-modal-box.link-modal-box .link-modal-pay > p { margin: 0 0 11px; font-size: 14px; text-align: left; color: #8A8A8A; }
.link-modal-pay-new { margin-bottom: 20px; }
/* its icon: a plain black card on a rounded square a shade darker than the block, the size of the saved card's logo */
.link-modal-pay-new em { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: #E5E5E5; color: #000; }
.link-modal-pay-new em svg { width: 20px; height: 20px; }
.link-modal-pay-new b { display: flex; color: var(--ink); }
.link-modal-pay-new b svg { width: 18px; height: 18px; }
.link-modal-menu-btn { left: 14px; right: auto; display: none; }
.link-modal-box.is-pay .link-modal-menu-btn { display: flex; }
.link-modal-menu-btn svg { width: 17px; height: 17px; }
/* editing the wallet, it turns black with a yellow tick instead, to stop (a little lighter on hover) */
.link-modal-menu-done { display: none; }
.link-modal-box.is-editing .link-modal-menu-btn { width: 31px; height: 31px; margin: -2px 0 0 -2px; background: var(--ink); color: var(--yellow); }
.link-modal-box.is-editing .link-modal-menu-btn:hover { background: #3A3A3A; }
.link-modal-box.is-editing .link-modal-menu-btn svg { display: none; }
.link-modal-box.is-editing .link-modal-menu-btn .link-modal-menu-done { display: block; width: 17px; height: 17px; }
/* its menu: a small white card with a shadow, just under the dots */
.link-modal-menu { position: absolute; top: 54px; left: 10px; z-index: 2; min-width: 215px; padding: 6px; border: 1px solid #E2E2E2; border-radius: 12px; background: var(--white); box-shadow: 0 6px 24px rgba(17, 20, 24, 0.16); }
.link-modal-menu[hidden] { display: none; }
.link-modal-menu :is(a, button) { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 7px; border: none; border-radius: 8px; background: none; font-family: var(--font-body); font-size: 16px; text-align: left; text-decoration: none; color: var(--ink); cursor: pointer; }
.link-modal-menu :is(a, button):hover { background: #F5F5F5; }
/* each option's icon, small and black, on the left of its text */
.link-modal-menu svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--ink); }
/* the email signed in, inside "Sair" just under its name: small and grey (the icon stays level with "Sair") */
#linkPaySignOut { align-items: flex-start; }
#linkPaySignOut svg { margin-top: 1px; }
.link-modal-menu-email { display: block; margin-top: 1px; font-size: 12.5px; line-height: 1.3; color: #8A8A8A; overflow-wrap: anywhere; }
.link-modal-menu-email[hidden] { display: none; }
.link-modal-pay-list { display: flex; flex-direction: column; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
/* each card: a light grey box with no outline; the card's name with its last digits in grey under it */
.link-modal-pay-card { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: none; border-radius: 10px; background: #F5F5F5; font-family: var(--font-body); text-align: left; color: var(--ink); cursor: pointer; }
.link-modal-pay-card > svg { flex-shrink: 0; width: 34px; height: 34px; }
.link-modal-pay-card span { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 14px; font-weight: 500; }
.link-modal-pay-card small { font-size: 12px; font-weight: 400; color: #757575; }
/* the picked one has a plain black tick on the right */
.link-modal-pay-card i { flex-shrink: 0; width: 18px; height: 18px; }
/* editing the wallet: each card makes room on its left for a red circle with a white minus, which slides and fades in
   (removing a card, the popup shrinks to the shorter list without the content fading) */
.link-modal-pay-list li { position: relative; }
.link-modal-pay-card { transition: padding-left 0.25s ease, background-color 0.2s ease; }
/* pressing a card darkens its box a shade, only while it's held down */
.link-modal-pay-card:active { background: #E0E0E0; }
.link-modal-pay-list.is-editing .link-modal-pay-card { padding-left: 44px; }
.link-modal-pay-remove { position: absolute; left: 14px; top: 50%; z-index: 1; display: flex; width: 16px; height: 16px; padding: 0; border: none; border-radius: 50%; background: none; color: #E5484D; cursor: pointer; opacity: 0; visibility: hidden; transform: translate(-8px, -50%) scale(0.6); transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s; }
.link-modal-pay-remove svg { width: 100%; height: 100%; overflow: visible; }
.link-modal-pay-list.is-editing .link-modal-pay-remove { opacity: 1; visibility: visible; transform: translate(0, -50%); transition: opacity 0.25s ease, transform 0.25s ease; }
/* "Remover cartão?": the same top row as "Atualizar cartão" (back circle, title, ✕), the card named in grey in the
   middle, then a light grey "Cancelar" and a red "Remover" side by side, sharing the popup's width */
.captcha-modal-box.link-modal-box .link-modal-remove p { margin: 0 0 44px; font-size: 15.5px; line-height: 1.6; text-align: center; color: #757575; }
.link-modal-remove button { display: block; flex: 1; height: 48px; border: none; border-radius: 12px; font-family: var(--font-body); font-size: 14px; font-weight: 400; cursor: pointer; }
.link-modal-remove-actions { display: flex; gap: 8px; }
.link-modal-remove-ok { background: #E12C55; color: var(--white); }
.link-modal-remove-ok:hover { background: #DE224C; }
/* (on "Fazer logout?", "Sair" is black instead, a little lighter on hover) */
#linkLogoutOk { background: var(--ink); color: var(--yellow); }
#linkLogoutOk:hover { background: #2C2C2C; }
/* clicked: a yellow ring spins in place of its text for a moment, as on "Adicionar um cartão" */
#linkLogoutOk { position: relative; }
#linkLogoutOk.is-loading { color: transparent; pointer-events: none; }
#linkLogoutOk.is-loading::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border: 2.5px solid rgba(255, 222, 90, 0.3); border-top-color: var(--yellow); border-radius: 50%; animation: link-modal-spin 0.7s linear infinite; }
.link-modal-remove-cancel { background: #F5F5F5; color: var(--ink); }
.link-modal-remove-cancel:hover { background: #EBEBEB; }
.link-modal-box:is(.is-remove, .is-logout) { padding-bottom: 18px; }
/* (a little taller: the back circle and ✕ sit higher in the corners) */
.link-modal-box:is(.is-remove, .is-logout) .link-modal-close { top: 15px; }
/* with no card left, "Continuar" stays black with its text light grey, as on "Adicionar um cartão" */
.link-modal-pay .co-pay:disabled { border-color: var(--ink); background: var(--ink); color: #9A9A9A; }
.link-modal-pay-card[aria-checked="true"] i { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.5 9.4l3.6 3.6 7.4-8' fill='none' stroke='%23111418' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
/* editing the wallet, every card has an arrow there instead, opening "Atualizar cartão" for it */
.link-modal-pay-list.is-editing .link-modal-pay-card i { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 6l6 6-6 6' fill='none' stroke='%23111418' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
/* "Confirme sua identidade": a line saying where the code went, then six boxes, one per digit */
.captcha-modal-box.link-modal-box .link-modal-code p { margin: 0 0 22px; font-size: 13px; text-align: center; color: #757575; }
#linkCodeTo { overflow-wrap: anywhere; }
/* "Reenviar código" and "Enviar código por e-mail": two small text buttons, one under the other, under the boxes */
.link-modal-code-actions { position: relative; display: flex; flex-direction: column; align-items: center; gap: 15px; margin-top: 32px; }
/* checking a full code: the two buttons give way (keeping their room) to a black ring spinning in the middle */
.link-modal-code-actions.is-checking button { visibility: hidden; }
.link-modal-code-spinner { position: absolute; left: 50%; top: 50%; display: none; width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 2.5px solid #E2E2E2; border-top-color: var(--ink); border-radius: 50%; animation: link-modal-spin 0.7s linear infinite; }
.link-modal-code-actions.is-checking .link-modal-code-spinner { display: block; }
/* a code that worked: the ring gives way to a green circle drawing itself, then a white tick inside it */
.link-modal-code-check { position: absolute; left: 50%; top: 50%; display: none; width: 34px; height: 34px; margin: -17px 0 0 -17px; }
.link-modal-code-actions.is-done button { visibility: hidden; }
.link-modal-code-actions.is-done .link-modal-code-check { display: block; }
.link-modal-code-check circle { stroke-dasharray: 101; stroke-dashoffset: 101; animation: link-modal-draw 0.4s ease-out forwards, link-modal-fill 0.2s ease-out 0.35s forwards; }
.link-modal-code-check path { stroke-dasharray: 20; stroke-dashoffset: 20; animation: link-modal-draw 0.3s ease-out 0.45s forwards; }
@keyframes link-modal-draw { to { stroke-dashoffset: 0; } }
@keyframes link-modal-fill { to { fill: #00D66F; } }
/* a code that didn't work: a small red line under "Enviar código por e-mail" */
.captcha-modal-box.link-modal-box p.link-modal-code-error { margin: -7px 0 0; font-size: 11.5px; text-align: center; color: var(--sale-red); }
.link-modal-code-actions button, .link-modal-code-account button { padding: 0; border: none; background: none; font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--ink); cursor: pointer; }
.link-modal-code-actions button:hover, .link-modal-code-account button:hover { text-decoration: underline; }
/* at the very bottom: the email in grey with "Não é você?" next to it */
.link-modal-code-account { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 6px; margin-top: 38px; margin-bottom: -6px; font-size: 12px; color: #757575; overflow-wrap: anywhere; text-align: center; }
.link-modal-code-account button { font-size: 12px; }
.link-modal-code-actions button:disabled { color: #757575; text-decoration: none; cursor: default; }
.link-modal-code-boxes { display: flex; justify-content: center; gap: 8px; margin-bottom: 6px; }
.link-modal-code-boxes input { width: 40px; height: 48px; padding: 0; border: 1.5px solid transparent; border-radius: 8px; background: #F5F5F5; font-family: var(--font-body); font-size: 22px; font-weight: 500; text-align: center; color: var(--ink); outline: none; transition: background 0.2s ease, border-color 0.2s ease; }
.link-modal-code-boxes input:focus { border-color: #757575; background: var(--white); box-shadow: inset 0 0 0 0.5px #757575; }/* indented so the points' titles start right under "compre" in the title */
.link-modal-info ul { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 0 4px 6px 13px; list-style: none; }
/* "Saiba mais": shaped like "Continuar" but light grey with black text, a little darker on hover; then the two small
   grey links under it */
.link-modal-box .link-modal-more { display: flex; align-items: center; justify-content: center; width: 288px; margin: 15px auto 0; background: #F5F5F5; border-color: #F5F5F5; color: var(--ink); text-decoration: none; }
.link-modal-box .co-pay.link-modal-more:not(:disabled):hover { background: #EEEEEE; border-color: #EEEEEE; }
.link-modal-legal { display: flex; justify-content: center; gap: 18px; margin-top: 22px; }
.link-modal-legal a { font-size: 12px; color: #757575; text-decoration: none; }
.link-modal-legal a:hover { color: var(--ink); text-decoration: underline; }
/* each icon centred on the height of its title and text */
.link-modal-info li { display: flex; gap: 12px; align-items: center; }
.link-modal-info li > svg { flex-shrink: 0; width: 23px; height: 23px; color: var(--ink); }
.link-modal-info strong { display: block; margin-bottom: 4px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.captcha-modal-box.link-modal-box .link-modal-info p { margin: 0; font-size: 11.5px; line-height: 1.4; text-align: left; color: #4A4A4A; }
/* the title in the same font as the page's titles ("Meio de pagamento") */
.link-modal-box h2 { margin: 0 0 6px; font-family: var(--font-body); font-size: 20px; font-weight: 600; text-transform: none; letter-spacing: normal; text-align: center; color: var(--ink); }
/* the line under the title: centred, in grey */
.captcha-modal-box.link-modal-box > p { margin-bottom: 24px; font-size: 13px; text-align: center; color: #757575; }
.link-modal-box .co-field { margin-bottom: 14px; }
.link-modal-box .co-field input, .link-modal-box .co-pay { height: 44px; font-size: 16px; }
/* the page behind the popup can't scroll while it's open (set by pagamento.js) */
html.is-modal-open { overflow: hidden; }
/* closing only: the popup slides down and fades as the dark background fades out (pagamento.js hides it after) */
.link-modal.is-closing { animation: link-modal-fade 0.3s ease forwards; pointer-events: none; }
.link-modal.is-closing .link-modal-box { animation: link-modal-slide 0.3s ease forwards; }
@keyframes link-modal-fade { to { background: rgba(0, 0, 0, 0); } }
@keyframes link-modal-slide { to { transform: translateY(60px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .link-modal.is-closing .link-modal-box { animation-name: link-modal-fade-box; } }
@keyframes link-modal-fade-box { to { opacity: 0; } }
/* "Continuar" on hover: no blue sliding up, the black just turns a little lighter */
.link-modal-box .co-pay { font-size: 14px; font-weight: 500; transition: background 0.2s ease, border-color 0.2s ease; }
.link-modal-box .co-pay::before { display: none; }
.link-modal-box .co-pay:not(:disabled):hover { background: #2C2C2C; border-color: #2C2C2C; }
/* the email box while typing in it: a thicker outline, with a tiny "E-mail" inside it, above what's typed */
.link-modal-email { position: relative; }
.link-modal-email label { position: absolute; left: 16px; top: 8px; margin: 0; font-size: 11px; font-weight: 500; text-transform: none; color: #757575; pointer-events: none; transition: top 0.2s ease, font-size 0.2s ease; }
.link-modal-box .link-modal-email input { height: 54px; padding: 18px 16px 0; border-width: 1.5px; transition: background 0.2s ease, border-color 0.2s ease; }
/* clicked away from: no outline, just light grey (still red with "Email inválido."); left empty, "E-mail" goes back to
   full size in the middle of the box on the left (the placeholder is a blank space, so :placeholder-shown means empty) */
.link-modal-box .link-modal-email input:not(:focus) { background: #F5F5F5; }
.link-modal-box .link-modal-email:not(.is-invalid) input:not(:focus) { border-color: transparent; }
/* a wrong email (after "Continuar", or on leaving the box): red outline and text (not "E-mail"), and a red circled "!" at the right */
.link-modal-box .link-modal-email.is-invalid input { padding-right: 42px; color: var(--sale-red); }
.link-modal-email.is-invalid label { color: #757575; }
/* clicking back into it to fix the email brings the normal outline back (the rest stays red until it's right) */
.link-modal-box .link-modal-email.is-invalid input:focus { border-color: #757575; }
/* a thin shadow inside the outline makes it a touch thicker than 1.5px (on scaled screens a border alone jumps
   straight from 1 to 2 pixels) */
.link-modal-box .link-modal-email input:focus { box-shadow: inset 0 0 0 0.5px #757575; }
.link-modal-box .link-modal-email.is-invalid input:not(:focus) { box-shadow: inset 0 0 0 0.5px var(--sale-red); }
.link-modal-alert { position: absolute; right: 16px; top: 18.5px; display: none; width: 17px; height: 17px; color: var(--sale-red); pointer-events: none; }
.link-modal-alert svg { display: block; width: 100%; height: 100%; }
.link-modal-email.is-invalid .link-modal-alert { display: block; }
/* looking the email up in Link: the box turns green (outline and a light green fill), "E-mail" goes, a round profile
   picture shows on the left, and the email sits beside it, in black and centred in the box, with a wave running along
   it over and over: one letter after the other grows (pushing the others aside, not over them) and turns green, then
   settles back (each letter is its own span, set up in pagamento.js) */
/* the box's own text is hidden under the wave; Chrome forces its own colours on an autofilled email, so the text is
   hidden with -webkit-text-fill-color and the green fill drawn as a shadow, which autofill can't override */
.link-modal-box.link-modal-box .link-modal-email.is-loading input { padding-left: 54px; border-color: #00D66F; background: #F1FCF6; box-shadow: inset 0 0 0 0.5px #00D66F, inset 0 0 0 100px #F1FCF6; color: transparent; -webkit-text-fill-color: transparent; caret-color: transparent; }
.link-modal-email.is-loading label { visibility: hidden; }
.link-modal-avatar, .link-modal-wave, .link-modal-spinner { position: absolute; display: none; pointer-events: none; }
.link-modal-email.is-loading :is(.link-modal-avatar, .link-modal-wave, .link-modal-spinner) { display: block; }
/* and a green ring spinning at the right */
.link-modal-spinner { right: 16px; top: 17px; width: 20px; height: 20px; border: 2.5px solid #CDEFDC; border-top-color: #00D66F; border-radius: 50%; animation: link-modal-spin 0.7s linear infinite; }
@keyframes link-modal-spin { to { transform: rotate(360deg); } }
/* looking up an email with no account: the box stays as it is, with just a dark ring spinning at the right */
.link-modal-box .link-modal-email.is-checking input { padding-right: 46px; }
.link-modal-email.is-checking .link-modal-spinner { display: block; border-color: #E2E2E2; border-top-color: var(--ink); }
.link-modal-avatar { left: 14px; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: #00D66F; font-size: 14px; font-weight: 600; line-height: 30px; text-align: center; color: var(--white); overflow: hidden; }
.link-modal-wave { left: 54px; right: 46px; top: 0; overflow: hidden; font-size: 16px; line-height: 54px; white-space: nowrap; color: var(--ink); }
/* the wave takes 45ms per letter to reach the end, then a short pause before it starts again */
.link-modal-wave span { animation: link-modal-letter calc(var(--n) * 45ms + 700ms) ease-in-out calc(var(--i) * 45ms) infinite; }
@keyframes link-modal-letter {
  0%, 22%, 100% { font-size: 16px; color: var(--ink); }
  10% { font-size: 20px; color: #00C163; }
}
@media (prefers-reduced-motion: reduce) { .link-modal-wave span { animation: none; } }
.link-modal-email:has(input:not(:focus):placeholder-shown) label { top: 18px; font-size: 14px; font-weight: 400; }
.link-modal-box .co-field .link-modal-error { display: none; margin: 6px 0 0; font-size: 11.5px; color: var(--sale-red); }
.co-field.is-invalid .link-modal-error { display: block; }
/* left empty, only the red outline and "!" show, not the message */
.link-modal-email.is-invalid:has(input:placeholder-shown) .link-modal-error { display: none; }
/* the phone number box (an email with no account yet): the same as the email box, just under it, fading in */
.link-modal-phone { margin-top: 10px; animation: link-modal-content-in 0.35s ease; }
.link-modal-phone[hidden] { display: none; }
/* its left side: a white box with a soft shadow holding the flag and +351; "Telemóvel" beside it, like "E-mail" (the
   example number, 912 345 678, only shows while it's clicked into) */
.link-modal-phone-code { position: absolute; left: 9px; top: 50%; z-index: 1; display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 10px; border-radius: 9px; background: var(--white); box-shadow: 0 1px 4px rgba(17, 20, 24, 0.14); font-size: 14px; color: var(--ink); transform: translateY(-50%); transition: box-shadow 0.2s ease; }
.link-modal-phone-code:hover { box-shadow: 0 1px 6px rgba(17, 20, 24, 0.22); }
.link-modal-phone-code .fi { width: 21px; height: 14px; border-radius: 2px; background-size: cover; line-height: 1; }
/* the list itself: invisible, over the whole white box, so clicking anywhere on it opens the list */
.link-modal-phone-code select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 14px; }
.link-modal-box #linkPhoneField input { padding-left: 106px; }
#linkPhoneField label { left: 106px; }
.link-modal-box #linkPhoneField input::placeholder { color: #8A8A8A; opacity: 1; }
.link-modal-box.is-resizing { overflow: hidden; transition: height 0.35s ease; }
@media (prefers-reduced-motion: reduce) { .link-modal-phone { animation: none; } }
.co-card-link-card { display: flex; align-items: center; gap: 6px; }
/* once the saved card is ticked (the grey box), hovering it widens the box just enough for an arrow sliding in at its
   right end (it opens "Formas de pagamento" in the Link popup) */
.co-card-link-open { display: none; align-items: center; justify-content: center; width: 0; height: 100%; margin-left: -10px; overflow: hidden; opacity: 0; transition: width 0.25s ease, margin 0.25s ease, opacity 0.2s ease; }
#pgCard.is-link .co-card-link-open { display: flex; }
.co-card-link-open svg { flex-shrink: 0; width: 20px; height: 20px; }
/* (the box's right padding shrinks at the same time, so the arrow sits close to its end) */
#pgCard.is-link #pgCardLink { transition: background 0.2s ease, padding 0.25s ease; }
#pgCard.is-link #pgCardLink:hover { padding-right: 3px; }
#pgCard.is-link #pgCardLink:hover .co-card-link-open { width: 20px; margin-left: -7px; opacity: 1; }
/* hovering the card also brings in a grey ✕ just outside the box's right side, fading in while turning a quarter turn
   into place (it stays while the mouse moves onto it), a little darker on hover, which takes the Link card out (as
   unticking it does) */
.co-card-link-clear { position: absolute; left: 100%; top: 50%; display: none; align-items: center; justify-content: center; width: 26px; height: 26px; margin-left: 3px; color: #8A8F96; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(-50%) rotate(-90deg); transition: opacity 0.3s ease, transform 0.4s ease, color 0.2s ease, visibility 0s 0.4s; }
#pgCard.is-link .co-card-link-clear { display: flex; }
.co-card-link-clear:hover { color: var(--ink); }
.co-card-link-clear svg { width: 16.5px; height: 16.5px; }
#pgCard.is-link #pgCardLink:hover .co-card-link-clear { opacity: 1; visibility: visible; transform: translateY(-50%) rotate(0); transition: opacity 0.3s ease, transform 0.4s ease, color 0.2s ease, visibility 0s; }
@media (prefers-reduced-motion: reduce) { .co-card-link-clear { transform: translateY(-50%); } }
.co-card-link-card svg { width: 26px; height: 26px; }
/* Link card ticked: the Link box turns light grey and moves to the left of the number box, without its square, the card
   icon and example number go */
#pgCard.is-link .co-card-link { left: 22px; right: auto; padding-left: 12px; background: #F0F2F4; color: var(--ink); box-shadow: inset 0 0 0 0.6px #D5D9DE; }
#pgCard.is-link .co-card-link-logo { color: #000; }
#pgCard.is-link .co-card-link:hover { background: #E8EAED; }
#pgCard.is-link .co-card-link-box { display: none; }
#pgCard.is-link .co-card-icon { visibility: hidden; }
#pgCard.is-link #pgCardNumber::placeholder { color: transparent; }
/* ...and Validade and CVC get the same light grey box, holding the saved card's date and "•••" */
.co-card-chip-wrap { position: relative; }
.co-card-chip { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); display: none; align-items: center; height: 27px; padding: 0 12px; border-radius: 8px; background: #F0F2F4; box-shadow: inset 0 0 0 0.6px #D5D9DE; font-size: 14px; color: var(--ink); pointer-events: none; }
#pgCard.is-link .co-card-chip { display: flex; }
/* ticking the Link card: the three grey boxes slide in to the right, into place, fading in; unticking: they slide out
   to the left, fading, then the grey examples in the boxes slide back in to the left and the black Link box fades back
   in (pagamento.js adds and removes these) */
#pgCard.is-link-in :is(#pgCardLink, .co-card-chip) { animation: co-link-in 0.35s ease; }
#pgCard.is-link-out :is(#pgCardLink, .co-card-chip) { animation: co-link-out 0.3s ease forwards; }
#pgCard.is-unlink-in :is(#pgCardNumber, #pgCardExpiry, #pgCardCvc) { animation: co-placeholder-in 0.35s ease; }
#pgCard.is-unlink-in #pgCardLink { animation: co-fade-in 0.35s ease; }
/* the card icon in front of the number goes with the examples: sliding out to the right as the Link card comes in, and
   back in to the left with them */
#pgCard.is-link-in .co-card-icon { visibility: visible; }
#pgCard.is-link-in .co-card-icon svg { animation: co-icon-out 0.3s ease forwards; }
#pgCard.is-unlink-in .co-card-icon svg { animation: co-icon-in 0.35s ease; }
@keyframes co-icon-out { to { opacity: 0; transform: translate(24px, -50%); } }
@keyframes co-icon-in { from { opacity: 0; transform: translate(24px, -50%); } }
@keyframes co-link-in { from { opacity: 0; transform: translate(-24px, -50%); } }
@keyframes co-link-out { to { opacity: 0; transform: translate(-24px, -50%); } }
@keyframes co-placeholder-in { from { text-indent: 24px; } }
@keyframes co-fade-in { from { opacity: 0; } }
/* they widen on hover to show the same arrow as the card's box (opening "Formas de pagamento"); no ✕ on these */
#pgCard .co-card-chip { gap: 10px; pointer-events: auto; transition: padding 0.25s ease; }
#pgCard.is-link .co-card-chip:hover { padding-right: 3px; }
#pgCard.is-link .co-card-chip:hover .co-card-link-open { width: 20px; margin-left: -7px; opacity: 1; }
.co-card-chip .co-card-link-open { cursor: pointer; }
#pgCard.is-link #pgCardExpiry::placeholder, #pgCard.is-link #pgCardCvc::placeholder { color: transparent; }
#pgCard.is-link #pgCardExpiry, #pgCard.is-link #pgCardCvc { cursor: default; }
.co-pay.co-mbway-add { background: var(--white); color: var(--ink); border-color: var(--ink); transition: color 0.28s ease; }
.co-pay.co-mbway-add::before { background: var(--ink); }
.co-pay.co-mbway-add:not(:disabled):hover { border-color: var(--ink); color: var(--yellow); }
.co-pay.co-mbway-add:disabled { background: var(--white); border-color: #B3B3B3; color: #B3B3B3; }
/* the added MB Way number: just the number, in a box outlined in blue */
.co-mbway-added { position: relative; display: flex; align-items: center; height: 60px; margin: -6px 0 4px; padding: 0 20px; border: 1px solid var(--blue); font-size: 14px; color: var(--ink); }
.co-mbway-added[hidden] { display: none; }
.co-mbway-edit { position: absolute; right: 0; bottom: calc(100% + 20px); }
/* "Alterar" with an incomplete number: the box and "Telemóvel" turn red (.co-field.is-invalid) and "Valor inválido." slides a little
   under the box's right end, like "Código inválido.", in the gap kept above the button (so the button doesn't move) */
.co-mbway-error { margin-top: 8px; transform: translateY(-4px); }
.co-field.is-invalid .co-mbway-error { visibility: visible; opacity: 1; transform: none; transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s; }
.co-pay-option input { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 20px; height: 20px; margin: 0; border: 1px solid #BBBBBB; border-radius: 50%; background: var(--white); cursor: pointer; }
.co-pay-option input:checked { border-color: var(--ink); background: radial-gradient(circle, var(--ink) 0 5px, var(--white) 5.5px); }
.co-pay-option input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.co-ship[hidden] { display: none; }
.co-ship input { position: absolute; opacity: 0; pointer-events: none; }
.co-ship:has(input:checked) { border-color: var(--blue); }
.co-ship:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.co-ship-text { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--ink); }
.co-ship-text strong { font-weight: 700; }
.co-ship-price { font-size: 16px; color: var(--ink); }

/* checkboxes: a plain square that fills black with a white tick */
.co-check { display: flex; width: fit-content; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); cursor: pointer; }
.co-check input { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 20px; height: 20px; margin: 0; border: 1px solid #BBBBBB; border-radius: 0; background: var(--white); cursor: pointer; }
.co-check input:checked { border-color: var(--ink); background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / 14px; }
.co-check input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
/* round option (Pickup Points): a light grey circle with a black dot when picked */
.co-radio { display: flex; width: fit-content; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); cursor: pointer; }
.co-radio span { font-size: 18px; font-weight: 500; }
.co-radio input { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 20px; height: 20px; margin: 0; border: 1px solid #BBBBBB; border-radius: 50%; background: var(--white); cursor: pointer; }
.co-radio input:checked { border-color: var(--ink); background: radial-gradient(circle, var(--ink) 0 5px, var(--white) 5.5px); }
.co-radio input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.co-pickup-point { margin-top: 20px; }
.co-pickup-point[hidden] { display: none; }
.co-check--terms { margin-top: 40px; }
.co-billing { margin-top: 24px; }
.co-billing[hidden] { display: none; }
.co-billing h3 { margin: 0 0 16px; font-family: var(--font-body); font-size: 16px; font-weight: 500; text-transform: none; letter-spacing: normal; color: var(--ink); }
.co-legal { margin: 16px 0 0; font-size: 14px; line-height: 1.3; color: var(--ink); }
.co-legal a { color: var(--blue); }
.co-note { margin: 16px 0 0; font-size: 11px; color: var(--ink); }
/* a bit more room between the consent text and "*Campos de preenchimento obrigatório" */
.co-legal + .co-note { margin-top: 22px; }
.co-note--payments { margin-top: 20px; }
/* the payment step is short, so more room before the footer */
.co-page:has(#pgForm) { padding-bottom: 100px; }
.co-legal sup, .co-note sup { font-size: 0.7em; }

/* order summary */
.co-products { background: var(--grey-100); }
.co-products[hidden] { display: none; }
.co-product { display: flex; gap: 8px; padding: 15px; }
.co-product + .co-product { border-top: 1px solid var(--grey-200); }
.co-product img { flex-shrink: 0; width: 44px; height: 44px; object-fit: contain; }
.co-product-text { flex: 1; min-width: 0; }
.co-product-head { display: flex; justify-content: space-between; gap: 16px; }
.co-product-tag { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: var(--blue); }
.co-product-name { margin: 0; font-family: var(--font-body); font-size: 18px; font-weight: 500; line-height: 1.35; text-transform: none; letter-spacing: normal; color: var(--ink); }
.co-product-edit { flex-shrink: 0; align-self: flex-start; padding: 0; border: none; background: none; font-family: var(--font-body); font-size: 14px; color: var(--ink); text-decoration: none; cursor: pointer; }
.co-product-edit:hover { color: var(--blue); }
/* "Alterar": the card grows taller to show the size boxes and the quantity under the prices */
.co-product-options { display: none; }
.co-product.is-editing .co-product-options { display: block; }
.co-product-options .pdp-size-options { margin-top: 12px; }
.co-product-options .pdp-size-btn { min-width: 44px; height: 40px; padding: 0 10px; border-color: #6E737B; font-size: 0.85rem; }
.co-product-options .pdp-size-btn.is-active { border-color: var(--ink); }
.co-product-options .pdp-size-btn:hover { border-color: var(--ink); color: var(--ink); }
.co-product-options .pdp-qty { margin-top: 10px; }
.co-product-options .pdp-qty-btn { height: 40px; }
.co-product-update { margin-left: -6px; padding: 0; border: none; background: none; font-family: var(--font-body); font-size: 13px; color: var(--ink); cursor: pointer; }
.co-product-update:hover { color: var(--blue); }
.co-product-update[hidden] { display: none; }
.co-product-options .pdp-qty-value { width: 40px; height: 40px; border-color: #6E737B; background: var(--white); }
.co-product-meta { display: block; margin: 8px 0; font-size: 14px; color: #757575; }
.co-product-prices p { display: flex; justify-content: space-between; margin: 0 0 4px; font-size: 14px; color: var(--ink); }
.co-product-prices .is-promo, .co-product-prices .is-socio { color: var(--blue); }
.co-product-prices .is-socio { margin-bottom: 7px; }
.co-product-prices .is-struck span:last-child { text-decoration: line-through; }
.co-totals { margin-top: 28px; }
.co-iva { margin: 16px 0 20px; font-size: 14px; color: var(--ink); }
.co-iva a { color: var(--blue); }
/* its "Ver detalhes" popup: the title and the total split into its price without VAT and the VAT; the header stays
   above the dimmed page */
.iva-modal-open .co-header { position: relative; z-index: 801; }
.iva-modal { background: rgba(0, 0, 0, 0.4); transition: opacity 0.4s ease-in-out; }
.iva-modal.is-faded { opacity: 0; }
.iva-modal-box { position: relative; width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; padding: 64px 58px 48px 46px; background: var(--white); font-family: var(--font-body); color: var(--ink); }
.iva-modal-box h2 { margin: 0 -16px 32px 0; padding: 0 52px 22px 0; border-bottom: 1px solid #E9EBEF; font-family: var(--font-body); font-weight: 700; font-size: 1.5rem; text-transform: none; letter-spacing: normal; color: var(--ink); }
/* (the names in bold, a line under the VAT before the total) */
.iva-modal-rows { margin: 0; }
.iva-modal-rows p { margin-bottom: 20px; padding-right: 19px; font-size: 15px; }
.iva-modal-rows p span:first-child { font-weight: 700; }
.iva-modal-rows p:nth-child(2) { margin-right: -16px; padding-right: 35px; padding-bottom: 32px; border-bottom: 1px solid #E9EBEF; margin-bottom: 32px; }
.iva-modal-rows p:first-child { margin-bottom: 24px; }
.iva-modal-rows .cart-summary-total { margin-bottom: 0; color: var(--blue); }
.iva-modal-close { position: absolute; top: 14px; right: 14px; display: flex; padding: 0; border: none; background: none; color: var(--ink); cursor: pointer; }
.iva-modal-close svg { width: 35px; height: 35px; transition: transform 0.3s ease; }
.iva-modal-close:hover { color: var(--blue); }
.iva-modal-close:hover svg { transform: rotate(90deg); }
/* "Pagamento": grey and off until the form is complete, then the usual black button (yellow text, blue fill rising on hover) */
.co-pay { position: relative; overflow: hidden; z-index: 0; display: block; width: 100%; height: 50px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--yellow); font-family: var(--font-body); font-size: 18px; cursor: pointer; transition: border-color 0.2s ease; }
.co-pay::before { content: ""; position: absolute; inset: 0; background: var(--blue); transform: translateY(100%); transition: transform 0.28s ease; z-index: -1; }
.co-pay:not(:disabled):hover { border-color: var(--blue); }
.co-pay:not(:disabled):hover::before { transform: translateY(0); }
.co-pay:disabled { border-color: #B3B3B3; background: #B3B3B3; color: var(--white); cursor: default; }
.co-pay:disabled::before { display: none; }

.co-footer-strip { display: flex; gap: 100px; padding: 20px 50px; background: #F4F4F4; }
.co-footer-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink); }
.co-footer-item svg { flex-shrink: 0; width: 30px; height: 30px; }
/* (the lock a little bigger than the headset) */
.co-footer-item:first-child svg { width: 32px; height: 32px; }
.co-footer-bottom { display: flex; flex-direction: column; gap: 12px; padding: 40px 50px; }
/* the language in use (PT) in blue */
.co-footer .footer-lang { color: var(--blue) !important; }
/* its links and copyright a little bigger than in the main footer */
.co-footer :is(.footer-legal a, .footer-copyright) { font-size: 0.875rem; }
/* the four languages closer together (12px instead of 18px), FR keeping the extra room so the links after them stay put */
.co-footer .footer-legal a:nth-child(-n + 3) { margin-right: -6px; }
.co-footer .footer-legal a:nth-child(4) { margin-right: 18px; }

@media (max-width: 900px) {
  .co-phone { display: none; }
  .co-steps { gap: 10px; }
  .co-page { padding: 24px 20px 48px; }
  .co-layout { flex-direction: column-reverse; gap: 32px; }
  .co-form { padding-right: 0; border-right: none; }
  .co-summary { padding-left: 0; }
  .co-footer-strip { flex-direction: column; gap: 14px; padding: 20px; }
  .co-footer-bottom { padding: 28px 20px; }
}

.sr-page { max-width: var(--container-wide); margin: 0 auto; padding: 40px 24px 150px; }
/* with a single tab picked the results are short, so less space above the footer */
.sr-page:not([data-tab="todos"]) { padding-bottom: 104px; }
/* search field: same look as the search screen's field, with a submit arrow */
.sr-search { position: relative; display: flex; }
.sr-search input {
  flex: 1;
  height: 72px;
  padding: 0 72px 0 28px;
  border: 1px solid #8C8C8C;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 400;
  outline: none;
}
.sr-search input::placeholder { color: #757575; opacity: 1; }
/* clicked into: a second, black box appears around the grey one, with a small gap between them */
.sr-search input:focus { outline: 2px solid #000; outline-offset: 2px; }
/* no browser clear (×) button in the search fields, here or on the search screen */
.sr-search input::-webkit-search-cancel-button,
.search-overlay-input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.sr-search-btn {
  position: absolute; top: 1px; right: 1px; bottom: 1px;
  width: 68px;
  display: flex; align-items: center; justify-content: center;
  border: none; background: none; color: var(--ink); cursor: pointer;
}
.sr-search-btn svg { width: 38px; height: 38px; }
.sr-search-btn:hover svg { color: var(--blue); }

.sr-count { margin: 30px 0 0; font-size: 1.5rem; font-weight: 600; color: var(--ink); }
/* while searching: the whole page darkens and the Calendário loading bars (.calendario-loading) play in the middle;
   it fades away once the results are in (pesquisa.js) */
.sr-loading {
  position: fixed; inset: 0; z-index: 800;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.55);
  transition: opacity 0.3s ease;
}
.sr-loading[hidden] { display: none; }
.sr-loading.is-done { opacity: 0; pointer-events: none; }
.sr-loading .calendario-loading { padding: 0; }

/* tabs + sort */
.sr-bar { display: flex; align-items: center; justify-content: space-between; margin-top: 34px; border-bottom: 1px solid var(--grey-200); }
.sr-tabs { display: flex; align-items: center; gap: 40px; }
.sr-tab, .sr-drop-btn, .sr-sort {
  border: none; background: none; cursor: pointer;
  font-family: var(--font-body); font-size: 1.1rem; font-weight: 600; color: var(--ink);
}
.sr-tabs > .sr-tab, .sr-drop-btn { position: relative; padding: 16px 30px; }
.sr-tabs > .sr-tab:hover, .sr-drop-btn:hover { color: var(--blue); }
.sr-drop { position: relative; }
/* the lists under "Mais" and "Ordenar": white, no outline or shadow, small options */
.sr-drop-menu {
  position: absolute; top: calc(100% - 6px); z-index: 20;
  display: none; flex-direction: column; padding: 8px 0 4px;
  background: var(--white);
}
.sr-drop-menu button { font-size: 0.9rem; white-space: nowrap; }
/* "Mais": the box starts just before the word (which sits 30px in), and the options line up with that word */
.sr-tabs .sr-drop-menu { left: 20px; }
.sr-tabs .sr-drop-menu button { padding: 12px 56px 12px 10px; }
/* "Ordenar": the mirror image, options aligned to the right, ending in line with the arrow */
.sr-drop--right .sr-drop-menu { right: -10px; }
.sr-drop--right .sr-drop-menu button { padding: 12px 10px 12px 56px; text-align: right; }
/* "Mais" and "Ordenar": a word plus its own arrow, which flips when the list opens and turns blue on its own.
   Hovering the word turns the word and arrow blue; hovering the arrow turns only the arrow blue */
.sr-bar .sr-drop-btn { display: inline-flex; align-items: center; gap: 16px; padding-right: 0; }
.sr-bar .sr-drop-btn:hover { color: var(--ink); }
.sr-drop-arrow { display: flex; }
/* the arrow's point swings to the right both ways: anticlockwise when the list opens, clockwise back when it closes
   (closing is slower) */
.sr-drop-arrow svg { width: 22px; height: 22px; transition: transform 0.6s ease; }
.sr-drop.is-open .sr-drop-arrow svg { transform: rotate(-180deg); transition-duration: 0.4s; }
.sr-bar .sr-drop-btn:has(.sr-drop-label:hover),
.sr-drop-arrow:hover { color: var(--blue); }
.sr-drop.is-open .sr-drop-menu { display: flex; }
.sr-drop-menu button { text-align: left; font-weight: 400; }
.sr-drop-menu button:hover { color: var(--blue); }

/* sections */
/* the first section sits a bit closer to the tabs than the sections sit to each other */
.sr-section { margin-top: 44px; }
.sr-section:not([hidden]) ~ .sr-section { margin-top: 64px; }
/* same as the site's usual section titles (e.g. "Informações Lisbon FC"): Inter, bold, not uppercase */
.sr-section h2 { margin: 0 0 32px; font-family: var(--font-body); font-size: 2rem; font-weight: 700; color: var(--ink); text-transform: none; letter-spacing: normal; }
/* slide up into view (same as the Match Center's .mc-related-reveal; switched on by pesquisa.js) */
.sr-reveal { opacity: 0; transform: translateY(90px); transition: opacity 0.85s ease, transform 0.85s ease; }
.sr-reveal.is-visible { opacity: 1; transform: translateY(0); }
.sr-grid { display: grid; gap: 40px 24px; }
.sr-grid--produtos { grid-template-columns: repeat(6, 1fr); gap: 32px 24px; }
/* "Todos": products in one row you can drag sideways (six in view), snapping to whole products */
.sr-section[data-section="produtos"] { position: relative; }
.sr-grid--produtos.sr-grid--carousel {
  display: flex;
  gap: 24px;
  /* hidden, so a touchpad or wheel can't slide it: only dragging or the lines move it (touch drags sideways, the page still scrolls up and down) */
  overflow-x: hidden;
  touch-action: pan-y;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  user-select: none;
}
.sr-grid--carousel::-webkit-scrollbar { display: none; }
.sr-grid--carousel > a { flex: 0 0 calc((100% - 5 * 24px) / 6); scroll-snap-align: start; }
.sr-grid--carousel.is-dragging { scroll-snap-type: none; }
.sr-grid--carousel.is-dragging > a { pointer-events: none; }
/* position lines at the top right: one per stop, the current one black and taller */
.sr-lines { position: absolute; top: 14px; right: 0; display: flex; align-items: flex-end; gap: 10px; height: 15px; }
.sr-lines[hidden] { display: none; }
.sr-lines span { width: 2.5px; height: 10px; background: #C4C4C4; transition: height 0.2s ease, background 0.2s ease; }
.sr-lines span.is-active { height: 15px; background: #000; }
/* each line can be clicked to go to that position; the clickable area is wider than the line itself */
.sr-lines span { position: relative; cursor: pointer; }
.sr-lines span::before { content: ""; position: absolute; inset: -6px -4px; }
.sr-grid--cards { grid-template-columns: repeat(4, 1fr); }
.sr-grid--outros { grid-template-columns: repeat(2, 1fr); gap: 28px 48px; }

/* products: image and name only */
.sr-product { display: block; color: var(--ink); }
.sr-product-img { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--grey-100); margin-bottom: 16px; }
.sr-product-name { margin: 0; font-size: 1rem; line-height: 1.35; }
.sr-product:not(.sr-player) .sr-product-name { text-align: center; font-size: 1.1rem; }
.sr-product-name strong { font-weight: 700; }
.sr-product:hover .sr-product-name { color: var(--blue); }
/* players: cut-out photo standing on the bottom of the tile, position above the name, number before it */
.sr-player .sr-product-img img { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; transition: transform 0.4s ease; }
.sr-player:hover .sr-product-img img { transform: scale(1.04); }
.sr-player .sr-product-name { font-weight: 600; }
.sr-player-number { color: var(--blue); font-weight: 700; margin-right: 4px; }

/* news, photos, videos */
.sr-card { display: block; color: var(--ink); }
.sr-card-img { position: relative; aspect-ratio: 16/10; overflow: hidden; margin-bottom: 14px; background: var(--blue-900); }
.sr-card-img .media-card-thumb { position: absolute; inset: 0; aspect-ratio: auto; }
.sr-card-media { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.4s ease; }
.sr-card:hover .sr-card-media, .sr-card:hover .media-card-crest { transform: scale(1.08); }
/* photo and video icons: yellow, blue on hover (like the Vídeos e Fotos page); the photos icon a bit bigger */
.sr-card:hover .media-card-play, .sr-card:hover .media-card-gallery { color: var(--blue); }
.sr-card-img .media-card-gallery svg { width: 34px; height: 34px; stroke-width: 1.5; }
.sr-card-img .media-card-play, .sr-card-img .media-card-gallery { left: 10px; bottom: 10px; }
.sr-card-img .media-card-gallery { bottom: 5px; }
/* same thin tag as the Vídeos e Fotos page (.media-card-tag) */
.sr-card-tag { display: block; margin-bottom: 6px; font-family: var(--font-display); font-size: 0.95rem; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }
.sr-card h3 { margin: 0; font-family: var(--font-body); font-size: 1.1rem; font-weight: 600; line-height: 1.3; color: var(--ink); text-transform: none; letter-spacing: normal; }
.sr-card:hover h3 { color: var(--blue); }

/* other pages: small picture, title and a line of text */
.sr-other { display: flex; align-items: flex-start; gap: 18px; color: var(--ink); }
.sr-other-img { flex-shrink: 0; width: 76px; height: 76px; display: flex; align-items: center; justify-content: center; background: var(--blue); }
.sr-other-img img { width: 48px; height: 48px; object-fit: contain; }
.sr-other-text { display: flex; flex-direction: column; gap: 6px; }
.sr-other-text strong { font-size: 1.1rem; font-weight: 600; }
.sr-other-text span { font-size: 0.95rem; color: var(--ink); line-height: 1.45; }
.sr-other:hover strong { color: var(--blue); }

.sr-more {
  display: flex; align-items: center; gap: 8px; margin: 36px auto 0;
  border: none; background: none; cursor: pointer;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--ink);
}
/* thin arrow drawn as a line chevron; "Ver mais" stays black on hover, only the arrow nudges right */
.sr-more::after {
  content: "";
  width: 12px; height: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 5 16 12 9 19'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 5 16 12 9 19'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.2s ease;
}
.sr-more:hover::after { transform: translateX(3px); }
.sr-more[hidden] { display: none; }
/* no results: just a small blank space under the tabs */
.sr-empty { height: 0; }
.sr-page:has(.sr-empty:not([hidden])) { padding-bottom: 32px; }

@media (max-width: 1200px) {
  .sr-grid--produtos { grid-template-columns: repeat(4, 1fr); }
  .sr-grid--cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .sr-page { padding: 24px 20px 60px; }
  .sr-search input { height: 60px; font-size: 1.2rem; padding-left: 18px; }
  .sr-bar { flex-wrap: wrap; }
  .sr-tabs { overflow-x: auto; }
  .sr-tabs > .sr-tab, .sr-drop-btn { padding: 14px 16px; }
  .sr-grid--produtos { grid-template-columns: repeat(2, 1fr); }
  .sr-grid--cards { grid-template-columns: repeat(2, 1fr); }
  .sr-grid--outros { grid-template-columns: 1fr; }
  .sr-section h2 { font-size: 1.8rem; }
}

/* ===== Termos e Condições ===== */
/* the list (termos-e-condicoes.html) and each set of terms: a narrow column with the title, a line under it, then
   rows split by thin lines */
.terms-page { padding: 64px 0 115px; }
.terms-page--doc { padding-top: 0; }
.terms-container { max-width: 800px; }
.terms-page h1 { margin: 0 0 12px; font-family: var(--font-body); font-size: 2.25rem; font-weight: 500; text-transform: none; letter-spacing: normal; color: var(--ink); }
.terms-sub { margin: 0 0 40px; font-size: 1.125rem; color: var(--ink); }
/* the list: "Termos e Condições de <name in bold>" on the left, "Ver Mais ›" on the right (only that is the link); the
   rows reach further right than the title */
.terms-list { margin: 0 -228px 0 0; padding: 0; list-style: none; border-top: 1px solid #EEF0F3; }
.terms-list li { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 16px; border-bottom: 1px solid #EEF0F3; font-size: 1.125rem; color: var(--ink); }
.terms-list strong { font-weight: 600; }
.terms-more { display: flex; flex-shrink: 0; align-items: center; gap: 4px; font-weight: 600; color: var(--ink); }
.terms-more svg { width: 14px; height: 14px; stroke-width: 3; transition: transform 0.2s ease; }
.terms-more:hover { color: var(--blue); }
.terms-more:hover svg { transform: translateX(3px); }
/* each set of terms opens with a wide banner photo of the shirt, filling it edge to edge */
.terms-hero { position: relative; height: 350px; margin-bottom: 64px; overflow: hidden; background: var(--blue); }
.terms-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* its sections: the number and name, big, with a chevron at the right; clicked, the name turns blue, the chevron
   flips and the clauses open under it */
.terms-sections { margin: 16px -228px 0 0; border-top: 1px solid var(--grey-200); }
/* scrolled to, the sections slide up into place together, fading in; scrolled back up above them, they slide down and
   fade out again, ready to come back up (js/termos.js) */
.terms-sections { transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.terms-sections.is-waiting { opacity: 0; transform: translateY(60px); }
.terms-acc { border-bottom: 1px solid var(--grey-200); scroll-margin-top: 90px; }
.terms-acc h2 { margin: 0; font-family: var(--font-body); font-size: inherit; text-transform: none; letter-spacing: normal; }
.terms-acc-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 32px 0; border: none; background: none; font-family: var(--font-body); font-size: 1.85rem; font-weight: 500; text-align: left; color: var(--ink); cursor: pointer; transition: color 0.2s ease; }
.terms-acc-head:hover, .terms-acc.is-open .terms-acc-head { color: var(--blue); }
/* long titles go onto a second line well before the arrow (about where "...comunicação de dados a" ends) */
.terms-acc-head span { max-width: 28.5em; }
.terms-acc-head svg { flex-shrink: 0; width: 40px; height: 40px; stroke-width: 1.4; color: var(--ink); transition: transform 0.25s ease, color 0.2s ease; }
.terms-acc.is-open .terms-acc-head svg { transform: rotate(180deg); }
/* (the arrow turns blue with the name on hover, and stays blue while open) */
.terms-acc-head:hover svg, .terms-acc.is-open .terms-acc-head svg { color: var(--blue); }
/* opening, the section grows smoothly (pushing the line under it down) and its clauses slowly fade in; closing, it
   shrinks back as they fade out (js/termos.js) */
.terms-acc-body { overflow: hidden; font-size: 1.25rem; line-height: 1.6; color: var(--ink); transition: height 0.4s ease; }
.terms-acc-inner { padding: 0 48px 78px 0; opacity: 0; transition: opacity 0.3s ease; }
.terms-acc.is-open .terms-acc-inner { opacity: 1; transition: opacity 0.7s ease 0.1s; }
@media (prefers-reduced-motion: reduce) { .terms-acc-body, .terms-acc-inner, .terms-acc.is-open .terms-acc-inner { transition: none; } }
.terms-acc-body p { margin: 0 0 32px; }
.terms-acc-inner > :last-child, .terms-clause > :last-child { margin-bottom: 0; }
.terms-clause { margin-bottom: 32px; }
.terms-clause p { margin-bottom: 8px; }
/* a clause in smaller text than the rest (each right in the privacy policies), its bold title after an underscore */
.terms-small { font-size: 0.75em; }
.terms-small > p:first-child > strong:first-child::before { content: "_"; }
.terms-small ul + p { margin-top: 14px; }
/* a list of outside links (the browsers' help pages): smaller, set in a little, in the text's colour until hovered */
.terms-acc-body .terms-links { margin-top: 26px; padding-left: 24px; font-size: 0.75em; }
.terms-acc-body .terms-links li:last-child { margin-bottom: 0; }
.terms-clause:has(> .terms-links) { margin-bottom: 13px; }
.terms-acc-body .terms-links a { color: inherit; }
.terms-acc-body .terms-links a:hover { color: var(--blue); text-decoration: none; }
/* lists: an underscore right before each item instead of a dot, in line with the start of the clause above */
.terms-acc-body ul { margin: 0; padding-left: 0; list-style: none; }
.terms-acc-body li::before { content: "_"; }
.terms-acc-body li { margin-bottom: 6px; }
.terms-acc-body a { color: var(--blue); }
.terms-acc-body a:hover { text-decoration: underline; }
/* tables (the privacy policies): two even columns, a light line under each row, bigger titles on top; the lists in
   them smaller and indented, and a row's content centred on its height */
.terms-table { width: 100%; margin: 0 0 32px; border-collapse: collapse; table-layout: fixed; }
.terms-table th { padding: 22px 12px; border-bottom: 1px solid #DDDDDD; font-size: 1.5rem; font-weight: 500; line-height: 1.25; text-align: left; }
.terms-table td { padding: 10px 12px; border-bottom: 1px solid #DDDDDD; vertical-align: middle; }
.terms-table td p { margin: 0 0 30px; }
.terms-table ul { margin: 0 0 16px; padding-left: 32px; font-size: 1rem; line-height: 30px; }
.terms-table ul ul { margin: 0; padding-left: 20px; }
.terms-table li { margin: 0; }
/* the four-column tables (categories, types, purpose, legal ground): smaller text, sideways scroll when too narrow */
.terms-table-scroll { margin: 0 0 32px; overflow-x: auto; }
.terms-table-scroll .terms-table { margin: 0; }
.terms-table--4 td { font-size: 1rem; line-height: 30px; }
.terms-updated { margin: 64px 0 0; font-size: 1rem; color: var(--ink); }
.terms-updated strong { font-weight: 700; }
/* the versions of the terms, each between two lines (as wide as the sections above), with its Download link (like Ver Mais) */
.terms-versions { margin: 20px -228px 0 0; padding: 0; list-style: none; border-top: 1px solid #F1F2F5; }
/* the name and version of the terms, small, apart at the very bottom */
.terms-version-note { margin: 62px 0 0; font-size: 0.75rem; line-height: 1.5; color: var(--ink); }
/* it slides up into place on its own, late, once scrolled to (js/termos.js) */
.terms-version-note { transition: opacity 0.7s ease 0.9s, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.9s; }
.terms-version-note.is-waiting { opacity: 0; transform: translateY(70px); transition: none; }
.terms-versions li { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; border-bottom: 1px solid #F1F2F5; font-size: 1.125rem; color: var(--ink); }
@media (max-width: 900px) {
  .terms-page { padding: 40px 0 64px; }
  .terms-page h1 { font-size: 1.75rem; }
  .terms-sub { margin-bottom: 28px; }
  .terms-list { margin-right: 0; }
  .terms-list li { align-items: flex-start; padding: 18px 4px; font-size: 1rem; }
  .terms-hero { height: 180px; margin-bottom: 36px; }
  /* (narrow, the photo is cut at the sides, so it keeps the crest at the right in view) */
  .terms-hero img { object-position: 80% center; }
  /* (the Lisbon FC TV banner has its logo at the left instead) */
  .terms-hero img[src*="LisbonFCTV"] { object-position: left center; }
  .terms-sections { margin-right: 0; }
  .terms-versions { margin-right: 0; }
  .terms-acc-head { padding: 20px 0; font-size: 1.2rem; }
  .terms-acc-body { font-size: 0.95rem; }
  .terms-acc-inner { padding-right: 0; }
  .terms-table th { padding: 14px 8px; font-size: 1.1rem; }
  .terms-table td { padding: 8px; }
  .terms-table td p { margin-bottom: 16px; }
  .terms-table ul { padding-left: 8px; font-size: 0.85rem; line-height: 1.6; }
  .terms-table--4 { min-width: 640px; }
  .terms-table--4 td { font-size: 0.85rem; line-height: 1.6; }
}

/* ============================================================
   Conta Lisbon FC (conta.html): sign in / create account, its own slim header and footer
   ============================================================ */
.ac-body { font-size: 14px; color: #333; }
.ac-header { display: flex; align-items: center; justify-content: space-between; height: 70px; padding: 0 24px; border-bottom: 1px solid #D3D3D3; }
.ac-header-left { display: flex; align-items: center; gap: 10px; }
.ac-logo img { width: 40px; height: 40px; object-fit: contain; }
.ac-title { padding: 0 11px; font-size: 14px; font-weight: 500; line-height: 17px; color: #333; text-decoration: none; }
.ac-phone { display: flex; flex-direction: column; gap: 7px; color: #333; letter-spacing: -0.02em; }
.ac-phone strong { font-size: 13.4px; font-weight: 800; line-height: 16px; }
.ac-phone span { font-size: 10.5px; font-weight: 800; line-height: 12px; }

.ac-page { padding: 40px 24px 67px; }
.ac-layout { display: grid; grid-template-columns: 602px 1fr; max-width: 1217px; margin: 0 auto; }

/* the notice: grey, an "i" on the left, a small × on the right */
.ac-notice { display: grid; grid-template-columns: 18px 1fr 8px; gap: 0; align-items: start; padding: 20px 15px; background: #F4F4F4; }
.ac-notice[hidden] { display: none; }
.ac-notice-icon { width: 18px; height: 18px; color: #333; }
.ac-notice p { margin: 0 10px 0 30px; font-size: 14px; line-height: 20px; color: #242424; }
.ac-notice-close { display: flex; width: 8px; height: 8px; margin-top: 0; padding: 0; border: none; background: none; color: #333; cursor: pointer; }
.ac-notice-close svg { width: 8px; height: 8px; }

/* the two tabs, the current one blue and underlined */
.ac-tabs { display: flex; gap: 60px; margin-top: 37px; border-bottom: 1px solid #DDD; }
.ac-notice[hidden] + .ac-tabs { margin-top: 0; }
.ac-tab { margin-bottom: -1px; padding: 12px 0 20px; border: none; border-bottom: 2.4px solid transparent; background: none; font-family: var(--font-body); font-size: 24px; font-weight: 500; line-height: 28.8px; color: #333; cursor: pointer; }
.ac-tab:hover { color: var(--blue); }
.ac-tab.is-active { color: var(--blue); border-bottom-color: var(--blue); }

.ac-panel, .ac-step { display: none; }
.ac-panel.is-active, .ac-step.is-active { display: block; }
.ac-label { display: block; margin-top: 40px; font-family: "Roboto Condensed", var(--font-body); font-size: 12px; line-height: 17px; text-transform: uppercase; color: #242424; }
.ac-input { display: block; width: 100%; height: 48px; margin-top: 10px; padding: 0 15px; border: 1px solid #CCC; border-radius: 0; background: var(--white); font-family: var(--font-body); font-size: 18px; color: #242424; outline: none; }
.ac-input:focus { border-color: #242424; }
/* grey and off until its field is filled, then the usual black button (yellow text, blue fill rising on hover) */
.ac-btn { position: relative; overflow: hidden; z-index: 0; display: block; width: 100%; height: 50px; margin-top: 60px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); font-family: var(--font-body); font-size: 18px; color: var(--yellow); cursor: pointer; transition: border-color 0.2s ease; }
.ac-btn::before { content: ""; position: absolute; inset: 0; background: var(--blue); transform: translateY(100%); transition: transform 0.28s ease; z-index: -1; }
.ac-btn:not(:disabled):hover { border-color: var(--blue); }
.ac-btn:not(:disabled):hover::before { transform: translateY(0); }
.ac-btn:disabled { border-color: #B0B0B0; background: #B0B0B0; color: #F2F2F2; cursor: default; }
.ac-btn:disabled::before { display: none; }
.ac-loading { padding: 70px 0 10px; }

/* second step: who is signing in (with "Alterar"), the password with its eye, the forgotten-password link */
.ac-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 40px 0 0; font-size: 14px; line-height: 20px; color: #242424; }
.ac-who [data-who] { font-weight: 600; }
.ac-who + .ac-label { margin-top: 28px; }
.ac-link, .ac-forgot { padding: 0; border: none; background: none; font-family: var(--font-body); font-size: 14px; color: #242424; text-decoration: underline; cursor: pointer; }
.ac-link:hover, .ac-forgot:hover { color: var(--blue); }
.ac-input-wrap { position: relative; }
.ac-input-wrap .ac-input { padding-right: 52px; }
.ac-eye { position: absolute; top: 0; right: 0; display: flex; align-items: center; justify-content: center; width: 50px; height: 48px; padding: 0; border: none; background: none; color: #888; cursor: pointer; }
.ac-eye svg { width: 22px; height: 22px; }
.ac-eye:hover { color: var(--blue); }
/* showing the password: the eye gets a stroke through it */
.ac-eye-slash { display: none; }
.ac-eye.is-on .ac-eye-slash { display: inline; }
/* new-password boxes are plain text boxes drawn as dots, so the browser doesn't offer a suggested password */
.ac-input--masked:not(.is-shown) { -webkit-text-security: disc; }
/* smaller dots in every hidden password box (the dot size follows the font size) */
.ac-input--masked:not(.is-shown), .ac-input[type="password"] { font-size: 12px; letter-spacing: -0.5px; }
.ac-forgot { display: inline-block; margin-top: 14px; }
.ac-forgot + .ac-btn { margin-top: 46px; }

/* the right column: the question, then the four perks with their line icons */
.ac-side { margin-left: 76px; padding-left: 78px; border-left: 1px solid #E8E8E8; }
.ac-side-title { max-width: 414px; margin: 30px 0 0; font-size: 18px; font-weight: 500; line-height: 24px; color: #242424; }
.ac-perks { max-width: 445px; margin: 35px 0 0 15px; padding: 0; list-style: none; }
.ac-perks li { display: flex; gap: 10px; padding-bottom: 15px; border-bottom: 1px solid #E8E8E8; }
.ac-perks li + li { margin-top: 15px; }
.ac-perks li:last-child { padding-bottom: 0; border-bottom: none; }
.ac-perks svg { flex-shrink: 0; width: 42px; height: 42px; color: #333; }
.ac-perks .ac-accent { stroke: var(--blue); }
.ac-perk-title { margin: 0; font-size: 16px; font-weight: 500; line-height: 18px; color: #000; }
.ac-perk-text { margin: 5px 0 0; font-size: 14px; line-height: 18px; color: #888; }

/* footer: languages (PT in blue), the links, the copyright at the right */
.ac-footer { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 50px 50px 50px 55px; border-top: 1px solid #D3D3D3; font-size: 14px; line-height: 17px; color: #333; }
.ac-footer-left { display: flex; align-items: center; gap: 34px; }
.ac-langs { display: flex; gap: 13px; }
.ac-langs span { cursor: pointer; }
.ac-langs .is-active { font-weight: 700; color: var(--blue); }
.ac-footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
@media (min-width: 1101px) { .ac-footer-links { flex-wrap: nowrap; white-space: nowrap; } }
.ac-footer-links a { color: #333; text-decoration: none; }
.ac-footer-links a:hover { color: var(--blue); }
.ac-copy { margin: 0; white-space: nowrap; }

@media (max-width: 1100px) {
  .ac-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }
  .ac-side { margin-left: 40px; padding-left: 40px; }
}
@media (max-width: 900px) {
  .ac-header { padding: 0 16px; }
  .ac-phone span { display: none; }
  .ac-page { padding: 24px 16px 48px; }
  .ac-layout { grid-template-columns: 1fr; }
  .ac-tab { font-size: 20px; }
  .ac-side { margin: 48px 0 0; padding: 0; border-left: none; }
  .ac-perks { margin-left: 0; }
  .ac-footer { flex-direction: column; align-items: flex-start; padding: 32px 16px; }
  .ac-footer-left { flex-direction: column; align-items: flex-start; gap: 20px; }
  .ac-copy { white-space: normal; }
}
@media (max-width: 1100px) { .ac-br { display: none; } }
.ac-badge * { vector-effect: non-scaling-stroke; }
/* (conta) a wrong number/e-mail/phone: label and box red, the message in small red under the box */
.ac-step.is-invalid .ac-label { color: var(--sale-red); }
.ac-step.is-invalid .ac-input { border-color: var(--sale-red); }
/* the confirm box on the create-password page when it doesn't repeat the password: red box, label and message in
   the same dark red as "Fraca" */
.ac-label.is-invalid { color: #C30000; }
.ac-input-wrap.is-invalid .ac-input { border-color: #C30000; }
.ac-create-form .ac-error { color: #C30000; }
.ac-error { margin: 1px 0 0; font-size: 10.8px; line-height: 15px; text-align: right; color: var(--sale-red); }
.ac-error[hidden] { display: none; }
.ac-error + .ac-btn { margin-top: 35px; }
.ac-error-link { padding: 0; border: none; background: none; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
/* (conta) the reCAPTCHA, shown above the button after the first click */
.ac-captcha { margin-top: 40px; }
.ac-error:not([hidden]) + .ac-captcha { margin-top: 22px; }
.ac-captcha[hidden] { display: none; }
.ac-captcha:not([hidden]) + .ac-btn { margin-top: 36px; }

/* Conta Lisbon FC, step 2 (conta-palavra-passe.html): the header shows the two steps instead of the title */
.ac-header-left--steps { gap: 20px; }
.ac-steps { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 17px; }
.ac-steps a { color: #A0A0A0; text-decoration: none; }
.ac-steps a:hover { color: var(--blue); }
.ac-steps .is-current { font-weight: 500; color: #242424; }
/* the column line runs a little below the form, as on step 1 */
.ac-layout--pass { min-height: 336px; }
.ac-pass-title { margin: 18px 0 0; font-family: var(--font-body); font-size: 20px; text-transform: none; letter-spacing: normal; font-weight: 500; line-height: 24px; color: #242424; }
.ac-pass-form .ac-input-wrap { margin-top: 14px; }
.ac-pass-form .ac-input { height: 50px; margin-top: 0; }
.ac-pass-form .ac-eye { height: 50px; color: #888; }
/* black once something is typed, blue on hover */
.ac-pass-form .ac-input:not(:placeholder-shown) + .ac-eye { color: var(--ink); }
.ac-pass-form .ac-input-wrap .ac-eye:hover { color: var(--blue); }
.ac-pass-form .ac-eye svg { width: 27px; height: 27px; }
.ac-recover { display: inline-block; margin-top: 22px; font-size: 14px; line-height: 17px; color: #242424; text-decoration: underline; }
.ac-recover:hover { color: var(--blue); }
.ac-pass-form .ac-recover + .ac-btn { margin-top: 13px; }
.ac-back { display: inline-flex; align-items: center; gap: 12px; margin-top: 23px; font-size: 20px; font-weight: 600; line-height: 24px; color: #242424; text-decoration: none; }
.ac-back svg { width: 6px; height: 10px; }
.ac-back:hover { color: var(--blue); }
.ac-pass-note { max-width: 425px; margin: 4px 0 0; font-size: 15px; line-height: 20px; color: #888; }
.ac-pass-note strong { font-weight: 700; color: inherit; }
@media (max-width: 900px) {
  .ac-steps { gap: 12px; font-size: 13px; }
  .ac-layout--pass { min-height: 0; }
  .ac-pass-note { margin-top: 0; }
}
/* (password page: the copyright follows the links on the same line) */
@media (min-width: 901px) {
  .ac-footer--inline { flex-direction: row; align-items: center; gap: 18px; }
}
/* (conta) loading: the page darkens and a yellow square holds the crest in grey, which turns blue in a smooth sweep */
.ac-loader { position: fixed; inset: 0; z-index: 900; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.4); opacity: 0; transition: opacity 0.25s ease; }
.ac-loader[hidden] { display: none; }
.ac-loader.is-on { opacity: 1; }
.ac-loader-box { position: relative; display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; background: var(--yellow); }
/* the grey crest underneath; the blue one on top is revealed by a soft-edged sweep from the top going round clockwise,
   holds a moment, gently fades back to grey, and starts again */
.ac-loader-base { position: absolute; width: 61px; height: 61px; filter: grayscale(1) brightness(1.8); }
@property --ac-draw { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.ac-loader-fill { position: relative; width: 61px; height: 61px; -webkit-mask: conic-gradient(#000 calc(var(--ac-draw) - 60deg), transparent var(--ac-draw)); mask: conic-gradient(#000 calc(var(--ac-draw) - 60deg), transparent var(--ac-draw)); animation: ac-loader-draw 3s infinite; }
@keyframes ac-loader-draw {
  0% { --ac-draw: 0deg; opacity: 1; animation-timing-function: cubic-bezier(0.4, 0, 0.3, 1); }
  70% { --ac-draw: 420deg; opacity: 1; animation-timing-function: linear; }
  82% { --ac-draw: 420deg; opacity: 1; animation-timing-function: ease-in-out; }
  100% { --ac-draw: 420deg; opacity: 0; }
}
/* (password page) a wrong password: just the small red message under the box */
.ac-pass-form .ac-error + .ac-recover { margin-top: 14px; }
.ac-pass-form .ac-error { margin-top: 5px; }

/* Criar Conta, step 2: the e-mail/phone greyed and locked, the code box, "Enviar Novo Código", then the button */
.ac-input:disabled { background: #FAFAFA; color: #BDBDBD; -webkit-text-fill-color: #BDBDBD; opacity: 1; }
.ac-label--code { margin-top: 23px; }
.ac-resend { display: inline-block; margin-top: 12px; padding: 0; border: none; background: none; font-family: var(--font-body); font-size: 14px; line-height: 17px; color: #242424; text-decoration: underline; cursor: pointer; }
.ac-resend:hover { color: var(--blue); }
.ac-resend:disabled { text-decoration: none; color: #888; cursor: default; }
.ac-resend + .ac-btn { margin-top: 54px; }
/* the right column then only says where the code went, with an "i" in front */
.ac-sent-note { display: flex; align-items: center; gap: 7px; margin: 30px 0 0; font-size: 15px; line-height: 20px; color: #888; }
.ac-sent-note[hidden], .ac-side-perks[hidden] { display: none; }
.ac-sent-note svg { flex-shrink: 0; width: 18px; height: 18px; }

/* Creating an account, step 1 (conta-criar-palavra-passe.html): the e-mail locked, the password twice, the rules on the right */
.ac-steps li { color: #A0A0A0; }
.ac-layout--create { min-height: 457px; }
.ac-create-form .ac-label { margin-top: 10px; }
.ac-create-form .ac-pass-title + .ac-label { margin-top: 14px; }
.ac-create-form .ac-label[for="acNewPass2"] { margin-top: 18px; }
.ac-label--locked { color: #A0A0A0; }
.ac-create-form > .ac-input { margin-top: 5px; height: 48px; }
.ac-create-form .ac-input-wrap { margin-top: 5px; }
/* password strength: a bar glued to the bottom inside the first box (just above its outline) that slides wider, a quarter per
   rule met, in the colour of its level (Fraca, Média, Forte), changing colour as it goes, and "Palavra-passe: Fraca" under the box */
/* (the bar carries its own copy of the box outline on its sides and bottom, drawn on top of the box's, so the fill always
   touches the outline with no sliver of white in between at any screen zoom) */
.ac-strength-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border: 1px solid #CCC; border-top: 0; background: transparent; pointer-events: none; transition: background-color 0.4s ease; }
.ac-input:focus ~ .ac-strength-bar { border-color: #242424; }
/* (always there, empty while the box is: the grey track fades in and the fill slides out from the left on the first letter) */
.ac-strength-bar[data-level] { background: #E5E5E5; }
.ac-strength-bar span { display: block; width: var(--fill, 0%); height: 100%; background: var(--strength); transition: width 0.4s ease, background-color 0.4s ease; }
.ac-strength { margin: 11px 0 0; font-size: 14px; line-height: 18px; color: #242424; }
.ac-strength strong { font-weight: 400; color: var(--strength); }
[data-level="1"] { --strength: #C30000; }
[data-level="2"] { --strength: #FFA500; }
[data-level="3"] { --strength: #008000; }
.ac-required { margin: 14px 0 0; font-size: 10.5px; line-height: 13px; color: #242424; }
.ac-required span { font-size: 7.5px; vertical-align: 1px; }
.ac-create-form .ac-required + .ac-btn { margin-top: 42px; }
.ac-create-form .ac-back { margin-top: 22px; font-size: 18.5px; }
.ac-rules { margin-top: -6px; font-size: 14px; line-height: 19px; color: #888; }
.ac-rules-title { display: flex; align-items: center; gap: 7px; margin: 0; }
.ac-rules-title svg { flex-shrink: 0; width: 18px; height: 18px; }
.ac-rules ul { margin: 0; padding: 0 0 0 39px; list-style: none; }
.ac-rules li { position: relative; margin-top: 10px; }
/* each rule the password meets moves right, with a blue tick where it was */
.ac-rule-tick { position: absolute; left: -1px; top: 0; width: 19px; height: 19px; color: var(--blue); display: none; }
.ac-rules li.is-met { padding-left: 26px; }
.ac-rules li.is-met .ac-rule-tick { display: block; }
.ac-rules strong { font-weight: 700; color: #7A7A7A; }
@media (max-width: 900px) {
  .ac-layout--create { min-height: 0; }
  .ac-rules { margin-top: 0; }
  .ac-steps li:not(.is-current) { display: none; }
}

/* ---------- Conta: criar conta, 2. Dados Pessoais (conta-dados-pessoais.html) ---------- */
.ac-dp-form .ac-field > .ac-input, .ac-dp-form .ac-select, .ac-dp-form .ac-tel { margin-top: 5px; }
.ac-dp-form .ac-input { height: 48px; }
.ac-dp-form .ac-pass-title { font-size: 17px; line-height: 21px; }
.ac-dp-form .ac-pass-title + .ac-field .ac-label { margin-top: 16px; }
.ac-dp-form .ac-input::placeholder { color: #C4C4C4; opacity: 1; }
.ac-dp-form .ac-input:disabled { padding-left: 16px; }
.ac-dp-form .ac-error { margin-top: -1px; }
.ac-field.is-invalid .ac-label { color: #C30000; }
.ac-field[data-field="phone"].is-invalid .ac-label { color: #242424; }
.ac-field[data-field="phone"].is-invalid .ac-input:focus { border-color: #242424; }
.ac-field.is-invalid .ac-input { border-color: #C30000; }
/* the birth date: three equal boxes, the text in the middle */
.ac-date { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 16px; }
.ac-date .ac-input { margin: 0; padding: 0 10px; text-align: center; }
.ac-date .ac-input.is-invalid { border-color: #C30000; }
/* gender: round black radios */
.ac-dp-form p.ac-label { margin-bottom: 0; }
.ac-radios { display: flex; gap: 52px; margin-top: 4px; }
.ac-radio { display: inline-flex; align-items: center; gap: 6px; font-size: 18px; line-height: 24px; color: #242424; cursor: pointer; }
.ac-radio input { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 24px; height: 24px; margin: 0 0 0 3px; border: 1px solid #555; border-radius: 50%; background: var(--white); cursor: pointer; }
/* (the dot is drawn as the circle's own background, so it always sits exactly in the middle) */
.ac-radio input:checked { border-color: #000; background: radial-gradient(circle closest-side, #000 calc(100% - 4.5px), var(--white) calc(100% - 4px)); }
.ac-radio input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.ac-dp-form [data-field="country"] .ac-label { margin-top: 20px; }
/* country boxes: the flag and a small arrow (grey square behind them on hover) open the list of countries */
.ac-select, .ac-tel-code { position: relative; display: flex; align-items: center; }
.ac-select { height: 48px; padding: 0 15px 0 0; border: 1px solid #CCC; background: var(--white); }
.ac-flag { flex-shrink: 0; width: 20px; height: 14px; object-fit: cover; }
.ac-caret { flex-shrink: 0; width: 6px; height: 4px; margin-left: 9px; color: #555; }
.ac-select-text { margin-left: 3px; overflow: hidden; font-size: 18px; color: #242424; white-space: nowrap; text-overflow: ellipsis; }
.ac-flag-btn { display: flex; align-self: stretch; align-items: center; padding: 0 8px; border: none; border-radius: 0; background: none; cursor: pointer; }
.ac-flag-btn:hover, .ac-flag-btn[aria-expanded="true"] { background: #F2F2F2; }
.ac-flag-btn:disabled { background: none; cursor: default; }
.ac-flag-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 0; }
/* the list: just above the box (its bottom on the box's top line), every flag and country, Portugal first under a line */
.ac-countries { position: absolute; bottom: 100%; left: -1px; z-index: 30; width: 405px; max-width: 100%; max-height: 203px; margin: 0; padding: 0; overflow-y: auto; border: 1px solid #CCC; background: var(--white); box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.12); list-style: none; cursor: default; }
.ac-countries[hidden] { display: none; }
.ac-select > .ac-countries { bottom: calc(100% + 1px); }
.ac-tel > .ac-countries { left: 0; }
.ac-countries li { display: flex; align-items: center; gap: 10px; padding: 7px 12px; font-size: 14px; line-height: 18px; color: #242424; cursor: pointer; }
/* the line under Portugal, with a small gap above and below it so no highlight touches it */
.ac-countries li.is-first { position: relative; margin-bottom: 9px; }
.ac-countries li.is-first::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: #CCC; }
.ac-countries li:hover, .ac-countries li.is-active { background: #F4F4F4; }
.ac-countries li[aria-selected="true"] { font-weight: 600; }
.ac-countries .ac-dial { margin-left: -5px; color: #888; font-weight: 400; }
.ac-tel { position: relative; }
.ac-tel-code { position: absolute; top: 1px; bottom: 1px; left: 1px; z-index: 1; padding: 0; }
.ac-dp-form .ac-tel .ac-input { margin: 0; padding-left: 65px; }
/* the consent tick and its two paragraphs */
.ac-check { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 14px; line-height: 19px; color: #242424; }
.ac-check input { appearance: none; -webkit-appearance: none; flex-shrink: 0; display: grid; place-items: center; width: 20px; height: 20px; margin: 0; border: 1px solid #555; border-radius: 2px; background: var(--white); cursor: default; }
/* (the white tick is the same sharp, thick tick as the password rules' blue ones) */
.ac-check input:checked { border-color: #000; background: #000 url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='m2.5 8.5 3.6 3.6 7.4-8' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linejoin='miter'/></svg>") center / 16px 16px no-repeat; }
.ac-check input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.ac-check sup, .ac-consent sup { font-size: 9px; vertical-align: 2px; line-height: 0; }
.ac-consent { margin: 22px 0 0; font-size: 14px; line-height: 19px; color: #242424; }
.ac-consent + .ac-consent { margin-top: 16px; }
.ac-consent a { color: var(--blue); text-decoration: none; }
.ac-consent a:hover { text-decoration: underline; }
.ac-dp-form .ac-consent + .ac-required { margin-top: 26px; }
.ac-dp-form .ac-required { font-size: 10px; line-height: 12.5px; }
.ac-dp-form .ac-required span { font-size: 7px; }
.ac-required--note { margin-top: 22px; }
.ac-dp-form .ac-required + .ac-btn { margin-top: 40px; }
.ac-dp-note { max-width: none; }
.ac-dp-perks .ac-side-title { margin-top: 36px; }
@media (max-width: 900px) {
  .ac-date { gap: 12px; }
  .ac-radios { gap: 32px; }
}

/* ---------- Conta: criar conta, confirming the phone/e-mail (conta-confirmar.html) ---------- */
.ac-confirm-text { margin: 20px 0 0; font-size: 14px; line-height: 19px; color: #242424; }
.ac-confirm-form .ac-confirm-text + .ac-label { margin-top: 2px; }
.ac-confirm-form .ac-resend + .ac-btn { margin-top: 48px; }
/* (the note fits on one line, as in the original) */
.ac-layout--pass .ac-side > .ac-sent-note:only-child { font-size: 14px; }
.ac-confirm-form .ac-pass-title { font-size: 18px; line-height: 22px; font-weight: 600; }

/* ---------- Header: the signed-in wallet (blue) (added in main.js between the cart and the account icon) ---------- */
/* the wallet icon and the balance sit on top of each other; every 3s the wallet shrinks away into the balance, then the
   balance stretches out and turns back into the wallet */
.header-top-side .header-wallet { position: relative; color: var(--blue); cursor: default; }
.header-top-side .header-wallet:hover { color: var(--blue); }
.wallet-face { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: transform 0.5s ease, opacity 0.5s ease; }
.wallet-amount { font-size: 8.5px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; transform: scaleX(1.8); opacity: 0; }
.header-wallet.show-amount .wallet-icon { transform: scale(0.3); opacity: 0; }
.header-wallet.show-amount .wallet-amount { transform: none; opacity: 1; }
@media (min-width: 901px) and (max-width: 1599px) {
  .wallet-amount { font-size: 9px; }
}

/* ---------- Header: signed in, the account icon is a circle with the initials (set in main.js) ---------- */
/* (the circle is the icon's own colour, blue on laptops; the letters stay black) */
.initials-circle { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 1.5px solid var(--ink); border-radius: 50%; font-size: 9px; font-weight: 500; line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.header-initials:hover .initials-circle { border-color: var(--blue); }
@media (min-width: 901px) and (max-width: 1599px) {
  .initials-circle { width: 23px; height: 23px; border: 1.7px solid var(--blue); font-size: 9.5px; font-weight: 500; }
}

/* ---------- Header: the signed-in account popup (built in main.js): a small box against the right edge, from the line
   under the header's top row, that slides in a little from the right; the page stays as it is (not darkened, still scrolls) ---------- */
.account-panel { position: fixed; right: 0; z-index: 700; width: 230px; max-width: 100vw; padding: 24px 24px 20px 32px; background: var(--white); visibility: hidden; opacity: 0; transform: translateX(24px); transition: transform 0.2s ease, opacity 0.2s ease, visibility 0s 0.2s; }
.account-panel.open { visibility: visible; opacity: 1; transform: none; transition: transform 0.25s ease, opacity 0.25s ease, visibility 0s; }
/* (always one line; a very long name ends in …) */
.account-panel-hello { margin: 0; overflow: hidden; font-size: 16.75px; line-height: 24px; white-space: nowrap; text-overflow: ellipsis; color: var(--ink); }
.account-panel-hello strong { font-weight: 400; }
.account-panel-member { margin: 2px 0 0; font-size: 16.75px; line-height: 24px; color: var(--ink); }
.account-panel-member[hidden] { display: none; }
.account-panel-list { margin: 20px 0 0; padding: 12px 0 0; border-top: 1px solid #F3F3F3; list-style: none; }
/* (no member number: the line closer under the name) */
.account-panel-member[hidden] + .account-panel-list { margin-top: 14px; }
.account-panel-list li + li { margin-top: 0; }
.account-panel-list a { display: block; padding: 7.5px 0; font-size: 14px; color: var(--ink); text-decoration: none; }
.account-panel-list a:hover { color: var(--blue); }
.account-panel-logout { display: block; width: 100%; margin-top: 12px; padding: 17px 0 0; border: none; border-top: 1px solid #F3F3F3; background: none; font-family: var(--font-body); font-size: 14px; font-weight: 400; text-align: left; color: var(--ink); cursor: pointer; }
.account-panel-logout:hover { color: var(--blue); }

/* ---------- Perfil (perfil.html): the signed-in account's page ---------- */
.pf-page { padding: 0 18px 42px; font-family: "Roboto Condensed", var(--font-body); }
/* banner: the shirt photo darkened, with the photo circle, the name lines, a thin line and the Logout */
.pf-hero { position: relative; height: 376px; background: url("../Logos/WebsiteBanner-1.jpg") center / cover no-repeat; }
.pf-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.72); }
.pf-hero-inner { position: relative; display: flex; align-items: center; max-width: 830px; height: 100%; margin: 0 auto; color: var(--yellow); }
.pf-avatar { position: relative; flex-shrink: 0; width: 130px; height: 130px; }
.pf-avatar-circle { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 50%; background: var(--yellow); cursor: pointer; }
/* no photo yet: a grey outline of a person (a slightly uneven top of the head, ears, neck, shoulders) in a jersey with the crest on the chest; each shape is filled with the circle's yellow so the ones behind don't show through */
.pf-avatar-person { position: absolute; inset: 0; width: 100%; height: 100%; }
.pf-avatar-person :is(.pf-skin, .pf-shirt) { fill: var(--yellow); stroke: #7A7A7A; stroke-width: 1.2; stroke-linejoin: round; }
.pf-avatar-person .pf-shirt-crest { filter: grayscale(1) brightness(0.45); }
.pf-avatar-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-avatar-camera { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); color: var(--ink); cursor: pointer; }
.pf-avatar-camera svg { width: 24px; height: 24px; }
.pf-hero-text { margin-left: 29px; }
.pf-hero-text p { margin: 0; text-transform: uppercase; }
.pf-hero-name, .pf-hero-member { font-size: 26px; font-weight: 300; line-height: 34px; }
.pf-hero-member[hidden] { display: none; }
.pf-hero-since { margin-top: 4px !important; font-size: 14.5px; line-height: 18px; }
.pf-hero-side { display: flex; align-items: flex-end; align-self: center; height: 176px; margin-left: 44px; padding: 0 0 12px 31px; border-left: 1px solid var(--yellow); }
.pf-logout { padding: 0; border: none; background: none; font-family: inherit; font-size: 14px; font-weight: 400; text-transform: uppercase; color: var(--yellow); cursor: pointer; }
/* tabs: five equal grey tabs; the open one is white with blue text */
.pf-tabs { display: grid; grid-template-columns: repeat(5, 1fr); background: #F2F2F2; }
.pf-tab { display: flex; align-items: center; justify-content: center; height: 80px; padding: 0 12px; border-left: 1px solid #E4E4E4; font-size: 16px; text-align: center; text-transform: uppercase; color: #242424; text-decoration: none; }
.pf-tab:hover { color: var(--blue); }
.pf-tab.is-active { background: var(--white); color: var(--blue); }
.pf-panel { margin-top: 41px; }
.pf-panel[hidden] { display: none; }
.pf-box { padding: 46px 81px 45px 46px; border: 1px solid #DADADA; background: #F7F7F7; }
.pf-box-title { margin: 0; font-family: "Roboto Condensed", var(--font-body); font-size: 24px; font-weight: 300; line-height: 28px; letter-spacing: normal; text-transform: none; color: #242424; }
/* Cartão de Sócio: title and card on the left, the rows on the right */
.pf-card-box { display: grid; grid-template-columns: minmax(0, 1fr) 664px; grid-template-rows: auto 1fr; column-gap: 40px; }
.pf-card-box .pf-box-title { margin-top: -2px; }
.pf-card-wrap { grid-column: 1; grid-row: 2; display: flex; align-items: center; justify-content: center; padding-bottom: 20px; }
.pf-rows { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 10px; }
.pf-rows[hidden], .pf-join[hidden] { display: none; }
/* not a member: "Já sou sócio" (the two boxes and Guardar on the right) and, past a light line, "Ainda não és sócio?"
   with its text and Aderir, both centred */
.pf-join { grid-column: 2; grid-row: 1 / span 2; display: flex; align-self: start; color: #242424; }
/* (as Benfica's: the two halves of the box side by side, the card 30% into the left one, the box a bit taller) */
@media (min-width: 1101px) {
  .pf-card-box.is-join { grid-template-columns: minmax(0, 1fr) 704px; column-gap: 0; padding: 40px 40px 70px 45px; }
  .pf-card-box.is-join .pf-card-wrap { justify-content: flex-start; padding-left: 30%; }
}
.pf-join-form, .pf-join-text { flex: 1 1 50%; min-width: 0; }
.pf-join-form { display: flex; flex-direction: column; padding: 0 60px 20px 0; border-right: 1px solid #DDDDDD; }
.pf-join-title { margin: 26px 0 20px; font-family: "Roboto Condensed", var(--font-body); font-size: 26px; font-weight: 300; line-height: 29px; text-align: center; text-transform: uppercase; color: #242424; }
.pf-join-input { width: 100%; height: 40px; margin: 0 0 10px; padding: 10px 15px; border: 1px solid #242424; border-radius: 0; background: var(--white); font-family: "Roboto Condensed", var(--font-body); font-size: 18px; color: #000; outline: none; }
.pf-join-input::placeholder { color: #757575; }
.pf-join-input.is-invalid { border-color: #C30000; }
.pf-join .pf-join-btn { width: 205px; min-height: 50px; padding: 10px 30px; font-size: 16px; line-height: 18px; }
.pf-join-form .pf-join-btn { align-self: flex-end; }
.pf-join-text { display: flex; flex-direction: column; align-items: center; padding: 20px; text-align: center; }
.pf-join-heading { margin: 0; padding-bottom: 5px; font-family: "Roboto Condensed", var(--font-body); font-size: 24px; font-weight: 400; line-height: 52px; text-transform: uppercase; color: #242424; }
.pf-join-text p { margin: 0; padding-bottom: 20px; font-family: "Roboto", var(--font-body); font-size: 18px; line-height: 28px; color: #242424; }
/* the member card: the club's card picture (made without the three member lines), with the photo and the member's
   own number, year and name written on it in the card's lettering; sizes follow the card's width so it can shrink */
.pf-card { position: relative; width: 321px; aspect-ratio: 1012 / 637; overflow: hidden; border-radius: 8px; background: #004AAD; color: var(--white); container-type: inline-size; }
.pf-card-bg { display: block; width: 100%; height: 100%; }
.pf-card-photo { position: absolute; left: 29.6%; top: 9.4%; width: 19.6%; height: 34.5%; overflow: hidden; background: #DCDCDC; }
.pf-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.pf-card-text { position: absolute; left: 4.7%; top: 78.74%; font-family: "Urbanist", var(--font-body); font-size: 3.277cqw; font-weight: 400; line-height: 3.656cqw; white-space: nowrap; text-transform: uppercase; word-spacing: 1.2cqw; }
.pf-card-text p { margin: 0; }
.pf-card-text b, .pf-card-name { font-weight: 600; }
/* the rows: grey strip with the label and value, black button on the right */
.pf-row { display: flex; align-items: stretch; min-height: 50px; background: #EFEFEF; }
.pf-row-info { display: flex; flex: 1; align-items: center; gap: 15px; margin: 0; padding: 0 20px 0 21px; font-size: 15px; text-transform: uppercase; color: #242424; }
.pf-row-info strong { font-weight: 700; }
.pf-btn { position: relative; z-index: 0; display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 180px; padding: 6px 12px; overflow: hidden; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); font-family: inherit; font-size: 14px; line-height: 15px; text-align: center; text-transform: uppercase; color: var(--yellow); text-decoration: none; cursor: pointer; }
.pf-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: translateY(100%); transition: transform 0.28s ease; }
.pf-btn:hover { border-color: var(--blue); }
.pf-btn:hover::before { transform: translateY(0); }
/* quotas overdue: the grey row outlined in red with red text, its button red */
.pf-row.is-alert { box-shadow: inset 0 0 0 1px #C30000; }
/* (the quotas paid up: a thin blue tick after the text) */
.pf-paid-tick { flex-shrink: 0; width: 20px; height: 20px; margin-left: -6px; color: var(--blue); }
.pf-row.is-alert .pf-row-info { color: #C30000; }
.pf-btn--alert { display: none; }
.pf-row.is-alert .pf-btn--alert { display: flex; border-color: #C30000; background: #C30000; color: var(--white); }
/* (no blue slide on the red button) */
.pf-btn--alert::before { display: none; }
.pf-btn--alert:hover { border-color: #C30000; }
/* last line: the question on the right and an outlined button */
.pf-row--plain { background: none; }
.pf-row-question { display: flex; flex: 1; align-items: center; justify-content: flex-end; margin: 0; padding-right: 20px; font-size: 15px; color: #242424; }
.pf-btn--outline { background: var(--white); color: var(--ink); }
.pf-btn--outline:hover { color: var(--yellow); }
/* Dados Pessoais: three boxes (Meios de Pagamento, Informação Pessoal, Moradas), each with the title (and a count) on
   the left, a line drawing in the middle and the details with their buttons in the right column */
.pf-dp-box { display: grid; grid-template-columns: minmax(0, 1fr) 311px 664px; align-items: start; }
.pf-dp-box + .pf-dp-box { margin-top: 41px; }
.pf-dp-head { grid-column: 1; grid-row: 1; margin-top: -2px; }
.pf-box-title--caps { text-transform: uppercase; }
.pf-dp-count { margin: 6px 0 0; font-size: 16px; font-weight: 300; line-height: 20px; text-transform: uppercase; color: #242424; }
.pf-dp-count b { font-weight: 400; }
.pf-dp-icon { grid-column: 2; grid-row: 1; width: 200px; margin-top: 23px; overflow: visible; }
.pf-dp-icon--house { margin-top: 11px; }
.pf-dp-side { grid-column: 3; grid-row: 1; display: flex; flex-direction: column; align-items: flex-end; margin-top: 43px; }
.pf-dp-side--info { margin-top: 20px; padding-bottom: 20px; }
.pf-dp-box:last-child .pf-dp-side { margin-top: 0; }
.pf-dp-btn { min-height: 50px; margin-top: 30px; }
.pf-dp-side--info .pf-dp-btn { margin-top: 10px; }
/* the saved cards: a grey strip each, the last digits and a tick */
.pf-dp-cards { align-self: stretch; margin: 0; padding: 0; list-style: none; }
.pf-dp-cards li { display: flex; align-items: center; gap: 10px; height: 22px; padding: 0 21px; background: #EFEFEF; font-size: 14px; color: #242424; }
.pf-dp-cards li + li { margin-top: 10px; }
.pf-dp-cards svg { width: 14px; height: 14px; }
.pf-dp-note { grid-column: 1 / -1; grid-row: 2; margin: 26px 0 0; font-family: "Roboto", var(--font-body); font-size: 14px; line-height: 18px; color: #242424; }
/* Informação Pessoal: the name, e-mail and phone in a grey block */
.pf-dp-info { align-self: stretch; margin: 0; padding: 11px 21px; background: #EFEFEF; font-size: 15px; line-height: 22.5px; text-transform: uppercase; color: #242424; }
.pf-dp-info div { display: flex; gap: 15px; }
.pf-dp-info dt { font-weight: 700; }
.pf-dp-info dd { margin: 0; overflow-wrap: anywhere; }
/* Moradas: the two addresses as rows with an outlined button, then Adicionar / Gerir */
.pf-rows-list { display: flex; flex-direction: column; gap: 10px; align-self: stretch; }
.pf-row-info--mixed span { text-transform: none; }
/* Encomendas: Descontos (the badge, and in the right column a centred "no discounts" message with Comprar) and the
   latest orders (the bag, a row per order with Ver, then Ver Todas) */
.pf-dp-icon--badge { margin-top: 6px; }
.pf-dp-icon--bag { width: 118px; margin: 10px 0 0 44px; }
.pf-en-empty { align-items: center; margin-top: 26px; padding: 0 0 15px 38px; text-align: center; color: #242424; }
.pf-en-empty p { margin: 0; }
.pf-en-empty-title { font-size: 24px; line-height: 28px; text-transform: uppercase; }
.pf-en-empty .pf-en-empty-text { margin-top: 15px; font-family: "Roboto", var(--font-body); font-size: 18px; line-height: 28px; }
.pf-en-empty-btn { width: 205px; min-height: 50px; margin-top: 21px; }
.pf-en-orders { padding-bottom: 55px; }
.pf-dp-box.pf-en-orders .pf-dp-side { margin-top: 10px; }
.pf-en-all { min-height: 50px; margin-top: 10px; }
.pf-pr-box { padding-bottom: 41px; }
.pf-dp-icon--bell { width: 184px; margin: -7px 0 0 18px; overflow: visible; }
.pf-dp-box.pf-pr-box .pf-dp-side { margin-top: 27px; }
.pf-pr-box .pf-en-empty .pf-en-empty-text { margin-top: 18px; }
.pf-pr-box .pf-en-empty-btn { margin-top: 20px; }
/* Consentimentos: everything centred in one column, the consents as rows with a Não/Sim on the right */
.pf-box.pf-cs-box { padding: 61px 46px 40px; text-align: center; color: #242424; }
.pf-cs-note { margin: 0; }
.pf-cs-note sup { margin-right: 1px; font-size: 10px; line-height: 0; color: var(--blue); }
.pf-cs-title { font-size: 30px; line-height: 36px; }
.pf-cs-lock { display: block; width: 42px; margin: 10px auto 0; overflow: visible; }
.pf-cs-heading { margin: 52px 0 0; font-size: 24px; line-height: 28px; text-transform: uppercase; }
.pf-cs-intro { max-width: 625px; margin: 31px auto 0; font-family: "Roboto", var(--font-body); font-size: 16px; line-height: 23px; }
.pf-cs-group { max-width: 664px; margin: 20px auto 0; border-top: 1px solid #DADADA; font-family: "Roboto", var(--font-body); font-size: 16px; line-height: 23px; text-align: left; }
.pf-cs-group-title { margin: 0; padding-top: 35px; font-family: "Roboto Condensed", var(--font-body); font-size: 24px; font-weight: 300; line-height: 28px; text-align: center; text-transform: uppercase; color: var(--blue); }
.pf-cs-main { display: flex; gap: 20px; margin-top: 20px; padding: 0 0 22px 21px; border-bottom: 1px solid #DADADA; }
.pf-cs-main p { flex: 1; margin: 0; max-width: 502px; }
.pf-cs-choice--stack { display: flex; flex-direction: column; gap: 14px; width: 76px; margin: 3px 0 0 auto; }
.pf-cs-row { display: flex; align-items: flex-start; height: 58.6px; padding-top: 17px; border-bottom: 1px solid #DADADA; }
.pf-cs-row:last-child { border-bottom: none; }
.pf-cs-row p { flex: 1; margin: 0; min-width: 0; font-weight: 500; }
.pf-cs-row .pf-cs-choice { display: grid; grid-template-columns: 83px 68px; margin-top: 5px; }
.pf-radio { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.pf-radio input { flex-shrink: 0; width: 19px; height: 19px; margin: 0; border: 1px solid #8A8A8A; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 4.5px var(--white); appearance: none; cursor: pointer; transition: background-color 0.25s ease; }
/* the dot is the blue showing through the white ring, so it fades in and out */
.pf-radio input:checked { background-color: var(--blue); }
.pf-radio span { line-height: 19px; }
.pf-cs-accepted { margin: 25px 0 0; font-size: 16px; line-height: 20px; }
.pf-cs-accepted a { color: var(--blue); text-decoration: none; }
.pf-cs-accepted a:hover { text-decoration: underline; }
.pf-cs-heading.pf-cs-cookies { margin-top: 26px; }
.pf-cs-cookies-btn { width: 130px; min-height: 40px; margin: 26px auto 0; text-transform: none; }
/* (no blue slide on this one) */
.pf-cs-cookies-btn::before { display: none; }
.pf-cs-cookies-btn:hover { border-color: var(--ink); }
.pf-en-none { align-self: stretch; margin: 0; padding: 16px 21px; background: #EFEFEF; font-size: 15px; color: #242424; }
/* Gerir Cookies popup: a white box over a darkened page; the logo bar and the buttons stay, the middle scrolls */
.ck-overlay { position: fixed; inset: 0; z-index: 3000; background: rgba(0, 0, 0, 0.5); font-family: "Roboto Condensed", var(--font-body); animation: co-fade-in 0.5s ease; }
.ck-overlay[hidden] { display: none; }
/* opening: it fades in (each time it shows); closing: it fades out before it hides */
.ck-overlay.is-closing { opacity: 0; transition: opacity 0.5s ease; }
.ck-modal { position: absolute; top: 5vh; left: 50%; display: flex; flex-direction: column; width: 575px; max-width: calc(100% - 32px); height: 80vh; background: var(--white); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25); transform: translateX(-50%); }
.ck-head { position: relative; flex-shrink: 0; height: 60px; border-bottom: 1px solid #E8E8E8; }
.ck-logo { position: absolute; top: 4px; left: 23px; width: 53px; height: 53px; object-fit: contain; }
.ck-close { position: absolute; top: 12px; right: 2px; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid transparent; border-radius: 3px; background: none; color: #555555; cursor: pointer; }
.ck-close svg { width: 11.5px; height: 11.5px; }
.ck-close:hover { border-color: var(--blue); color: #888888; }
.ck-body { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; padding: 15px 30px 0; color: #696969; }
.ck-title { margin: 0; font-family: "Roboto Condensed", var(--font-body); font-size: 24px; font-weight: 700; line-height: 30px; letter-spacing: normal; text-transform: none; color: #696969; }
.ck-text { margin: 14px 0 0; font-size: 13px; line-height: 19.5px; }
.ck-more { display: block; width: fit-content; margin-top: 3px; padding: 4px 0; font-family: "Roboto", var(--font-body); font-size: 13px; font-weight: 500; line-height: 17px; color: #000; text-decoration: underline; }
.ck-title--sub { margin-top: 24px; }
.ck-list { margin-top: 22px; }
/* the categories joined in one list, each with slightly rounded corners; the one under the mouse is outlined in blue */
.ck-item { position: relative; border: 1px solid #D7D7D7; border-radius: 3px; transition: border-color 0.2s ease; }
.ck-item + .ck-item { margin-top: -1px; }
.ck-item:hover { z-index: 1; border-color: var(--blue); }
.ck-item-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 51px; padding-right: 21px; }
.ck-toggle-info { position: relative; flex: 1; align-self: stretch; padding: 0 0 0 46px; border: none; background: none; font-family: inherit; font-size: 14px; font-weight: 700; text-align: left; color: #3B3B3B; cursor: pointer; }
/* the + (a − when open) */
.ck-toggle-info::before, .ck-toggle-info::after { content: ""; position: absolute; top: 50%; left: 25px; width: 11px; height: 2px; margin-top: -1px; background: #3B3B3B; }
.ck-toggle-info::after { transform: rotate(90deg); }
.ck-toggle-info[aria-expanded="true"]::after { transform: rotate(0deg); }
.ck-always { font-size: 14px; font-weight: 700; color: var(--blue); }
.ck-switch { position: relative; flex-shrink: 0; width: 46px; height: 27px; margin: 0; border: 1px solid #E6E6E6; border-radius: 14px; background: #EFEFEF; appearance: none; cursor: pointer; transition: border-color 0.4s ease, background-color 0.4s ease; }
.ck-switch::before { content: ""; position: absolute; top: 2px; left: 2px; width: 21px; height: 21px; border-radius: 50%; background: #7A7A7A; transition: transform 0.4s ease, background-color 0.4s ease; }
.ck-switch:checked { border-color: var(--blue); background: var(--white); }
.ck-switch:checked::before { background: var(--blue); transform: translateX(19px); }
.ck-item-text { margin: 0; padding: 0 21px 18px 25px; font-size: 13px; line-height: 19.5px; }
.ck-item-text p { margin: 0; }
.ck-item-text .ck-item-sub { margin-top: 10px; color: #000; text-decoration: underline; }
.ck-foot { display: flex; flex-shrink: 0; gap: 14px; padding: 17px 20px 16px; border-top: 1px solid #E8E8E8; }
.ck-btn { width: 250px; min-height: 44px; padding: 6px 10px; border: none; background: var(--blue); font-family: "Roboto", var(--font-body); font-size: 12.5px; font-weight: 500; letter-spacing: 0.06em; color: var(--white); cursor: pointer; }
.ck-foot .ck-btn:hover { box-shadow: 0 0 0 0.5px var(--blue); }
/* Permitir todos: shows under "Mais informação" once a switch is off */
.ck-allow { display: block; min-height: 46px; margin: 22px 0 14px; font-size: 15px; letter-spacing: normal; }
.ck-allow[hidden] { display: none; }
.ck-powered { display: flex; flex-shrink: 0; align-items: center; justify-content: flex-end; gap: 6px; height: 30px; margin: 0; padding: 0 10px; background: #EEEEEE; font-family: "Roboto", var(--font-body); font-size: 13px; color: #000; }
.ck-powered a { display: flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.ck-powered svg { width: 20px; height: 13px; margin-left: 2px; fill: #000; }
.ck-powered b { margin-left: -2px; font-weight: 500; }
@media (max-width: 600px) {
  .ck-foot { flex-direction: column; gap: 10px; }
  .ck-btn { width: 100%; }
}

/* ===== Account pages' header (notificacoes.html), as Benfica's: 119px, the menu, crest and Futebol on the left, the
   tools on the right with "Lisbon FC" under them; everything turns blue when hovered ===== */
.nh-header { position: relative; z-index: 50; border-bottom: 1px solid #DDD; background: var(--white); font-family: "Roboto", var(--font-body); color: #242424; }
.nh-inner { position: relative; height: 119px; }
.nh-header a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.nh-header button { padding: 0; border: none; background: none; color: inherit; cursor: pointer; transition: color 0.2s ease; }
.nh-menu { position: absolute; top: 73px; left: 25px; display: flex; width: 24px; height: 22px; }
.nh-menu svg { width: 24px; height: 22px; }
/* (not the site header's turning menu icon) */
.nh-menu:hover svg, .nh-menu.is-hovered svg { transform: none; }
/* hovered, the top and bottom lines close in on the middle one */
.nh-menu-top, .nh-menu-bottom { transition: transform 0.2s ease-in-out; }
.nh-menu:hover .nh-menu-top { transform: translateY(4px); }
.nh-menu:hover .nh-menu-bottom { transform: translateY(-4px); }
.nh-logo { position: absolute; top: -5px; left: 61px; }
.nh-logo img { display: block; width: 130px; height: 130px; }
.nh-nav { position: absolute; top: 66px; left: 191px; display: flex; }
.nh-nav a, .nh-header .nh-club { display: block; height: 53px; padding-top: 13.6px; font-size: 16px; line-height: 19.2px; }
.nh-header .nh-club { position: absolute; top: 66px; right: 12px; padding: 13.6px 13px 0; z-index: 0; }
/* Lisbon FC: a blue block slides up behind it when hovered, and the text turns yellow */
.nh-club::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform 0.3s ease; }
.nh-club:hover::after { transform: scaleY(1); }
.nh-header .nh-club:hover { color: var(--yellow); }
.nh-tools { position: absolute; top: 20px; right: 25px; display: flex; align-items: center; height: 36px; }
.nh-search { display: flex; margin-right: 14px; }
.nh-search svg { width: 24px; height: 24px; }
/* (only turns blue, without the main header's lens filling in) */
.nh-header .nh-search:hover svg circle { fill: none; }
.nh-header .nh-user { display: flex; align-items: center; height: 36px; font-family: inherit; }
.nh-header .nh-hello { display: flex; align-items: center; gap: 0; white-space: pre; font-size: 14px; color: #4C4C4C; }
.nh-hello svg { width: 10px; height: 7.4px; margin-left: 7px; color: #4C4C4C; }
.nh-initials { display: flex; align-items: center; justify-content: center; width: 33px; height: 33px; margin-left: 7px; border: 0.8px solid #CCC; border-radius: 50%; font-size: 16px; font-weight: 300; }
.nh-header .nh-initials { color: var(--blue); }
.nh-wallet { display: flex; align-items: center; gap: 5px; margin-left: 20px; }
.nh-wallet b { font-family: "Roboto Condensed", var(--font-body); font-size: 16px; font-weight: 600; }
.nh-wallet svg { width: 28px; height: 25px; }
/* the cart: the main header's bag, black, and blue when hovered. Every 3 seconds it blinks once, slowly, and then
   shakes, hovered or not */
.nh-header .nh-cart { position: relative; display: flex; margin-left: 14px; color: #242424; animation: nh-cart-alert 3s linear infinite; }
.nh-header .nh-cart:hover { color: var(--blue); }
.nh-cart svg { width: 31px; height: 31px; }
/* with something in the cart: a blue circle on the bag's bottom right corner, the count in yellow */
.nh-cart-badge { position: absolute; right: -6px; bottom: 0; display: flex; align-items: center; justify-content: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--blue); color: var(--yellow); font-family: "Roboto", var(--font-body); font-size: 10.5px; font-weight: 700; line-height: 1; }
.nh-cart-badge[hidden] { display: none; }
/* 0–20%: one slow blink; 20–37%: the shake; then still until the next round */
@keyframes nh-cart-alert {
  0%, 20% { opacity: 1; transform: none; }
  10% { opacity: 0.2; }
  23.4% { transform: rotate(-12deg); }
  26.8% { transform: rotate(10deg); }
  30.2% { transform: rotate(-7deg); }
  33.6% { transform: rotate(4deg); }
  37%, 100% { opacity: 1; transform: none; }
}
.nh-lang { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-left: 22px; border: 1.6px solid #4C4C4C; font-family: "Roboto Condensed", var(--font-body); font-size: 12px; font-weight: 700; transition: color 0.2s ease, border-color 0.2s ease; }
.nh-header .nh-nav a:hover, .nh-search:hover, .nh-header .nh-user:hover .nh-hello, .nh-header .nh-wallet:hover, .nh-header .nh-lang:hover { color: var(--blue); }
.nh-lang:hover { border-color: var(--blue); }
/* the name opens the account popup: it stays blue while the popup is open */
.nh-header .nh-user[aria-expanded="true"] .nh-hello { color: var(--blue); }
/* The account popup: hangs under the initials, with a small point at the top; the head (circle, name, member number,
   since when), the profile's sections centred with their icons, and Logout on the right */
.nh-account { position: absolute; top: 74px; right: 113px; z-index: 60; width: 363px; padding: 25px 25px 20px; border: 1px solid #E2E2E2; background: var(--white); box-shadow: 0 5px 34px rgba(0, 0, 0, 0.18); font-family: "Roboto Condensed", var(--font-body); }
.nh-account[hidden] { display: none; }
.nh-account::before { content: ""; position: absolute; top: -7px; right: 92px; width: 12px; height: 12px; border-top: 1px solid #E2E2E2; border-left: 1px solid #E2E2E2; background: var(--white); transform: rotate(45deg); }
.nh-account p { margin: 0; }
.nh-account-head { display: flex; align-items: center; gap: 22px; padding: 0 0 24px 35px; border-bottom: 1px solid #DDD; }
.nh-account-avatar { position: relative; display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 74px; height: 74px; overflow: hidden; border: 1px solid #CCC; border-radius: 50%; font-size: 42px; font-weight: 300; color: var(--blue); }
.nh-account-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nh-account-name, .nh-account-member { font-size: 18px; line-height: 26px; color: #242424; text-transform: uppercase; }
.nh-account .nh-account-since { margin-top: 2px; font-size: 15px; line-height: 20px; color: #242424; text-transform: uppercase; }
.nh-account-list { margin: 0; padding: 0 0 30px; border-bottom: 1px solid #DDD; list-style: none; }
.nh-account-list a { display: flex; align-items: center; justify-content: center; gap: 10px; height: 55px; font-size: 18px; color: #4C4C4C; text-transform: uppercase; }
.nh-account-list li:first-child a { margin-top: -6px; }
.nh-account-list svg { width: 16px; height: 16px; flex-shrink: 0; }
.nh-account-list li:first-child svg { width: 17px; height: 12px; }
.nh-header .nh-account-list a:hover { color: var(--blue); }
.nh-header .nh-account-logout { display: flex; align-items: center; gap: 10px; margin: 20px 0 0 auto; font-family: inherit; font-size: 19.5px; color: #242424; text-transform: uppercase; }
.nh-account-logout svg { width: 16px; height: 16px; }
.nh-header .nh-account-logout:hover { color: var(--blue); }
@media (max-width: 900px) {
  .nh-inner { height: 80px; }
  .nh-menu { top: 29px; left: 16px; }
  .nh-logo { top: -6px; left: 46px; }
  .nh-logo img { width: 92px; height: 92px; }
  .nh-nav, .nh-header .nh-club, .nh-header .nh-hello, .nh-wallet b, .nh-lang { display: none; }
  .nh-tools { top: 22px; right: 16px; }
}

/* Scrolled down (.is-compact, set in conta-header.js), as Benfica's: the header's row is fixed at the top, 85px tall,
   with the crest small, the menu lines and Futebol higher, and "Lisbon FC" folded into an arrow (underlined in blue)
   that drops it in a small box. The header keeps its height in the page, so nothing under it jumps */
.nh-header { min-height: 120px; }
.nh-more { display: none; }
.nh-header.nh-instant .nh-inner, .nh-header.nh-instant .nh-inner *, .nh-header.nh-instant .nh-inner *::before, .nh-header.nh-instant .nh-inner *::after { transition: none; }
.nh-header.is-compact .nh-inner { position: fixed; top: 0; right: 0; left: 0; z-index: 50; height: 85px; border-bottom: 1px solid #DDD; background: var(--white); }
.nh-header.is-compact .nh-menu { top: 41px; }
.nh-header.is-compact .nh-logo { top: 9px; left: 63px; }
.nh-header.is-compact .nh-logo img { width: 68px; height: 68px; }
.nh-header.is-compact .nh-nav { top: 16px; }
.nh-header.is-compact .nh-nav a { height: 69px; padding-top: 18px; }
.nh-header.is-compact .nh-club { display: none; }
.nh-header.is-compact .nh-tools { top: 17px; right: 15px; }
.nh-header.is-compact .nh-account { top: 70px; right: 103px; }
.nh-header.is-compact .nh-more { position: absolute; top: -1px; right: calc(100% + 24px); display: block; }
.nh-header .nh-more-btn { position: relative; display: flex; justify-content: center; width: 67px; height: 69px; padding-top: 22px; color: var(--blue); }
.nh-more-btn::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 3.5px; background: var(--blue); }
.nh-more-btn svg { width: 9.75px; height: 6.5px; transition: transform 0.6s ease; }
.nh-more-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nh-more-list { position: absolute; top: 100%; left: 0; width: 169px; background: var(--white); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); }
.nh-more-list[hidden] { display: none; }
.nh-header .nh-more-list a { display: block; padding: 0 25px; font-size: 16px; line-height: 53px; color: #242424; }
.nh-header .nh-more-list a:hover { color: var(--blue); }

/* With the menu open the header shrinks to its top row (64px): the menu lines turn into a cross, the crest gets small,
   and Futebol and "Lisbon FC" go */
.nh-inner, .nh-header .nh-logo, .nh-logo img, .nh-header .nh-menu { transition: height 0.5s ease-in-out, top 0.5s ease-in-out, left 0.5s ease-in-out, width 0.5s ease-in-out, color 0.2s ease; }
.nh-nav { transition: opacity 0.2s ease; }
.nh-header .nh-club { transition: color 0.2s ease, opacity 0.2s ease; }
.nh-header.is-menu-open .nh-inner { height: 64px; }
.nh-header.is-menu-open .nh-menu { top: 22px; }
.nh-header.is-menu-open .nh-logo { top: 1px; left: 69px; }
.nh-header.is-menu-open .nh-logo img { width: 63px; height: 63px; }
.nh-header.is-menu-open .nh-nav, .nh-header.is-menu-open .nh-club { opacity: 0; pointer-events: none; }
.nh-menu-top, .nh-menu-mid, .nh-menu-bottom { transform-box: fill-box; transform-origin: center; }
.nh-menu-mid { transition: opacity 0.2s ease; }
.nh-header.is-menu-open .nh-menu-mid { opacity: 0; }
.nh-header.is-menu-open .nh-menu-top, .nh-header.is-menu-open .nh-menu:hover .nh-menu-top { transform: translateY(10px) rotate(45deg); }
.nh-header.is-menu-open .nh-menu-bottom, .nh-header.is-menu-open .nh-menu:hover .nh-menu-bottom { transform: translateY(-10px) rotate(-45deg); }
.nh-header.is-menu-open .nh-menu:hover { color: var(--blue); }
/* the cross turns a quarter to the right when hovered */
.nh-menu svg { transition: transform 0.3s ease; }
.nh-header.is-menu-open .nh-menu:hover svg { transform: rotate(90deg); }
/* The menu: a white page under the header that slides down from behind it; the columns start 135px in, four of 234px,
   with a thin line down their right */
.nm-menu { position: fixed; top: 64px; right: 0; bottom: 0; left: 0; z-index: 40; overflow-y: auto; background: var(--white); font-family: "Roboto", var(--font-body); visibility: hidden; transform: translateY(-100%); transition: transform 0.5s ease-in-out, visibility 0s 0.5s; }
.nm-menu.is-open { visibility: visible; transform: none; transition: transform 0.5s ease-in-out; }
.nm-grid { position: relative; display: grid; grid-template-columns: repeat(4, 234px); width: 990px; margin: 56px 0 56px 135px; border-right: 0.8px solid #DDD; }
.nm-item { display: flex; flex-direction: column; align-items: flex-start; padding: 0 23px 32px 0; }
.nm-item p { margin: 0; }
.nm-item a { font-size: 16px; line-height: 27.2px; color: #242424; text-decoration: none; transition: color 0.1s ease-in-out; }
.nm-item a + a { margin-top: 10px; }
.nm-item .nm-title { margin-bottom: 15px; font-size: 16px; font-weight: 500; line-height: 19px; color: #707070; }
.nm-item a.nm-title { line-height: 19px; color: #707070; }
.nm-item .nm-more { margin-top: 10px; font-size: 14px; line-height: 20px; }
.nm-more::after { content: "›"; margin-left: 8px; font-size: 13px; }
.nm-item a:hover, .nm-item a.nm-title:hover { color: var(--blue); }
/* the legal pages: in the last column, in a row of their own under Apoio */
.nm-legal { grid-column: 4; grid-row: 5; }
body.nm-open { overflow: hidden; }
@media (max-width: 1100px) {
  .nm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); width: auto; margin: 32px 24px; border: none; }
  .nm-legal { grid-column: auto; grid-row: auto; }
}
@media (max-width: 600px) {
  .nm-grid { grid-template-columns: 1fr; }
}

/* ===== Notificações (notificacoes.html), as Benfica's page: a 994px block, centred; the text starts at its left, the
   question further in, and Anterior from the middle under a thin line that runs to the block's right ===== */
.nt-page { font-family: "Roboto Condensed", var(--font-body); color: #242424; }
.nt-breadcrumb { border-bottom-color: #DDD; font-size: 16px; line-height: 22.86px; }
.nt-breadcrumb .container { max-width: none; padding: 20px 50px 10px; }
.nt-breadcrumb a, .nt-breadcrumb a::after { color: #989898; transition: color 0.2s ease; }
.nt-breadcrumb .container { gap: 0; }
.nt-breadcrumb a::after { margin: 0 6px; }
.nt-breadcrumb a:hover { color: var(--blue); }
.nt-breadcrumb span { font-weight: 400; color: #242424; }
.nt-box { padding: 90px 18px 110px; }
.nt-title { margin: 0; font-family: inherit; font-size: 32px; font-weight: 300; line-height: 52px; text-align: center; text-transform: uppercase; }
.nt-body { max-width: 994px; margin: 40px auto 0; }
.nt-blocked, .nt-ask { margin: 0; font-size: 16px; line-height: 22.86px; }
.nt-ask { margin-top: 5px; padding-left: 455px; font-family: "Roboto", var(--font-body); }
.nt-back-holder { position: relative; margin: -4px 0 0 50%; padding-top: 26px; border-top: 0.8px solid #DDD; }
.nt-back { position: relative; z-index: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; width: 240px; height: 40px; border: 0.8px solid #242424; font-size: 14px; line-height: 20px; text-transform: uppercase; color: #242424; text-decoration: none; transition: border-color 0.28s ease, color 0.28s ease; }
/* hovered, blue slides up from the bottom to fill it and the text turns yellow */
.nt-back::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: translateY(100%); transition: transform 0.28s ease; }
.nt-back:hover { border-color: var(--blue); color: var(--yellow); }
.nt-back:hover::before { transform: translateY(0); }
@media (max-width: 1100px) {
  .nt-blocked, .nt-ask { padding: 0; text-align: center; }
  .nt-back-holder { margin: 24px 0 0; padding: 0; border: none; }
  .nt-back { margin: 0 auto; }
}
@media (max-width: 600px) {
  .nt-breadcrumb .container { padding-left: 20px; padding-right: 20px; }
  .nt-box { padding: 56px 16px 72px; }
  .nt-title { font-size: 28px; line-height: 34px; }
}

/* Notifications on: rows of a label (right-aligned) and Não / Sim in two columns, under the title; the groups each
   start with a thin line and a blue title, and Anterior sits on the left under a line half the block wide */
.nt-on { max-width: 994px; margin: 41px auto 0; }
.nt-on p { margin: 0; }
.nt-row { display: grid; grid-template-columns: 677.6px 124.9px 1fr; align-items: center; min-height: 52.8px; font-size: 16px; }
.nt-row > p { padding-right: 15.6px; font-family: "Roboto", var(--font-body); text-align: right; }
.nt-row .pf-radio { gap: 15px; }
.nt-row .pf-radio input { width: 20px; height: 20px; box-shadow: inset 0 0 0 3.8px var(--white); }
.nt-row .pf-radio span { font-family: "Roboto", var(--font-body); }
.nt-row--main { padding-bottom: 21.6px; }
.nt-group { padding: 23px 0 17.6px; border-top: 0.8px solid #DDD; }
/* (the first line sits a little lower, the group under it staying put) */
.nt-group:first-child { padding-top: 29px; }
.nt-on .nt-group-title { margin: 0 0 14.6px; font-family: "Roboto", var(--font-body); font-size: 20px; font-weight: 300; line-height: 24px; color: var(--blue); text-transform: uppercase; }
.nt-on-back { width: 50%; margin-top: 9px; padding-top: 22px; border-top: 0.8px solid #DDD; }
/* back to the top: a grey square in the bottom right corner */
.nt-top { position: fixed; right: 22px; bottom: 60px; z-index: 30; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 58px; height: 58px; padding: 0; border: none; background: rgba(140, 140, 140, 0.45); font-family: "Roboto Condensed", var(--font-body); font-size: 12px; color: var(--white); text-transform: uppercase; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
.nt-top[hidden] { display: none; }
.nt-top svg { width: 25px; height: 14.6px; }
.nt-top:hover { background: rgba(255, 222, 90, 0.6); color: var(--blue); }
@media (max-width: 1100px) {
  .nt-row { grid-template-columns: 1fr 90px 90px; }
  .nt-on-back { width: auto; border: none; }
  .nt-on-back .nt-back { margin: 0 auto; }
}

/* ===== Histórico de encomendas (historico-de-encomendas.html), as Benfica's: an 850px column under the title; the tabs
   bar (Filtros on the right drops a panel), the table head, and each order as a row that opens into its details ===== */
.he-box { max-width: 850px; margin: 0 auto; font-family: "Roboto Condensed", var(--font-body); color: #242424; }
.he-box p { margin: 0; }
.he-box .he-payment .he-section-title { margin-bottom: 25px; }
.he-box button { padding: 0; border: none; background: none; font: inherit; color: inherit; cursor: pointer; }
.he-title { margin: 0; padding: 50px 0 40px; font-family: inherit; font-size: 33px; font-weight: 500; line-height: 52px; text-align: center; text-transform: uppercase; }
.he-bar { position: relative; display: flex; justify-content: space-between; border-top: 0.8px solid #DDD; border-bottom: 0.8px solid #DDD; }
.he-tabs { display: flex; }
.he-box .he-tab, .he-box .he-filters-btn { height: 80px; padding: 0 24.8px; font-size: 16px; text-transform: uppercase; transition: color 0.2s ease; }
.he-box .he-filters-btn { display: flex; align-items: center; gap: 9px; padding: 0 20px; }
.he-filters-btn svg { width: 11px; height: 8px; transition: transform 0.2s ease; }
.he-box .he-tab.is-active, .he-box .he-tab:hover, .he-box .he-filters-btn:hover, .he-box .he-filters-btn[aria-expanded="true"] { color: var(--blue); }
.he-filters-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
/* the filters panel: the period on the left (radios in rows of three), the order number on the right, Pesquisar under */
.he-filters { position: absolute; top: 100%; right: -0.8px; left: -0.8px; z-index: 5; display: grid; grid-template-columns: 538.9px 1fr; padding: 46px 20.8px 46px; border: 0.8px solid #DDD; border-top: none; background: var(--white); }
/* it slides down from under the bar when opened and back up when closed */
.he-filters { visibility: hidden; clip-path: inset(0 -1px 100% -1px); transition: clip-path 0.35s ease, visibility 0s 0.35s; }
.he-filters.is-open { visibility: visible; clip-path: inset(-81px -1px -1px -1px); transition: clip-path 0.35s ease; }
/* open, the box closes over the period too: a line along its top, stopping where Filtros starts, and its right side runs
   up beside Filtros to the top of the bar (the bar's own bottom line is hidden meanwhile) */
.he-bar:has(.he-filters.is-open) { border-bottom-color: transparent; }
.he-filters::before { content: ""; position: absolute; top: 0; left: 0; right: var(--he-filters-btn, 113px); border-top: 0.8px solid #DDD; }
.he-filters.is-open::after { content: ""; position: absolute; right: -0.8px; bottom: 100%; height: 80.8px; border-right: 0.8px solid #DDD; }
.he-filters-title { font-size: 18px; line-height: 25.7px; color: #333; text-transform: uppercase; }
.he-filters-order { padding-top: 26px; }
/* (DATA sits a little higher than the rest) */
.he-box .he-filters-date .he-filters-title { margin-top: -6px; }
.he-periods { display: grid; grid-template-columns: repeat(3, 179.6px); row-gap: 30px; margin-top: 26px; }
.he-periods .pf-radio { gap: 15px; font-size: 18px; font-weight: 500; line-height: 25.7px; color: #888; }
.he-periods .pf-radio input { width: 20px; height: 20px; border-color: #898989; box-shadow: inset 0 0 0 4px var(--white); }
.he-periods .pf-radio:has(input:checked) { color: #242424; }
.he-filters-input { box-sizing: border-box; width: 100%; height: 55px; margin-top: 12px; padding: 0 24px; border: 0.8px solid #242424; border-radius: 0; font-family: inherit; font-size: 24px; text-transform: uppercase; color: #000; outline: none; }
.he-filters-input::placeholder { color: #999; }
.he-box .he-search { grid-column: 1 / -1; width: 150px; margin: 40px auto 0; border: 0.8px solid #242424; background: none; font-family: inherit; }
.he-box .he-search:hover { border-color: var(--blue); color: var(--yellow); }
/* the table: Número, then Data, Valor and Estado in columns of 196.6px */
.he-table { margin-top: 50px; }
.he-head, .he-box .he-row { display: grid; grid-template-columns: 196.4px repeat(3, 196.6px) 1fr; align-items: center; font-size: 16px; line-height: 22.86px; text-align: left; text-transform: uppercase; }
.he-head { height: 33.7px; padding-left: 32px; border-bottom: 0.8px solid #DDD; }
.he-order { border-bottom: 0.8px solid #F1F1F1; }
.he-box .he-row { width: 100%; height: 72.85px; padding-left: 32px; transition: background-color 0.2s ease; }
.he-row strong { display: flex; align-items: center; gap: 13px; }
.he-row svg { width: 11px; height: 8px; transition: transform 0.6s ease, color 0.2s ease; }
/* the arrow turns blue while it is hovered itself */
.he-row svg:hover { color: var(--blue); }
.he-order.is-open .he-row { background: #F1F1F1; }
.he-order.is-open .he-row svg { transform: rotate(180deg); }
/* an order's details: products and delivery in one block, then the payment, then the note */
.he-detail { padding: 30px 20px 53px 68px; font-size: 14px; line-height: 20px; }
.he-section-head { display: flex; justify-content: space-between; text-transform: uppercase; }
.he-section-title { text-transform: uppercase; }
.he-invoice { display: flex; align-items: center; gap: 5px; color: inherit; text-decoration: none; }
.he-invoice svg { width: 20px; height: 20px; }
.he-invoice:hover { color: var(--blue); }
.he-item { display: flex; align-items: flex-start; gap: 13px; margin-top: 28.5px; padding-bottom: 18.9px; }
.he-item img { width: 32.8px; height: 32.8px; object-fit: contain; background: #F6F6F6; }
.he-item .he-item-name { margin-top: -2px; text-transform: uppercase; }
.he-item-x { margin: 0 13px; text-transform: none; }
.he-item .he-item-info { margin-top: 3px; font-size: 11px; line-height: 15.7px; text-transform: uppercase; }
.he-item-info span + span { margin-left: 12px; padding-left: 12px; border-left: 0.8px solid #CCC; }
.he-delivery { padding: 22px 0 51.9px; border-top: 0.8px solid #F1F1F1; border-bottom: 0.8px solid #F1F1F1; }
.he-delivery .he-section-title { padding-left: 20px; }
.he-steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin: 36px 0 0; padding: 0; list-style: none; }
.he-steps::before { content: ""; position: absolute; top: 25px; right: 0; left: 0; height: 0.8px; background: #DDD; }
.he-steps li { position: relative; display: flex; flex-direction: column; align-items: center; }
.he-step-icon { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: var(--white); color: #BBB; }
.he-step-icon svg { width: 32px; height: 32px; }
.he-steps li.is-current .he-step-icon { background: var(--blue); color: var(--yellow); }
.he-steps small { margin-top: 11px; font-size: 14px; color: #666; text-transform: uppercase; }
.he-payment { margin-top: 30px; padding: 20px 0; border-bottom: 0.8px solid #F1F1F1; }
.he-detail .he-note { margin-top: 40px; font-size: 12px; line-height: 17px; }
.he-note a { color: inherit; text-decoration: underline; }
.he-none { padding: 30px 32px 16px; font-size: 16px; }
@media (max-width: 900px) {
  .he-box { padding: 0 16px; }
  .he-title { padding: 32px 0; font-size: 26px; line-height: 34px; }
  .he-tabs { overflow-x: auto; }
  .he-box .he-tab, .he-box .he-filters-btn { padding: 0 12px; }
  .he-filters { grid-template-columns: 1fr; }
  .he-periods { grid-template-columns: repeat(2, 1fr); }
  .he-head, .he-box .he-row { grid-template-columns: 1.4fr 1fr 1fr 1fr; font-size: 13px; }
  .he-detail { padding: 24px 0 40px; }
  .he-steps small { font-size: 11px; text-align: center; }
}

/* ===== Meios de Pagamento (meios-de-pagamento.html), as Benfica's: the title, then 416px boxes two by two, 24px apart;
   a saved card per box (the default one outlined in black) and a last box to add one ===== */
.mp-breadcrumb .container { padding-top: 20px; padding-bottom: 21px; }
.mp-box { max-width: 856px; margin: 0 auto; padding: 0 0 50px; font-family: "Roboto Condensed", var(--font-body); color: #242424; }
.mp-box p { margin: 0; }
.mp-title { margin: 19.4px 0 35px; font-family: inherit; font-size: 31px; font-weight: 300; line-height: 38.4px; text-align: center; text-transform: uppercase; }
.mp-cards { display: flex; flex-wrap: wrap; gap: 24px; }
[data-mp-cards] { display: contents; }
.mp-card { position: relative; box-sizing: border-box; width: 416px; min-height: 355.3px; padding: 10.8px 20.8px 20px; border: 0.8px solid #DDD; background: #F9F9F9; }
.mp-card.is-default { border-color: #000; }
.mp-box .mp-card-title { margin-top: -6px; font-size: 24px; font-weight: 300; line-height: 40px; }
.mp-box .mp-delete { position: absolute; top: 19.8px; right: 19.8px; display: flex; padding: 0; border: none; background: none; color: #242424; cursor: pointer; }
.mp-delete svg { width: 21px; height: 22px; }
.mp-box .mp-default { display: flex; align-items: center; margin-top: 24px; padding: 0; border: none; background: none; font-family: "Roboto", var(--font-body); font-size: 14px; line-height: 23px; color: #242424; text-transform: uppercase; }
.mp-default svg { width: 12px; height: 10px; margin: 0 12px 0 6px; color: var(--blue); }
/* the other cards: an empty white box in place of the tick; clicking it makes that card the default */
.mp-box .mp-make-default { cursor: pointer; }
.mp-default-box { box-sizing: border-box; width: 14px; height: 14px; margin: 0 11px 0 5px; border: 0.8px solid #BBB; background: var(--white); transition: border-color 0.2s ease; }
.mp-box .mp-make-default:hover .mp-default-box { border-color: var(--blue); }
.mp-details { margin: 30px 0 0; }
.mp-details div { display: grid; grid-template-columns: 150px 1fr; }
.mp-details div + div { margin-top: 23.9px; }
.mp-details dt, .mp-details dd { margin: 0; font-size: 16px; line-height: 22.86px; text-transform: uppercase; }
/* adding a card: fields drawn like the payment provider's (no border, light lavender hints) */
.mp-new { padding-top: 40.8px; border-color: #DDD; }
.mp-label { display: block; font-size: 16px; line-height: 22.86px; text-transform: uppercase; }
.mp-field { display: flex; align-items: center; gap: 10px; box-sizing: border-box; width: 260px; height: 40px; padding: 0; border: none; background: none; font-family: "Roboto", var(--font-body); font-size: 20px; color: #242424; outline: none; }
.mp-field input { flex: 1; min-width: 0; height: 100%; padding: 0; border: none; background: none; font: inherit; color: inherit; outline: none; }
.mp-field svg { flex-shrink: 0; width: 30px; height: 20px; overflow: visible; }
.mp-field::placeholder, .mp-field input::placeholder { color: #B7C2F5; }
.mp-field.is-invalid, .mp-field.is-invalid input, .mp-field:has(input.is-invalid) { color: #C30000; }
.mp-row { display: flex; margin-top: 30px; }
.mp-row > div { width: 93.6px; }
.mp-row .mp-field { width: 93.6px; }
.mp-new .mp-error { margin-top: 10px; font-size: 13px; color: #C30000; }
.mp-new .mp-required { margin-top: 30px; font-size: 14px; line-height: 20px; }
/* Guardar: dark; hovered, blue slides up from the bottom and the text turns yellow */
.mp-box .mp-save { position: relative; z-index: 0; display: block; width: 176px; height: 40px; margin: 28px 0 0 auto; overflow: hidden; padding: 0; border: 0.8px solid #242424; background: #242424; font-family: inherit; font-size: 14px; color: var(--white); text-transform: uppercase; cursor: pointer; transition: color 0.25s ease-in-out, border-color 0.25s ease-in-out; }
.mp-save::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform 0.25s ease-in-out; }
.mp-box .mp-save:hover { border-color: var(--blue); color: var(--yellow); }
.mp-save:hover::before { transform: scaleY(1); }

/* ---- Gestão de Moradas (gestao-de-moradas.html), as Benfica's: a 900px column with the title, the addresses in grey
   boxes two by two (each at least 584px tall), and under a thin line, Anterior ---- */
/* (no line under the breadcrumb on this page) */
.nt-breadcrumb.gm-breadcrumb { border-bottom: none; }
.gm-box { max-width: 900px; margin: 0 auto; padding: 0 0 20px; font-family: "Roboto Condensed", var(--font-body); color: #242424; }
.gm-box p { margin: 0; }
.gm-title { margin: 20px 0 10px; font-family: inherit; font-size: 32px; font-weight: 300; line-height: 38.4px; text-align: center; text-transform: uppercase; }
.gm-list { display: grid; grid-template-columns: repeat(2, 444px); gap: 25px 12px; padding: 25px 0 50px; }
.gm-card { display: flex; flex-direction: column; min-height: 584px; padding: 40px 20px 61px; border: 0.8px solid #DDD; background: #F9F9F9; }
/* a saved one: the title in big thin capitals, the ticks, then each detail with its name in a 130px column */
.gm-box .gm-card-title { padding: 12px 0; font-size: 24px; font-weight: 300; line-height: 34px; color: #545454; text-transform: uppercase; }
.gm-checks { display: flex; flex-direction: column; gap: 12px; margin: 6px 0 0; padding: 12px 0; list-style: none; }
.gm-checks li, .gm-check { position: relative; display: flex; align-items: center; min-height: 20px; padding-left: 40px; font-size: 14px; font-weight: 500; line-height: 20px; text-transform: uppercase; }
.gm-checks li svg { position: absolute; top: 50%; left: 0; width: 26px; height: 26px; transform: translateY(-50%); }
.gm-details { margin: 6px 0 0; }
.gm-details div { display: flex; padding: 12px 0; font-size: 16px; line-height: 23px; }
.gm-details dt { flex: none; width: 130px; padding-right: 15px; text-transform: uppercase; }
.gm-details dd { margin: 0; min-width: 0; overflow-wrap: anywhere; text-transform: uppercase; }
.gm-details div:last-child dd { text-transform: none; }
/* the buttons: 150 x 40, dark or outlined; hovered, blue slides up from the bottom and the text turns yellow */
.gm-buttons { display: flex; justify-content: space-between; margin-top: auto; padding-top: 15px; }
.gm-buttons--end { justify-content: flex-end; }
.gm-btn { position: relative; z-index: 0; display: flex; align-items: center; justify-content: center; width: 150px; height: 40px; overflow: hidden; padding: 0; border: 0.8px solid #242424; background: var(--white); font-family: inherit; font-size: 14px; line-height: 20px; color: #242424; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: color 0.25s ease-in-out, border-color 0.25s ease-in-out; }
.gm-btn--dark { background: #242424; color: var(--white); }
.gm-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform 0.25s ease-in-out; }
.gm-btn:hover { border-color: var(--blue); color: var(--yellow); }
.gm-btn:hover::before { transform: scaleY(1); }
/* the form: 40px boxes with a dark outline, 10px apart */
.gm-edit { gap: 10px; }
.gm-input { display: block; width: 100%; height: 40px; padding: 0 20px; border: 0.8px solid #242424; border-radius: 0; background: var(--white); font-family: inherit; font-size: 16px; color: #000; outline: none; }
.gm-input::placeholder { color: #707070; opacity: 1; }
.gm-input:focus { border-color: #242424; }
.gm-input.is-invalid { border-color: #C30000; }
.gm-input--half { width: calc(50% - 5px); }
.gm-edit .gm-checks { padding: 0; }
.gm-check { cursor: pointer; }
.gm-check input { appearance: none; -webkit-appearance: none; position: absolute; top: 50%; left: 0; width: 26px; height: 26px; margin: 0; border: 0.8px solid #242424; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none' stroke='%23014AAD' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7.5 13.2 3.6 3.6 7.4-8'/%3E%3C/svg%3E") center / 0 no-repeat; transform: translateY(-50%); cursor: pointer; transition: background-size 0.25s cubic-bezier(0.34, 1.5, 0.64, 1); }
/* (ticked, the tick zooms in from nothing) */
.gm-check input:checked { background-size: 26px; }
.gm-check input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.gm-pair { display: flex; gap: 10px; margin-top: 6px; }
/* the postcode: 0000 - 000 in Portugal, one box elsewhere */
.gm-pc { display: flex; align-items: center; }
.gm-pc .gm-input { width: 70px; padding: 0 15px; }
.gm-pc .gm-input + .gm-pc-sep + .gm-input { width: 60px; }
.gm-pc-sep { width: 13px; font-size: 20px; line-height: 40px; text-align: center; }
.gm-pc.is-free .gm-input { width: 160px; }
.gm-pc.is-free .gm-pc-sep, .gm-pc.is-free .gm-pc-sep + .gm-input { display: none; }
/* the country: the flag picker (paises.js), as a 40px box */
.gm-country.ac-select { height: 40px; border-color: #242424; }
.gm-country .ac-flag { width: 34px; height: 21px; }
/* (the whole box opens the list here, as Benfica's: the flag on the left, the arrow on the right) */
.gm-country .ac-flag-btn { position: absolute; inset: 0; justify-content: space-between; padding: 0 20px 0 13px; }
.gm-country .ac-flag-btn:hover, .gm-country .ac-flag-btn[aria-expanded="true"] { background: none; }
.gm-country .ac-caret { width: 7px; height: 4.2px; color: #242424; }
.gm-country .ac-select-text { position: relative; margin-left: 52px; font-size: 16px; pointer-events: none; }
.gm-country .ac-countries { top: calc(100% + 1px); bottom: auto; border: 0.8px solid #242424; }
.gm-box p.gm-error { margin-top: 2px; font-size: 12px; line-height: 15px; text-align: right; color: #C30000; }
.gm-error[hidden] { display: none; }
/* "Adicionar mais": a big thin plus in a circle, in the middle of an empty box */
.gm-add { align-items: center; justify-content: center; gap: 0; font-family: inherit; color: #242424; cursor: pointer; }
.gm-add svg { width: 100px; height: 100px; }
.gm-add span { font-size: 24px; font-weight: 300; line-height: 34px; text-transform: uppercase; }
/* under the boxes: a thin line, then Anterior (150px wide here) */
.gm-foot { padding-top: 20px; border-top: 0.8px solid #EEE; }
.gm-box .gm-back { width: 150px; }
@media (max-width: 900px) {
  .mp-box { padding: 0 16px 40px; }
  .mp-title { font-size: 26px; line-height: 32px; }
  .mp-card { width: 100%; min-height: 0; }
}

/* ===== Informação Pessoal (informacao-pessoal.html), as Benfica's: a 599px form on the left (labels 11px over 48px
   boxes; the locked ones grey), and past a thin line on the right, notes with an (i) each. The boxes, radios and
   country pickers are the account forms' own (.ac-*) ===== */
.ip-page { font-family: "Roboto", var(--font-body); color: #242424; }
.ip-layout { display: grid; grid-template-columns: 599px 1fr; column-gap: 77px; max-width: 1220px; margin: 0 auto; padding: 56px 0 19px; }
.ip-form p { margin: 0; }
.ip-title { margin: 0; font-family: inherit; font-size: 18px; font-weight: 500; line-height: 22px; text-transform: none; }
.ip-form .ip-intro { margin-top: 12px; font-size: 14px; line-height: 18px; }
.ip-form .ac-label { margin-top: 10px; font-size: 12px; line-height: 15px; }
.ip-form .ac-input { margin-top: 8px; border-color: #DDD; font-family: inherit; }
.ip-form .ac-input:focus { border-color: #888; }
.ip-form .ac-input:disabled { background: #FAFAFA; color: #BDBDBD; -webkit-text-fill-color: #BDBDBD; }
/* the example answers (0000-000, DD, 912 345 678) in the same grey as the locked text */
.ip-form .ac-input::placeholder { color: #BDBDBD; opacity: 1; }
.ip-form .ip-caps { text-transform: uppercase; }
.ip-date { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; }
.ip-form .ip-date .ac-input { margin: 0; text-align: center; }
.ip-form .ip-date .ac-input + .ac-input { margin-left: -1px; }
.ip-form .ip-radios { gap: 44px; margin-top: 7px; }
.ip-form .ac-radio input:disabled { border-color: #DDD; background: #F8F8F8; cursor: default; }
.ip-form .ac-radio input:disabled:checked { background: radial-gradient(circle closest-side, #C8C8C8 calc(100% - 4.5px), #F8F8F8 calc(100% - 4px)); }
.ip-form .ac-radio:has(input:disabled) { cursor: default; }
.ip-form [data-field="language"] .ac-label, .ip-form .ip-gap .ac-label { margin-top: 21px; }
.ip-form .ac-select { margin-top: 8px; border-color: #DDD; }
.ip-pair { display: grid; grid-template-columns: 162px 1fr; column-gap: 9px; }
.ip-form .ac-tel { margin-top: 8px; }
.ip-form .ac-tel .ac-input { margin: 0; padding-left: 52px; }
.ip-form .ip-nif .ac-input { padding-left: 68px; }
.ip-form .ip-doc { padding-left: 19px; border-color: #757575; cursor: pointer; }
/* Cartão de Sócio: a light grey box with rounded corners */
.ip-card { margin-top: 20px; padding: 23px 24px 32px; border-radius: 8px; background: #F1F1F1; }
.ip-card-title { font-size: 18px; font-weight: 500; line-height: 22px; }
.ip-form .ip-card .ac-label { margin-top: 8px; color: #555; letter-spacing: 0.04em; }
.ip-form .ip-card .ip-radios { margin-top: 6px; }
/* Sim: the note on fees, the name for the card and the photo question (and, on Sim, the photo picker) */
.ip-card-more[hidden], .ip-photo[hidden] { display: none; }
.ip-form p.ip-card-note { margin-top: 10px; font-size: 14.5px; line-height: 20px; color: #242424; }
.ip-card-note a { color: var(--blue); }
.ip-card-note a:hover { text-decoration: underline; }
.ip-form .ip-card .ac-label.ip-card-photo-q { margin-top: 24px; }
.ip-photo { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.ip-photo-pick { position: relative; flex: none; width: 90px; height: 90px; border: 2px solid #C8C8C8; border-radius: 50%; background: var(--white); cursor: pointer; transition: border-color 0.2s; }
.ip-photo-person, .ip-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.ip-photo-img { object-fit: cover; }
.ip-photo-img[hidden] { display: none; }
.ip-photo-plus { position: absolute; right: -2px; bottom: -1px; display: flex; align-items: center; justify-content: center; width: 27px; height: 27px; border: 2px solid #F1F1F1; border-radius: 50%; background: #111; transition: background 0.2s; }
.ip-photo-plus svg { width: 12px; height: 12px; }
.ip-photo-pick:hover { border-color: #999; }
.ip-photo-pick:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.ip-photo-text { font-size: 14.5px; line-height: 20px; color: #242424; }
.ip-form p.ip-photo-title { margin-bottom: 4px; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.ip-form p.ip-photo-error { margin-top: 4px; font-size: 13px; color: #C30000; }
/* a wrong field's message, under it (only while it's red) */
.ip-form p.ip-field-error { display: none; margin-top: 4px; font-size: 12px; line-height: 15px; text-align: right; color: #C30000; }
.ip-form .is-invalid > p.ip-field-error { display: block; }
/* (only the message: the label and box keep their usual colours) */
.ip-form .ac-field.is-invalid .ac-label { color: #242424; }
.ip-form .ip-card .ac-field.is-invalid .ac-label { color: #555; }
.ip-form .ac-field.is-invalid .ac-input { border-color: #CCC; }
.ip-form .ac-field.is-invalid .ac-input:focus { border-color: #888; }
/* Sim to a photo but none picked: the circle in red and the message at the card box's bottom right */
.ip-form p.ip-photo-missing { display: none; margin-top: 10px; margin-bottom: -14px; font-size: 12px; line-height: 15px; text-align: right; color: #C30000; }
.ip-photo.is-missing ~ p.ip-photo-missing { display: block; }
.ip-photo.is-missing .ip-photo-pick { border-color: #C30000; }
/* the country lists open under their flag here, not above it */
.ip-form .ac-countries { top: calc(100% + 1px); bottom: auto; }
/* Seguinte: dark and full width; hovered, blue slides up from the bottom and the text turns yellow */
.ip-next { position: relative; z-index: 0; display: block; width: 100%; height: 50px; margin-top: 30px; overflow: hidden; padding: 0; border: none; background: #242424; font-family: inherit; font-size: 18px; color: var(--white); cursor: pointer; transition: color 0.25s ease-in-out; }
.ip-next::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform 0.25s ease-in-out; }
.ip-next:hover { color: var(--yellow); }
.ip-next:hover::before { transform: scaleY(1); }
/* after Seguinte: the note that it went through, in a narrower column in the middle, and "Ir para o site" */
.ip-layout[hidden], .ip-done[hidden] { display: none; }
.ip-done { max-width: 677px; margin: 0 auto; padding: 44px 0 340px; font-size: 14px; line-height: 20px; color: #242424; }
.ip-done h1.ip-done-title { margin: 0 0 22px; font-family: inherit; font-size: 18px; font-weight: 500; line-height: 24px; letter-spacing: normal; text-transform: none; color: #242424; }
.ip-done p { margin: 0 0 14px; }
.ip-done .ip-next { margin-top: 32px; line-height: 50px; text-align: center; text-decoration: none; }
.ip-info { padding: 8px 0 0 76px; border-left: 1px solid #DDD; }
.ip-info p { display: flex; gap: 15px; max-width: 470px; margin: 0 0 35px; font-size: 14px; line-height: 21.5px; color: #666; }
.ip-info svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; }
@media (max-width: 1100px) {
  .ip-layout { grid-template-columns: 1fr; row-gap: 40px; padding: 32px 16px; }
  .ip-info { padding: 32px 0 0; border-left: none; border-top: 1px solid #DDD; }
}

/* ===== Account pages' footer (notificacoes.html), as Benfica's: a 100px white strip, then a 78px blue bar ===== */
.nf-footer { border-top: 0.8px solid #F4F4F4; font-family: "Roboto Condensed", var(--font-body); }
.nf-gap { height: 100px; }
.nf-bar { display: flex; align-items: center; min-height: 78px; padding: 10px 0 10px 60px; background: var(--blue); font-size: 14px; color: var(--white); }
.nf-bar a { color: inherit; text-decoration: none; }
.nf-langs { display: flex; align-self: flex-start; gap: 3.2px; margin-top: 6px; }
.nf-langs a { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 0.8px solid var(--white); transition: background-color 0.2s ease, color 0.2s ease; }
.nf-langs a:hover { background: var(--white); color: var(--blue); }
.nf-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 23.6px; margin-left: 53px; font-weight: 300; text-transform: uppercase; }
.nf-links a:hover { text-decoration: underline; }
.nf-links .nf-cookies { margin-left: 12px; padding: 10px 0; font-weight: 500; }
.nf-rights { margin: 0 0 0 auto; padding-right: 10px; font-weight: 300; }
@media (max-width: 1100px) {
  .nf-bar { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; }
  .nf-links { margin-left: 0; gap: 8px 20px; }
  .nf-links .nf-cookies { margin-left: 0; padding: 0; }
  .nf-rights { margin: 0; }
}
@media (max-width: 1100px) {
  .pf-dp-box { grid-template-columns: 1fr; row-gap: 24px; }
  .pf-dp-icon { display: none; }
  .pf-dp-side, .pf-dp-box:last-child .pf-dp-side { grid-column: 1; grid-row: 2; margin-top: 0; }
  .pf-dp-note { grid-row: 3; margin-top: 0; }
  .pf-en-empty { padding-left: 0; }
  .pf-card-box { grid-template-columns: 1fr; row-gap: 30px; padding-right: 46px; }
  .pf-rows, .pf-join { grid-column: 1; grid-row: 3; }
  .pf-hero-inner { padding: 0 24px; }
}
@media (max-width: 700px) {
  .pf-page { padding: 0 0 48px; }
  .pf-hero { height: auto; padding: 36px 0; }
  .pf-hero-inner { flex-wrap: wrap; row-gap: 20px; }
  .pf-hero-side { height: auto; margin-left: 0; padding: 0; border-left: none; }
  .pf-tabs { grid-template-columns: repeat(2, 1fr); }
  .pf-tab { height: 56px; font-size: 14px; }
  .pf-box { padding: 28px 16px; }
  .pf-card { width: 100%; max-width: 321px; }
  .pf-btn { width: 130px; }
  .pf-join { flex-direction: column; }
  .pf-join-form { padding: 0 0 24px; border-right: none; border-bottom: 1px solid #DDDDDD; }
  .pf-join .pf-join-btn { width: 205px; }
}

/* ===== Page not found (404.html), as Benfica's: a 147px header with only the crest; "Como assim fora?" and the
   message on the left half, the whistle on the right; three cards with a drawing, a blue title and See More; and a
   60px blue bar with the rights line ===== */
.pnf-page { margin: 0; background: var(--white); font-family: "Roboto Condensed", var(--font-body); color: #242424; }
.pnf-header { position: relative; height: 146px; margin-bottom: 64px; border-bottom: 0.8px solid #DDD; }
.pnf-logo { position: absolute; top: -17px; left: 16px; }
.pnf-logo img { display: block; width: 170px; height: 170px; }
.pnf-top { display: flex; min-height: 543px; }
.pnf-message { box-sizing: border-box; width: 50%; padding: 140px 20px 32px 40px; text-transform: uppercase; }
.pnf-message blockquote { margin: 0; font-size: 66px; font-weight: 300; line-height: 72.6px; }
.pnf-message p { margin: 10px 0 0; font-size: 16px; line-height: 22.86px; }
.pnf-message .pnf-transl { margin: 0; font-size: 44px; font-style: italic; font-weight: 300; line-height: 52.8px; color: #CACACA; text-transform: none; }
.pnf-message h1 { margin: 56px 0 0; font-family: inherit; font-size: 29.5px; font-weight: 400; line-height: 32.5px; color: #242424; }
/* the buttons: a thin black outline; hovered, blue slides up from the bottom and the text turns yellow */
.pnf-btn { position: relative; z-index: 0; display: inline-flex; overflow: hidden; margin-top: 20px; padding: 9.5px 24px; border: 0.8px solid #000; font-size: 16px; line-height: 22.86px; color: #242424; text-decoration: none; text-transform: uppercase; transition: color 0.25s ease-in-out, border-color 0.25s ease-in-out; }
.pnf-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform 0.25s ease-in-out; }
.pnf-btn:hover { border-color: var(--blue); color: var(--yellow); }
.pnf-btn:hover::before { transform: scaleY(1); }
.pnf-art { position: relative; width: 50%; color: var(--blue); }
.pnf-whistle { position: absolute; top: 147px; left: 251px; width: 262px; }
.pnf-links { display: grid; grid-template-columns: repeat(3, 1fr); }
.pnf-link { display: flex; padding: 60.8px 32px 60px; border-top: 0.8px solid #DDD; color: var(--blue); }
.pnf-link + .pnf-link { border-left: 0.8px solid #DDD; }
.pnf-link > img { flex-shrink: 0; width: 127px; height: 127px; margin: 0 47px; }
.pnf-link > div { position: relative; flex: 1; min-height: 127px; }
.pnf-link h3 { margin: 0; font-family: inherit; font-size: 30px; font-weight: 300; line-height: 36px; color: var(--blue); text-transform: uppercase; }
.pnf-btn--small { position: absolute; top: 92px; left: 5px; margin: 0; padding: 10px 24.8px; font-size: 14px; line-height: 20px; }
.pnf-bar { display: flex; align-items: center; justify-content: flex-end; height: 60px; padding: 0 39px 0 45px; background: var(--blue); }
.pnf-bar p { margin: 0; font-size: 14px; font-weight: 300; line-height: 20px; color: var(--white); }
@media (max-width: 1100px) {
  .pnf-top { flex-direction: column; min-height: 0; }
  .pnf-message { width: auto; padding-top: 40px; }
  .pnf-art { width: auto; height: 260px; }
  .pnf-whistle { top: 20px; left: 50%; transform: translateX(-50%); }
  .pnf-links { grid-template-columns: 1fr; }
  .pnf-link + .pnf-link { border-left: none; }
}
@media (max-width: 600px) {
  .pnf-header { height: 100px; margin-bottom: 24px; }
  .pnf-logo img { width: 110px; height: 110px; }
  .pnf-message { padding: 24px 16px; }
  .pnf-message blockquote { font-size: 44px; line-height: 50px; }
  .pnf-message .pnf-transl { font-size: 28px; line-height: 36px; }
  .pnf-message h1 { margin-top: 32px; font-size: 24px; line-height: 28px; }
  .pnf-link { padding: 32px 16px; }
  .pnf-link > img { width: 90px; height: 90px; margin: 0 20px 0 0; }
  .pnf-bar { padding: 0 16px; }
}

/* ---- Pagamento de Quotas (quotas.html), as Benfica's: a plain header with the crest and the three steps, the form
   and a note in two columns split by a thin line, then a grey band of promises and the account footer ---- */
.qt-header { display: flex; align-items: center; height: 121px; padding: 0 0 0 92px; border-bottom: 1px solid #DDD; background: var(--white); font-family: "Roboto", var(--font-body); }
.qt-logo { display: flex; flex: none; width: 118px; margin: 0 79px 0 -14px; }
.qt-logo img { width: 100%; height: auto; }
.qt-steps { display: flex; align-items: flex-start; margin: 0; padding: 0; list-style: none; }
.qt-steps li { display: flex; flex-direction: column; }
/* (the steps joined by a thin dark line, level with the bottom of their names) */
.qt-steps li + li::before { content: ""; position: absolute; top: 22px; left: -251px; width: 215px; height: 1px; background: #242424; }
.qt-steps li + li { position: relative; }
/* (each step at its own place, as Benfica's: the names start 524px and 394px apart) */
.qt-steps li:nth-child(1) { width: 524px; }
.qt-steps li:nth-child(2) { width: 394px; }
.qt-step-name { font-size: 24px; line-height: 24px; color: #707070; white-space: nowrap; }
/* (a wider gap between the number and the name) */
.qt-step-num { margin-right: 11px; }
.qt-steps small { margin: 4px 0 0 28px; font-family: "Roboto Condensed", var(--font-body); font-size: 12px; line-height: 14.5px; color: #7A7A7A; text-transform: uppercase; }
.qt-steps .is-current .qt-step-name { color: var(--blue); }
/* (a step already done takes you back to it; the ones ahead can't be opened) */
.qt-step-link { display: flex; flex-direction: column; align-self: flex-start; text-decoration: none; }
/* (a done step: a small black corner under its number, part of the link back) */
.qt-step-link { position: relative; }
.qt-step-link::after { content: ""; position: absolute; top: 23px; left: 7.5px; border-style: solid; border-width: 0 0 11px 11px; border-color: transparent transparent #242424 transparent; }
.qt-page { font-family: "Roboto", var(--font-body); color: #242424; }
.qt-layout { display: grid; grid-template-columns: 472px 398px; max-width: 870px; margin: 40px auto 30px; }
.qt-form { padding: 22px 64px 0 0; }
.qt-form p { margin: 0; }
.qt-title { margin: 0 0 47px; font-family: inherit; font-size: 24px; font-weight: 500; line-height: 28px; letter-spacing: normal; text-transform: none; color: #242424; }
.qt-field + .qt-field { margin-top: 14px; }
.qt-label { display: block; margin-bottom: 4px; font-family: "Roboto Condensed", var(--font-body); font-size: 12px; line-height: 15px; text-transform: uppercase; color: #242424; }
.qt-input { display: block; width: 398px; height: 50px; padding: 0 16px; border: 1px solid #8A8A8A; border-radius: 0; background: var(--white); font-family: inherit; font-size: 18px; color: #242424; outline: none; }
.qt-input:focus { border-color: #242424; }
/* a wrong box: only its message, in red under it on the right */
.qt-form p.qt-error { display: none; width: 398px; margin-top: 4px; font-size: 12px; line-height: 15px; text-align: right; color: #C30000; }
.qt-field.is-invalid p.qt-error { display: block; }
/* Seguinte: dark and a little wider than the boxes; hovered, blue slides up from the bottom and the text turns yellow */
.qt-next { position: relative; z-index: 0; display: block; width: 408px; height: 50px; margin-top: 40px; overflow: hidden; padding: 0; border: none; background: #242424; font-family: inherit; font-size: 18px; color: var(--white); cursor: pointer; transition: color 0.25s ease-in-out; }
.qt-next::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform 0.25s ease-in-out; }
.qt-next:hover { color: var(--yellow); }
.qt-next:hover::before { transform: scaleY(1); }
.qt-info { min-height: 440px; padding: 110px 0 0 70px; border-left: 1px solid #EBEBEB; }
.qt-info p { display: flex; gap: 20px; margin: 0; font-size: 18px; line-height: 24px; color: #666; }
.qt-info svg { flex: none; width: 25px; height: 25px; margin-top: 4px; color: #4C4C4C; }
/* the promises: four columns on light grey, a thin drawing over two lines of small capitals */
.qt-promises { display: grid; grid-template-columns: repeat(4, 1fr); height: 248px; padding: 49px 90px 0; background: #F2F2F2; font-family: "Roboto Condensed", var(--font-body); color: #4C4C4C; text-align: center; }
.qt-promises div { display: flex; flex-direction: column; align-items: center; }
.qt-promises img { width: 62px; height: 62px; margin-bottom: 14px; object-fit: contain; }
.qt-promises p { margin: 0; font-size: 18px; font-weight: 300; line-height: 26px; text-transform: uppercase; }
.qt-promises small { margin-top: 7px; font-size: 11px; font-weight: 300; line-height: 14.5px; text-transform: uppercase; }
.qt-promises div:last-child small { margin-top: 1px; font-weight: 400; text-transform: none; }
/* a step already done: dark grey */
.qt-steps .is-done .qt-step-name { color: #242424; }
/* the reCAPTCHA after step 1, big in the middle of the screen over a dark veil */
.qt-captcha { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.55); animation: co-fade-in 0.3s ease; }
.qt-captcha[hidden] { display: none; }
.qt-captcha-box { padding: 34px 40px; background: var(--white); box-shadow: 0 5px 34px rgba(0, 0, 0, 0.25); transform: scale(1.35); }

/* ---- step 2 (quotas-valores.html): the title and member, the Débito Direto banner, the periods as white boxes and
   Seguinte on the right half, then Voltar ---- */
.qv-box { max-width: 870px; margin: 0 auto; padding: 38px 0 60px; font-family: "Roboto", var(--font-body); color: #242424; }
.qv-box p { margin: 0; }
.qv-title { margin: 0; font-family: inherit; font-size: 25px; font-weight: 500; line-height: 30px; letter-spacing: normal; text-transform: none; color: #242424; }
.qv-box p.qv-member { margin-top: 4px; font-family: "Roboto Condensed", var(--font-body); font-size: 14px; line-height: 18px; text-transform: uppercase; }
/* the banner: light grey text half with a blue line on its left, the picture half on blue */
.qv-banner { display: grid; grid-template-columns: 437px 1fr; height: 210px; margin-top: 38px; background: #F4F4F4; color: #242424; }
.qv-banner-text { position: relative; display: flex; color: inherit; text-decoration: none; transition: color 0.2s ease; flex-direction: column; justify-content: center; padding: 0 30px 28px 46px; font-size: 18px; line-height: 23px; }
/* (only the text side is a link: hovering anywhere on it turns its text blue) */
.qv-banner-text:hover { color: var(--blue); }
/* (the blue line on its left, from the top and stopping short of the bottom) */
.qv-banner-text::before { content: ""; position: absolute; top: 0; bottom: 30px; left: 0; width: 5px; background: var(--blue); }
.qv-banner-kicker { position: relative; top: -3px; font-size: 18px; }
.qv-banner strong { margin: 0 0 2px; font-size: 32px; font-weight: 500; line-height: 34px; color: var(--blue); }
.qv-banner-link { position: relative; top: 3px; color: var(--blue); }
/* the picture: the stadium blurred behind, blue slanted bars on its left and the hand holding the member card */
.qv-banner-art { position: relative; overflow: hidden; }
.qv-banner-art::before { content: ""; position: absolute; inset: -16px; background: url("../IMG/PlayArenaBelem2.jpeg") center / cover no-repeat; filter: blur(1.2px); }
.qv-banner-art::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 55px; background: repeating-linear-gradient(35deg, var(--blue) 0 6px, transparent 6px 16px); }
.qv-banner-art img { position: absolute; top: 0; left: -30px; z-index: 1; height: 300px; max-width: none; }
.qv-box p.qv-label { margin: 40px 0 12px; font-family: "Roboto Condensed", var(--font-body); font-size: 14px; line-height: 17px; text-transform: uppercase; }
.qv-box p.qv-label--next { margin-top: 34px; }
.qv-box p.qv-label:not(.qv-label--next) { margin-top: 38px; margin-bottom: 11px; }
/* the periods: a white box each, the name on the left, the dates small and the price bold on the right */
.qv-options { display: flex; flex-direction: column; gap: 9px; }
.qv-option { display: flex; align-items: center; width: 100%; min-height: 69px; padding: 0 26px; border: 1px solid #D6D6D6; background: var(--white); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08); font-family: inherit; color: #242424; text-align: left; cursor: pointer; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.qv-option:hover { border-color: var(--blue); }
/* (the overdue one: outlined in black, blue on hover) */
.qv-option--overdue { min-height: 72px; border-color: #000; box-shadow: none; }
.qv-option--overdue:hover { border-color: var(--blue); }
.qv-option.is-selected { border-color: var(--blue); }
.qv-option-name { flex: 1; font-size: 18px; font-weight: 500; line-height: 22px; }
.qv-option-period { max-width: 170px; margin-right: 14px; font-family: "Roboto Condensed", var(--font-body); font-size: 12.5px; line-height: 15.5px; text-align: right; }
.qv-option-price { min-width: 70px; font-family: "Roboto Condensed", var(--font-body); font-size: 18px; font-weight: 700; text-align: right; }
.qv-other { display: block; margin-top: 18px; padding: 0; border: none; background: none; font-family: inherit; font-size: 18.3px; font-weight: 500; color: #242424; cursor: pointer; }
.qv-other:hover { color: var(--blue); }
.qv-other-box { margin-top: 16px; }
.qv-other-box[hidden] { display: none; }
/* the months box: the number on the left, its total on the right */
.qv-other-label { display: block; margin-bottom: 5px; font-family: "Roboto Condensed", var(--font-body); font-size: 12px; line-height: 15px; text-transform: uppercase; }
.qv-other-field { display: flex; align-items: center; width: 425px; height: 52px; padding: 0 20px; border: 1px solid #000; background: var(--white); }
.qv-other-field:focus-within { outline: 2px solid #000; outline-offset: 2px; }
.qv-other-field input { flex: 1; min-width: 0; padding: 0; border: none; outline: none; background: none; font-family: inherit; font-size: 18px; color: #242424; }
.qv-other-field input::placeholder { color: #242424; opacity: 1; }
.qv-other-price { margin-right: 10px; font-family: "Roboto Condensed", var(--font-body); font-size: 18px; font-weight: 700; }
/* Seguinte: on the right half, grey until a period is chosen; then dark, blue sliding up with yellow text on hover */
.qv-next { position: relative; z-index: 0; display: block; width: 436px; height: 50px; margin: 40px 0 0 auto; overflow: hidden; padding: 0; border: none; background: #242424; font-family: inherit; font-size: 18px; color: var(--white); cursor: pointer; transition: color 0.25s ease-in-out; }
.qv-next::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform 0.25s ease-in-out; }
.qv-next:not(:disabled):hover { color: var(--yellow); }
.qv-next:not(:disabled):hover::before { transform: scaleY(1); }
.qv-next:disabled { background: #B5B5B5; cursor: default; }
.qv-back { display: inline-block; margin-top: 50px; font-size: 19px; font-weight: 500; color: #242424; text-decoration: none; }
.qv-back:hover { color: var(--blue); }
/* step 3 (quotas-pagamento.html): the two titles, then the ways to pay as step 2's boxes, the recurring ones with a
   line under the name and the single ones with the card or MB WAY logos before it */
.qv-box h1.qp-title { margin: 0; font-family: inherit; font-size: 24px; font-weight: 500; line-height: 29px; letter-spacing: normal; text-transform: none; color: #242424; }
.qv-box p.qp-subtitle { margin-top: 2px; font-size: 24px; line-height: 29px; }
.qv-box p.qp-subtitle + p.qv-member { margin-top: 16px; }
.qp-option--text { flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; padding-top: 23px; padding-bottom: 23px; }
.qp-option .qp-option-name { font-size: 18px; font-weight: 500; line-height: 22px; }
.qp-option-desc { font-family: "Roboto Condensed", var(--font-body); font-size: 15.5px; line-height: 19px; }
.qp-logos { display: flex; align-items: center; gap: 12px; margin-right: 22px; }
/* (Referência Multibanco, picked: a line at the box's right end, saying where its payment details will be) */
.qp-option-note { display: none; margin-left: auto; padding-left: 20px; font-family: "Roboto Condensed", var(--font-body); font-size: 12px; line-height: 15px; text-align: right; color: #000; }
.qp-option.is-selected .qp-option-note { display: block; }
/* MB WAY: its name and logo in a row (the line at the right once picked); under them, the phone number, which opens
   smoothly as the box grows when it's picked and closes when another is */
.qv-option.qp-option--mbway { flex-direction: column; align-items: stretch; justify-content: center; }
.qp-mbway-head { display: flex; align-items: center; min-height: 67px; }
.qp-mbway-note u { text-underline-offset: 2px; }
.qp-mbway-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s cubic-bezier(0.22, 0.61, 0.36, 1); cursor: default; }
.qp-option--mbway.is-selected .qp-mbway-panel { grid-template-rows: 1fr; }
.qp-mbway-inner { min-height: 0; overflow: hidden; }
.qp-option--mbway.is-selected .qp-mbway-inner { overflow: visible; transition: overflow 0s 0.35s; }
.qp-mbway-field { width: 380px; max-width: 100%; padding: 2px 3px 30px 0; }
.qp-mbway-field .qd-input::placeholder { color: #8A8A8A; opacity: 1; }
.qp-mbway-field .qd-dial { font-size: 18px; }
@media (prefers-reduced-motion: reduce) { .qp-mbway-panel { transition: none; } }
.qp-logos img { display: block; }
.qp-logos img.qp-logo-visa { height: 15px; }
.qp-logos img.qp-logo-mc { height: 23px; }
.qp-logos img.qp-logo-mb { height: 23px; }
/* step 3 with Débito Direto (quotas-debito-direto.html): the boxes two by two (the address across), the holder's
   details, then the agreement tick, its two paragraphs and the notes; a wrong box turns red with its
   title (no message) */
.qd-grid { display: grid; grid-template-columns: 426px 426px; gap: 13px 10px; margin-top: 50px; }
.qd-grid .qt-label { margin-bottom: 4px; }
.qd-wide { grid-column: 1 / -1; width: 840px; }
.qd-input { display: block; width: 100%; height: 50px; padding: 0 24px; border: 1px solid #555; border-radius: 0; background: var(--white); font-family: inherit; font-size: 18px; color: #242424; outline: none; }
.qd-input:focus, .ac-select.qd-country:focus-within { outline: 2px solid #000; outline-offset: 2px; }
.qd-select { padding-right: 40px; text-align: left; text-transform: none; cursor: pointer; background: var(--white) url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='m1 1.5 5 5 5-5' fill='none' stroke='%23555' stroke-width='1.4'/></svg>") right 16px center / 11px 7px no-repeat; }
/* Periodicidade: the box opens a list under it, its outline carried on around the options (no focus outline) */
.qd-period { position: relative; }
.qd-period .qd-select:focus { outline: none; }
.qd-period .qd-select[aria-expanded="true"] { border-bottom-color: transparent; }
.qd-period-list { position: absolute; top: 100%; left: 0; right: 0; z-index: 30; margin: 0; padding: 0; border: 1px solid #555; border-top: none; background: var(--white); list-style: none; }
.qd-period-list[hidden] { display: none; }
.qd-period-list li { padding: 5px 14px; font-size: 18px; line-height: 22px; color: #242424; cursor: pointer; }
.qd-period-list li:hover, .qd-period-list li.is-active { color: var(--blue); }
/* the phone: the flag and its code on a light grey block at the start of the box */
.qd-tel .ac-flag-btn { padding: 0 4px; background: #F2F2F2; }
.qd-tel .ac-flag-btn:hover, .qd-tel .ac-flag-btn[aria-expanded="true"] { background: #F2F2F2; }
.qd-dial { margin-left: 10px; font-size: 22px; color: #242424; }
.qd-tel .qd-input { padding-left: 131px; }
.qd-tel .ac-flag-btn .ac-flag { width: 35px; height: 24px; }
.qd-tel .ac-countries { top: 100%; bottom: auto; width: 192px; max-height: 195px; }
.qd-tel .ac-countries li { gap: 14px; padding: 12px 16px; font-size: 22px; line-height: 22px; }
.qd-tel .ac-countries .ac-flag { width: 32px; height: 22px; }
.qd-tel .ac-countries .ac-dial { margin-left: 0; }
.qd-tel .ac-countries li[aria-selected="true"] { font-weight: 400; }
/* the postcode in two boxes, then the town */
.qd-place { display: flex; flex-wrap: wrap; }
.qd-postcode-boxes { display: flex; gap: 10px; }
.qd-postcode-boxes .qd-input:first-child { width: 92px; }
.qd-postcode-boxes .qd-input:last-child { width: 94px; }
.qd-town { width: 186px; margin-left: 18px; }
.ac-select.qd-country { height: 50px; border-color: #555; }
.qd-country .ac-flag-btn:focus-visible { outline: none; }
.qd-country .ac-select-text { margin-left: 10px; font-size: 18px; font-weight: 500; transition: color 0.15s ease; }
/* the whole box opens the list (under it, every country by name); no arrow, a bigger flag, the name blue on hover */
.ac-select.qd-country { padding-left: 24px; cursor: pointer; }
.qd-country .ac-flag-btn { padding: 0; }
.qd-country .ac-flag-btn, .qd-country .ac-flag-btn:hover, .qd-country .ac-flag-btn[aria-expanded="true"] { background: none; }
.qd-country .ac-caret { display: none; }
.qd-country .ac-flag-btn .ac-flag { width: 35px; height: 24px; }
.qd-country:hover .ac-select-text { color: var(--blue); }
.ac-select.qd-country > .ac-countries { top: 100%; bottom: auto; left: -1px; width: calc(100% + 2px); max-width: none; border-color: #D6D6D6; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18); }
.qd-country .ac-countries:focus { outline: none; }
.qd-country .ac-countries li[aria-selected="true"] { font-weight: 400; }
.qd-country .ac-countries li { gap: 12px; padding: 10px 14px; font-size: 18px; line-height: 22px; }
.qd-country .ac-countries .ac-flag { width: 28px; height: 19px; }
/* errors */
.qd-check.is-invalid span { color: #C30000; }
.is-invalid .qt-label { color: #C30000; }
.is-invalid .qd-input, .is-invalid .ac-select { border-color: #C30000; }
/* the tick, its paragraphs and the notes */
.ac-check.qd-check { margin-top: 30px; font-size: 14.5px; }
.qd-check input { width: 23px; height: 23px; border-radius: 0; }
.qd-check input:not(:checked) { border-color: #C8C8C8; }
/* ticked: black with a thin white tick, fading in and out (the tick is white on white until then) */
.qd-check input { background: var(--white) url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='m3 8.4 3.3 3.3 6.7-7.4' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 17px 17px no-repeat; transition: background-color 0.2s ease, border-color 0.2s ease; }
.qd-check input:checked { background: #000 url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='m3 8.4 3.3 3.3 6.7-7.4' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 17px 17px no-repeat; }
.qv-box p.qd-consent { margin-top: 30px; font-size: 14px; line-height: 18px; }
.qv-box p.qd-consent + p.qd-consent { margin-top: 14px; }
.qd-consent b { font-weight: 700; }
.qv-box p.qd-note { margin-top: 36px; font-size: 11px; line-height: 14px; }
.qv-box p.qd-note--ref { margin-top: 14px; }
.qd-note sup { font-size: 8px; vertical-align: 3px; line-height: 0; }
.qd-note a { color: var(--blue); text-decoration: underline; }
.qd-form .qv-next { margin-top: 42px; }
.qv-box.qd-form { padding-bottom: 138px; }
.qd-form .qv-back { margin-top: 40px; font-size: 20px; }
/* Pagamento de Quotas with a recurring card (quotas-cartao.html), as Benfica's: the title and "Meio de pagamento",
   then the payment provider's own form (its font and greys, not the page's): the rounded box for the kept details
   and, under it, the card's fields */
.qv-box p.qc-label { margin: 42px 0 0; font-size: 14.2px; line-height: 18px; }
.qc-pay { margin-top: 47px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif; color: #30313D; }
/* the kept details: the e-mail and its cross over a line, the code in the middle, the provider's mark under a line */
.qc-link { height: 380px; padding: 0 16px; border: 1px solid #E6E6E6; border-radius: 20px; }
.qc-link[hidden] { display: none; }
.qc-link-top { display: flex; align-items: center; justify-content: space-between; height: 54px; border-bottom: 1px solid #E6E6E6; }
.qc-link-email { overflow: hidden; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.qc-link-close { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-left: 12px; padding: 0; border: none; border-radius: 50%; background: #F5F5F5; color: #1A1B25; cursor: pointer; transition: background 0.15s ease; }
.qc-link-close:hover { background: #E3E3E3; }
.qc-link-close svg { width: 9px; height: 9px; }
.qc-link-body { display: flex; flex-direction: column; align-items: center; height: 280px; padding-top: 46px; text-align: center; }
.qv-box .qc-link-body p.qc-link-title { font-size: 16px; font-weight: 600; line-height: 22px; color: #1A1B25; }
.qv-box .qc-link-body p.qc-link-sub { margin-top: 5px; font-size: 14px; line-height: 20px; color: #6D6E78; }
.qc-code { display: flex; gap: 6px; margin: 20px 0 24px; }
.qc-code input { width: 36px; height: 42px; padding: 0; border: 1px solid transparent; border-radius: 6px; background: #F5F5F5; font-family: inherit; font-size: 18px; font-weight: 600; text-align: center; color: #1A1B25; outline: none; transition: border-color 0.15s ease, background 0.15s ease; }
.qc-code input:focus { border-color: #1A1B25; background: var(--white); }
.qc-link-action { padding: 0; border: none; background: none; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 20px; color: #01693C; cursor: pointer; }
.qc-link-action + .qc-link-action { margin-top: 9px; }
.qc-link-action:hover { text-decoration: underline; }
.qc-link-foot { display: flex; align-items: center; height: 44px; border-top: 1px solid #E6E6E6; }
.qc-link-logo { width: 49px; height: 18px; }
/* signed in: a shorter box, nearer the title; the mark, a thin bar and the e-mail, with the dots (and their small
   menu) at the end; the kept card on a grey strip; its code to confirm in a box that darkens when typed in */
.qc-pay.is-signed { margin-top: 31px; }
.qc-pay.is-signed :is(.qc-row, .qc-field--country) { display: none; }
.qc-saved { padding: 0 12px 13px 13px; border: 1px solid #E6E6E6; border-radius: 20px; }
.qc-saved[hidden] { display: none; }
.qc-saved-top { display: flex; align-items: center; height: 45px; padding-top: 3px; }
.qc-saved-top .qc-link-logo { flex-shrink: 0; width: 43px; height: 16px; }
.qc-saved-email { flex: 1; min-width: 0; margin-left: 8px; padding-left: 9px; overflow: hidden; border-left: 1px solid #E6E6E6; font-size: 14px; line-height: 15px; white-space: nowrap; text-overflow: ellipsis; }
.qc-saved-more { position: relative; }
.qc-saved-more .qc-link-close svg { width: 11px; height: 4px; }
.qc-saved-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 5; padding: 3px; border-radius: 12px; background: var(--white); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 3px 10px rgba(0, 0, 0, 0.09); }
.qc-saved-menu[hidden] { display: none; }
.qc-saved-menu button { display: block; padding: 5px 13px; border: none; border-radius: 9px; background: none; font-family: inherit; font-size: 16px; text-align: left; white-space: nowrap; color: #30313D; cursor: pointer; }
.qc-saved-menu button:hover { background: #F1F1F1; }
.qc-saved-card { display: flex; align-items: center; height: 63px; padding: 0 20px 0 16px; border-radius: 8px; background: #F5F5F5; }
.qc-saved-brand { flex-shrink: 0; width: 36px; height: 24px; }
.qv-box .qc-saved-card p { flex: 1; min-width: 0; margin-left: 16px; }
.qc-saved-name, .qc-saved-last { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.qc-saved-name { font-size: 16px; line-height: 21px; color: #1A1B25; }
.qc-saved-last { font-size: 14px; line-height: 19px; color: #6D6E78; }
.qc-saved-arrow { flex-shrink: 0; width: 5px; height: 9px; color: #30313D; }
.qc-confirm { position: relative; height: 54px; margin-top: 10px; padding: 8px 48px 0 14px; border: 1px solid #E6E6E6; border-radius: 6px; background: var(--white); cursor: text; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.qc-confirm:focus-within { border-color: #1A1B25; box-shadow: inset 0 0 0 1px #1A1B25; }
.qc-field.qc-confirm label { margin: 0; font-size: 12px; line-height: 16px; color: #6D6E78; cursor: text; transform-origin: left top; transition: transform 0.15s ease, font-size 0.15s ease; }
.qc-confirm input { display: block; width: 100%; height: 26px; padding: 0; border: none; background: none; font-family: inherit; font-size: 16px; color: #30313D; outline: none; }
.qc-confirm input::placeholder { color: #757680; opacity: 1; }
/* clicked away: grey as the kept card's strip, with no outline; still empty, its title grows into the middle of it */
.qc-confirm:not(:focus-within) { border-color: #F5F5F5; background: #F5F5F5; }
.qc-field.qc-confirm:not(:focus-within):has(input:placeholder-shown) label { font-size: 16px; transform: translateY(10px); }
.qc-confirm:not(:focus-within) input::placeholder { color: transparent; }
.qc-confirm-icon { position: absolute; top: 19px; right: 13px; width: 21px; height: 14px; pointer-events: none; }
.qc-field.qc-confirm.is-invalid { border-color: #DF1B41; box-shadow: none; }
.qc-field.qc-confirm.is-invalid input { color: #DF1B41; }
.qv-box .qc-pay.is-signed p.qc-terms { margin-top: 14px; }
/* its code confirmed in the popup: no box for it, its room left empty under the text so the button stays put */
.qc-pay.is-confirmed .qc-confirm { display: none; }
.qv-box .qc-pay.is-confirmed p.qc-terms { padding-bottom: 64px; }
/* without the box: a green padlock and a blue line with a small arrow, which brings it back */
.qc-relink { display: flex; align-items: center; height: 20px; padding: 0 0 0 2px; border: none; background: none; font-family: inherit; font-size: 14.88px; font-weight: 600; line-height: 20px; color: #0570DE; cursor: pointer; }
.qc-relink[hidden] { display: none; }
.qc-relink:hover { color: #0358AE; }
.qc-relink-lock { width: 13px; height: 16px; margin: -2px 10px 0 0; }
.qc-relink-arrow { width: 12px; height: 7px; margin: 2px 0 0 9px; }
/* that line clicked: the offer in a box with square-ish corners: the padlock and the title (now dark) with a small
   cross, two lines of text, an e-mail to type between two lines, and the mark in grey */
.qc-promo { border: 1px solid #E6E6E6; border-radius: 5px; }
.qc-promo[hidden] { display: none; }
.qc-promo-top { position: relative; padding: 13px 60px 11px 13px; }
.qv-box p.qc-promo-title { display: flex; align-items: center; font-size: 14.88px; font-weight: 600; line-height: 20px; color: #30313D; }
.qc-promo-title .qc-relink-lock { margin-right: 10px; }
.qv-box p.qc-promo-text { margin-top: 6px; font-size: 14px; line-height: 20px; color: #30313D; }
.qc-promo-close { position: absolute; top: 9px; right: 6px; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; padding: 0; border: none; background: none; color: #6D6E78; cursor: pointer; }
.qc-promo-close:hover { color: #1A1B25; }
.qc-promo-close svg { width: 10px; height: 10px; }
.qc-promo-email { padding: 14px 13px 13px; border-top: 1px solid #EFEFEF; border-bottom: 1px solid #EFEFEF; }
.qc-promo-email label { display: block; margin-bottom: 4px; font-size: 14.88px; line-height: 17px; color: #30313D; }
.qc-promo-foot { display: flex; align-items: center; height: 38px; padding-left: 13px; }
.qc-promo-foot .qc-link-logo { width: 43px; height: 16px; }
/* the popup of the kept card: white with big round corners, in the middle over the darkened page (in the page's
   own font): the mark and two round buttons; the card in an outlined box; its code in a box that darkens when typed
   in, with a red warning and line when it's missing; a black button and a link */
.qc-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-start; justify-content: center; padding: 176px 16px 16px; overflow-y: auto; background: rgba(0, 0, 0, 0.5); font-family: "Roboto", var(--font-body); color: #1A1B25; animation: qc-modal-in 0.2s ease; }
.qc-modal[hidden] { display: none; }
@keyframes qc-modal-in { from { opacity: 0; } }
.qc-modal-box { width: 360px; max-width: 100%; padding: 16px 16px 18px; border-radius: 22px; background: var(--white); animation: qc-modal-up 0.2s ease; }
@keyframes qc-modal-up { from { transform: translateY(10px); } }
.qc-modal-top { display: flex; align-items: center; gap: 7px; height: 29px; }
.qc-modal-logo { width: 61px; height: 22px; margin-right: auto; }
/* the kept card picked in the second layout: an arrow back on the left, the title in the middle, the dots and the
   cross; no mark and no "Alterar forma de pagamento" */
.qc-modal-round.qc-modal-back, .qc-modal-box p.qc-modal-title { display: none; }
.qc-modal-box.is-edit .qc-modal-round.qc-modal-back { display: flex; margin-right: auto; }
.qc-modal-round.qc-modal-back svg { width: 6px; height: 10px; margin-right: 1px; }
.qc-modal-box.is-edit .qc-modal-top { position: relative; }
.qc-modal-box.is-edit p.qc-modal-title { position: absolute; top: 50%; right: 0; left: 0; display: block; margin: 0; font-size: 17px; font-weight: 500; line-height: 20px; text-align: center; transform: translateY(-50%); pointer-events: none; }
.qc-modal-box.is-edit :is(.qc-modal-logo, .qc-modal-other) { display: none; }
.qc-modal-top .qc-saved-menu { padding: 3px; }
.qc-modal-top .qc-saved-menu button { display: flex; align-items: flex-start; gap: 10px; width: 100%; min-width: 0; padding: 5px 11px 5px 8px; line-height: 20px; text-align: left; }
.qc-modal-top .qc-saved-menu button svg { flex-shrink: 0; width: 17px; height: 17px; margin-top: 1px; }
.qc-menu-text small { display: block; margin-top: 1px; font-size: 13px; line-height: 17px; color: #6D6E78; }
.qc-menu-text small:empty { display: none; }
.qc-modal-round { display: flex; align-items: center; justify-content: center; width: 29px; height: 29px; padding: 0; border: none; border-radius: 50%; background: #F5F5F5; color: #1A1B25; cursor: pointer; transition: background 0.15s ease; }
.qc-modal-round:hover { background: #E9E9E9; }
.qc-modal-round svg { width: 10px; height: 10px; }
.qc-modal-round[data-qc-modal-more] svg { width: 12px; height: 4px; }
.qc-modal-card { display: flex; align-items: center; height: 71px; margin-top: 16px; padding: 0 17px; border: 1px solid #E6E6E6; border-radius: 11px; }
.qc-modal-card p { min-width: 0; margin: 0 0 0 16px; }
.qc-modal-name, .qc-modal-last { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.qc-modal-name { font-size: 15px; line-height: 20px; }
.qc-modal-last { font-size: 13px; line-height: 19px; color: #6D6E78; }
.qc-modal-cvc { position: relative; height: 51px; margin-top: 13px; padding: 7px 44px 0 14px; border: 1px solid #E6E6E6; border-radius: 10px; cursor: text; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.qc-modal-cvc:focus-within { border-color: #1A1B25; box-shadow: inset 0 0 0 1px #1A1B25; }
.qc-modal-cvc label { display: block; font-size: 12px; line-height: 15px; color: #6D6E78; cursor: text; transition: transform 0.15s ease, font-size 0.15s ease; }
/* clicked away: grey; still empty, its title grows into the middle of it */
.qc-modal-cvc:not(:focus-within) { background: #F5F5F5; }
.qc-modal-cvc:not(:focus-within):not(.is-invalid) { border-color: #F5F5F5; }
.qc-modal-cvc:not(:focus-within):has(input:placeholder-shown) label { font-size: 15px; transform: translateY(10px); }
.qc-modal-cvc:not(:focus-within) input::placeholder { color: transparent; }
.qc-modal-cvc input { display: block; width: 100%; height: 22px; padding: 0; border: none; background: none; font-family: inherit; font-size: 15px; color: #1A1B25; outline: none; }
.qc-modal-cvc input::placeholder { color: #757680; opacity: 1; }
.qc-modal-alert { position: absolute; top: 50%; right: 17px; display: none; width: 16px; height: 16px; color: #DF1B41; transform: translateY(-50%); }
.qc-modal-cvc.is-invalid .qc-modal-alert { display: block; }
.qc-modal-cvc.is-invalid { border-color: #DF1B41; box-shadow: none; }
.qc-modal-error { margin: 7px 0 0 1px; font-size: 13px; line-height: 16px; color: #DF1B41; }
.qc-modal-error[hidden] { display: none; }
.qc-modal-update { display: block; width: 100%; height: 47px; margin-top: 40px; border: none; border-radius: 11px; background: #171717; font-family: inherit; font-size: 15px; font-weight: 500; color: #CFCFCF; cursor: pointer; transition: background 0.15s ease, color 0.15s ease; }
.qc-modal-error:not([hidden]) + .qc-modal-update { margin-top: 17px; }
/* (dim while the code isn't 3 digits, the whole of it lighter when hovered; bright, and staying so, once it is) */
.qc-modal-update:hover { background: #4A4A4A; }
.qc-modal-update.is-ready, .qc-modal-update.is-ready:hover { background: #171717; color: var(--white); }
.qc-modal-other { display: block; margin: 22px auto 0; padding: 0; border: none; background: none; font-family: inherit; font-size: 15px; font-weight: 500; line-height: 20px; color: #1A1B25; cursor: pointer; }
/* its third layout, a new card: boxes as the code's (grey with a big title until typed in), the number's with its
   brand at the end, the expiry and the code side by side, the country's with a small arrow; and the button */
.qc-modal-cvc.qc-add-field { margin-top: 8px; }
[data-qc-modal-view="add"] > .qc-add-field:first-child { margin-top: 16px; }
.qc-add-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qc-add-brand { position: absolute; top: 50%; right: 16px; display: flex; transform: translateY(-50%); pointer-events: none; }
.qc-add-brand svg { width: 24px; height: 16px; animation: qc-brand-in 0.35s ease; }
@keyframes qc-brand-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .qc-add-brand svg { animation: none; } }
.qc-modal-cvc.qc-add-field:not(:focus-within) .qc-add-brand { display: none; }
.qc-modal-cvc.qc-add-field:not(:focus-within):has(input:not(:placeholder-shown)) .qc-add-brand { display: flex; }
.qc-modal-cvc select { display: block; width: 100%; height: 22px; padding: 0; border: none; background: none; font-family: inherit; font-size: 15px; color: #1A1B25; outline: none; appearance: none; cursor: pointer; }
.qc-add-arrow { position: absolute; top: 50%; right: 19px; width: 12px; height: 7px; color: #1A1B25; transform: translateY(-50%); pointer-events: none; }
[data-qc-modal-view="add"] .qc-modal-update { margin-top: 17px; }
/* its second layout: two small grey titles, each over a grey strip with an arrow at its end: the kept card (with
   the red warning, its code still missing) and a new card (its icon on a darker square) */
.qc-modal-box:has([data-qc-modal-view="pick"]:not([hidden])) { padding-bottom: 17px; }
.qc-modal [hidden] { display: none; }
.qc-modal-box p.qc-pick-title { margin: 21px 0 12px 16px; font-size: 15px; line-height: 20px; color: #50515C; }
.qc-modal-box p.qc-pick-title:first-child { margin-top: 23px; }
.qc-pick { display: flex; align-items: center; width: 100%; height: 59px; padding: 0 20px 0 16px; border: none; border-radius: 11px; background: #F5F5F5; font-family: inherit; font-size: 15px; text-align: left; color: #1A1B25; cursor: pointer; transition: background 0.15s ease; }
.qc-pick:hover { background: #EDEDED; }
.qc-pick-text { flex: 1; min-width: 0; margin-left: 16px; }
.qc-pick-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 7px; background: #E6E6E6; }
.qc-pick-icon svg { width: 16px; height: 13px; }
.qc-pick-icon + .qc-pick-text { margin-left: 12px; }
.qc-pick-alert { flex-shrink: 0; width: 16px; height: 16px; margin-right: 18px; color: #DF1B41; }
.qc-pick-arrow { flex-shrink: 0; width: 5px; height: 9px; color: #30313D; }
@media (max-width: 900px) { .qc-modal { padding-top: 90px; } }
@media (prefers-reduced-motion: reduce) { .qc-modal, .qc-modal-box { animation: none; } }
/* the card's fields: a label over a light rounded box; the number takes half the row, the date and the code the rest */
.qc-row { display: grid; grid-template-columns: 429fr 207fr 208fr; gap: 13px; margin-top: 17px; }
.qc-link[hidden] + .qc-row { margin-top: 0; }
.qc-field label { display: block; margin-bottom: 4px; font-size: 14.88px; line-height: 17px; color: #30313D; transition: color 0.15s ease; }
.qc-box { position: relative; }
.qc-input { display: block; width: 100%; height: 43px; padding: 0 12px; border: 1px solid #E6E6E6; border-radius: 5px; background: var(--white); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.03), 0 3px 6px rgba(0, 0, 0, 0.02); font-family: inherit; font-size: 16px; color: #30313D; outline: none; transition: border-color 0.15s ease; }
.qc-input::placeholder { color: #757680; opacity: 1; }
.qc-input:focus { outline: 2px solid #242424; outline-offset: 2px; }
#qcNumber { padding-right: 116px; }
#qcCvc { padding-right: 48px; }
.qc-brands { position: absolute; top: 50%; right: 11px; display: flex; gap: 3px; transform: translateY(-50%); pointer-events: none; }
.qc-brands svg { width: 32px; height: 21px; }
.qc-brands svg[hidden] { display: none; }
.qc-brands svg.is-in { animation: qc-brand-zoom 0.3s cubic-bezier(0.22, 0.61, 0.36, 1); }
@keyframes qc-brand-zoom { from { opacity: 0; transform: scale(0.5); } }
@media (prefers-reduced-motion: reduce) { .qc-brands svg.is-in { animation: none; } }
.qc-cvc-icon { position: absolute; top: 50%; right: 12px; width: 26px; height: 18px; color: #6D6E78; transform: translateY(-50%); pointer-events: none; }
.qc-field--country { margin-top: 13px; }
.qc-field--country label { margin-bottom: 5px; }
.qc-select { padding-right: 44px; appearance: none; cursor: pointer; }
.qc-select-arrow { position: absolute; top: 50%; right: 13px; width: 12px; height: 7px; color: #30313D; transform: translateY(-50%); pointer-events: none; }
/* a field that's wrong: its box and its title red, until it's changed */
.qc-field.is-invalid label { color: #DF1B41; }
.qc-field.is-invalid .qc-input { border-color: #DF1B41; color: #DF1B41; }
/* (the card's number says what's wrong, in red under its box) */
.qv-box p.qc-error { margin-top: 4px; font-size: 14.88px; line-height: 17px; color: #DF1B41; }
.qv-box p.qc-error[hidden] { display: none; }
.qv-box p.qc-terms { margin-top: 20px; font-size: 14.88px; line-height: 21px; color: #6D6E78; }
.qc-form .qv-next { margin-top: 20px; font-weight: 500; }
.qv-box.qc-form { padding-bottom: 138px; }
.qc-form .qv-back { margin-top: 58px; font-size: 20px; }
@media (max-width: 900px) {
  .qc-row { grid-template-columns: 1fr 1fr; }
  .qc-row .qc-field:first-child { grid-column: 1 / -1; }
  .qc-link { height: auto; }
  .qc-link-body { height: auto; padding: 36px 0 34px; }
  .qc-code input { width: 34px; }
  .qv-box.qc-form { padding-bottom: 70px; }
}
/* Pagamento de Quotas with a single payment by card (quotas-cartao-unico.html), as Benfica's: "Adicionar cartão +",
   then boxes with a thin dark outline and big light placeholders: the number (half the width, a small card at its
   start and the provider's dark button at its end), the expiry and the code side by side, a tick and a small note */
.qv-box h2.qu-add { display: flex; align-items: center; gap: 10px; margin: 29px 0 0; font-family: inherit; font-size: 18.5px; font-weight: 500; line-height: 24px; letter-spacing: normal; text-transform: none; color: #242424; }
.qu-add span { font-size: 20px; }
.qu-field { width: 207px; }
.qu-field--number { width: 498px; max-width: 100%; margin-top: 16px; }
.qu-field .qt-label { margin-bottom: 4px; }
.qu-box { position: relative; display: flex; align-items: center; height: 42px; padding: 0 20px; border: 1px solid #707070; background: var(--white); cursor: text; }
.qu-box:focus-within { outline: 2px solid #000; outline-offset: 2px; }
.qu-input { flex: 1; min-width: 0; height: 100%; padding: 0; border: none; background: none; font-family: inherit; font-size: 24px; color: #242424; outline: none; }
.qu-input::placeholder { color: #CFD7DF; opacity: 1; }
.qu-card { flex-shrink: 0; display: flex; margin-right: 13px; }
.qu-card svg { width: 36px; height: 24px; }
.qu-card svg.is-in { animation: qc-brand-zoom 0.3s cubic-bezier(0.22, 0.61, 0.36, 1); }
.qu-link { flex-shrink: 0; display: flex; align-items: center; gap: 6px; height: 29px; margin-left: 10px; padding: 0 9px; border: none; border-radius: 6px; background: #011E0F; font-family: inherit; cursor: pointer; transition: background 0.15s ease; }
.qu-link:hover { background: #0B3320; }
.qu-link-text { font-size: 13px; font-weight: 500; color: var(--white); }
.qu-link :is(.qu-link-text, .qu-link-card, .qu-link-dots)[hidden] { display: none; }
.qu-link-card { display: flex; }
.qu-link-card svg { width: 24px; height: 24px; }
/* a card from the provider in the boxes: they're grey and can't be typed in, with a small cross after its button */
.qu-form.is-linked .qu-box { background: #F5F5F5; cursor: default; }
.qu-form.is-linked .qu-input { color: #555; cursor: default; }
.qu-unlink { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin: 0 -8px 0 8px; padding: 0; border: none; border-radius: 50%; background: none; color: #555; cursor: pointer; }
.qu-unlink:hover { background: #E3E3E3; color: #000; }
.qu-unlink[hidden] { display: none; }
.qu-unlink svg { width: 10px; height: 10px; }
.qu-link[hidden] { display: none; }
.qu-link-mark { width: 14px; height: 14px; }
.qu-link-dots { width: 22px; height: 4px; margin-left: 2px; }
.qu-row { display: flex; gap: 10px; margin-top: 14px; }
.qu-field.is-invalid .qu-box { border-color: #C30000; }
.qu-field.is-invalid .qu-input { color: #C30000; }
.qu-field.is-wrong .qu-input { color: #EB1C26; }
.qv-box .ac-check.qu-check { gap: 14px; margin-top: 10px; }
.ac-check.qu-check span { font-size: 14.5px; }
.qv-box p.qu-note { margin-top: 10px; font-size: 11px; line-height: 15px; }
.qv-box.qu-form { padding-bottom: 138px; }
.qu-form .qv-back { margin-top: 58px; font-size: 20px; }
@media (max-width: 900px) {
  .qu-row { flex-wrap: wrap; }
  .qu-row .qu-field { flex: 1; width: auto; min-width: 130px; }
  .qu-input { font-size: 20px; }
  .qv-box.qu-form { padding-bottom: 70px; }
}
@media (prefers-reduced-motion: reduce) { .qu-card svg.is-in { animation: none; } }
/* Pagamento de Quotas, the billing details (quotas-faturacao.html), as Benfica's: boxes as the payment options', each
   a name over its lines (the one picked outlined in blue), then "Adicionar dados de faturação +" and Finalizar */
.qv-box.qf-box { padding-bottom: 138px; }
.qf-options { gap: 12px; }
.qv-option.qf-option { flex-direction: column; align-items: flex-start; padding: 20px 26px; }
.qf-option[hidden] { display: none; }
.qf-name { margin-bottom: 7px; font-size: 18px; line-height: 22px; }
.qf-line { font-size: 14px; line-height: 18px; }
.qf-line[hidden] { display: none; }
.qv-box button.qf-add { display: flex; align-items: center; gap: 10px; margin: 20px 0 0; padding: 0; border: none; background: none; font-family: inherit; font-size: 18.5px; font-weight: 500; line-height: 24px; color: #242424; cursor: pointer; transition: color 0.2s ease; }
.qf-add span { font-size: 20px; }
.qv-box button.qf-add:hover { color: var(--blue); }
.qf-box .qv-next { margin-top: 41px; }
.qf-box .qv-next:disabled { background: #B5B5B5; cursor: default; }
/* the new billing details: open under "Adicionar dados de faturação -", smoothly; the name across, the phone and the
   e-mail side by side, the NIF on half the width with its note, the tick and the small note */
.qf-new { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s cubic-bezier(0.22, 0.61, 0.36, 1); }
.qf-new.is-open { grid-template-rows: 1fr; }
.qf-new-inner { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; align-content: start; min-height: 0; overflow: hidden; padding: 0 3px; margin: 0 -3px; }
.qf-new.is-open .qf-new-inner { overflow: visible; transition: overflow 0s 0.35s; }
.qf-field { margin-top: 18px; }
.qf-field--wide { grid-column: 1 / -1; margin-top: 21px; }
.qf-field .qt-label { margin-bottom: 4px; }
.qf-field .qd-input::placeholder { color: #8A8A8A; opacity: 1; }
.qv-box p.qf-nif-note { grid-column: 1 / -1; margin-top: 13px; font-size: 11.5px; line-height: 14px; }
.qv-box .qf-keep { grid-column: 1 / -1; margin-top: 37px; }
.ac-check.qf-keep span { font-size: 14.5px; }
.qv-box p.qf-required { grid-column: 1 / -1; margin-top: 39px; font-size: 11px; line-height: 14px; }
@media (max-width: 700px) { .qf-new-inner { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .qf-new { transition: none; } }
/* The confirmation (obrigado.html), as Benfica's: "Obrigado", the two lines on what was paid, and Voltar ao Site on the
   right */
.qv-box.qo-box { padding-bottom: 134px; }
.qv-box p.qo-text { margin-top: 43px; font-size: 18px; line-height: 24px; }
.qo-text b { font-weight: 700; }
.qo-box .qo-home { display: flex; align-items: center; justify-content: center; margin-top: 49px; text-decoration: none; }
/* Adesão ao Débito Direto, step 1 (debito-direto-adesao.html), as Benfica's: the four steps across the page under the
   breadcrumb, then an 870px column: a small title, the grey strip with the reminder, the two numbers with an asterisk
   after each, a line and Continuar on the right; a tall white gap before the promises band */
.nh-header .nh-nav a { margin-right: 26px; }
.nh-header .nh-nav a.is-current { color: var(--blue); }
.dda-breadcrumb .container { padding: 20px 20px 19px 50px; }
.dda-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 35px 0 60px; border-bottom: 1px solid #DDD; list-style: none; font-family: "Roboto Condensed", var(--font-body); }
.dda-steps li { display: flex; align-items: flex-start; justify-content: center; gap: 10px; }
.dda-step-num { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border: 1px solid #DDD; border-radius: 50%; font-size: 32px; font-weight: 300; line-height: 50px; color: #242424; }
.dda-step-name { margin-top: 9px; font-family: "Roboto", var(--font-body); font-size: 30px; font-weight: 300; line-height: 30px; text-transform: uppercase; color: #DDD; white-space: nowrap; }
.dda-steps li.is-current .dda-step-name { color: #242424; }
.dda-form { width: 870px; max-width: calc(100% - 32px); margin: 56px auto 400px; font-family: "Roboto Condensed", var(--font-body); color: #242424; }
.dda-page p.dda-legend { margin: 0; padding: 7px 0; font-size: 16px; line-height: 22.86px; text-transform: uppercase; }
.dda-legend small { font-size: 14px; line-height: 1; text-transform: none; }
.dda-banner { display: flex; align-items: center; justify-content: center; height: 47px; padding: 0 20px; border-top: 1px solid #E6E6E6; border-bottom: 1px solid #DDD; background: #F4F4F4; font-size: 14px; line-height: 16.8px; text-align: center; text-transform: uppercase; text-decoration: underline; color: #242424; transition: color 0.2s ease; }
.dda-banner:hover { color: var(--blue); }
.dda-row { display: grid; grid-template-columns: 1fr 1fr; padding-top: 50px; }
.dda-field { position: relative; }
.dda-field:first-child { padding-right: 12px; }
.dda-field:last-child { padding-left: 12px; }
.dda-field::after { content: "*"; position: absolute; top: 0; right: -14px; font-size: 24px; line-height: 28px; }
.dda-field:first-child::after { right: -2px; }
.dda-input { display: block; width: 100%; height: 55px; padding: 0 24px; border: 1px solid #242424; border-radius: 0; background: var(--white); font-family: inherit; font-size: 24px; color: #000; outline: none; }
.dda-input::placeholder { color: #707070; opacity: 1; }
.dda-input:focus { outline: none; }
.dda-field.is-invalid .dda-input { border-color: #C30000; }
.dda-field.is-invalid::after { color: #C30000; }
.dda-actions { display: flex; justify-content: flex-end; margin-top: 40px; padding: 20px 0 40px; border-top: 1px solid #DDD; }
.dda-btn { position: relative; z-index: 0; width: 222px; height: 40px; overflow: hidden; padding: 0; border: 1px solid #242424; background: #242424; font-family: inherit; font-size: 14px; text-transform: uppercase; color: var(--white); cursor: pointer; transition: color 0.25s ease-in-out, border-color 0.25s ease-in-out; }
.dda-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform 0.25s ease-in-out; }
.dda-btn:hover { border-color: var(--blue); color: var(--yellow); }
.dda-btn:hover::before { transform: scaleY(1); }
@media (max-width: 1100px) {
  .dda-step-name { font-size: 20px; line-height: 22px; margin-top: 13px; }
  .dda-step-num { width: 40px; height: 40px; font-size: 24px; line-height: 40px; }
}
@media (max-width: 700px) {
  .dda-steps { padding: 20px 8px 24px; }
  .dda-step-name { display: none; }
  .dda-steps li.is-current .dda-step-name { display: block; font-size: 18px; }
  .dda-row { grid-template-columns: 1fr; row-gap: 16px; }
  .dda-field:first-child, .dda-field:last-child { padding: 0 14px 0 0; }
  .dda-field::after, .dda-field:first-child::after { right: 0; }
  .dda-form { margin-bottom: 80px; }
  .dda-btn { width: 100%; }
}
/* Adesão ao Débito Direto, step 2 (debito-direto-dados-pessoais.html), as Benfica's: step 1 done (a tick in its
   circle, its name dark), "Dados de pagamento" over a line, the boxes two by two (the IBAN and the address across), the
   a line, Anterior on the left and Continuar on the right */
.dda-step-link { display: flex; align-items: flex-start; gap: 10px; color: inherit; text-decoration: none; }
.dda-steps li.is-done .dda-step-name { color: #242424; }
.dda-steps li.is-done .dda-step-num { border-color: #242424; color: var(--blue); }
.dda-steps li.is-done .dda-step-num svg { width: 34px; height: 34px; }
.dda-step-link:hover .dda-step-num { border-color: var(--blue); }
.dda-form.ddp-form { margin-top: 46px; margin-bottom: 50px; }
.dda-page p.ddp-legend { padding-bottom: 8px; border-bottom: 1px solid #DDD; }
.ddp-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 21px; padding-top: 49px; }
.ddp-grid .dda-field { padding: 0; }
.ddp-grid .dda-field::after { right: auto; left: calc(100% + 5px); }
.ddp-wide { grid-column: 1 / -1; }
.ddp-grid .ddp-gap { margin-top: 20px; }
.ddp-grid .ddp-address { margin-top: 5px; }
.ddp-grid .dda-input { text-transform: none; }
/* the dropdowns: a small arrow at the right */
.ddp-grid select.dda-input { appearance: none; padding-right: 50px; background: var(--white) url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='m2 2 4 4 4-4' fill='none' stroke='%23242424' stroke-width='1.3'/></svg>") no-repeat right 26px center / 12px 8px; cursor: pointer; }
.ddp-grid select.dda-input:invalid { color: #707070; }
/* Periodicidade: a button showing the choice (grey "Periodicidade" until one is made) with the small arrow, and its
   list just under it: no outline, only a shadow; big options, a grey block behind the one hovered */
.ddp-period { position: relative; }
.ddp-period-btn { padding-right: 50px; text-align: left; color: #707070; cursor: pointer; background: var(--white) url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='m2 2 4 4 4-4' fill='none' stroke='%23242424' stroke-width='1.3'/></svg>") no-repeat right 26px center / 12px 8px; }
.ddp-period-btn.is-chosen { color: #000; }
.ddp-period-list { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 30; margin: 0; padding: 0; border: none; background: var(--white); box-shadow: 0 6px 22px rgba(0, 0, 0, 0.16); list-style: none; max-height: 203px; overflow-y: auto; overscroll-behavior: contain; }
.ddp-period-list[hidden] { display: none; }
.ddp-period-list li { padding: 15px 24px; font-size: 24px; line-height: 28px; color: #242424; cursor: pointer; transition: background 0.15s ease; }
.ddp-period-list li:hover, .ddp-period-list li.is-active { background: #EFEFEF; }
.ddp-grid select.dda-input option { color: #242424; }
/* the phone: the flag and code on the grey strip at its left */
.ddp-tel .dda-input { padding-left: 121px; }
.ddp-tel .ac-tel-code { top: 1px; bottom: 1px; }
/* the postcode (4 and 3 digits, a dash between), the town and the country (its letters, the flag after them) */
.ddp-place { display: grid; grid-template-columns: 217px 1fr 217px; column-gap: 21px; margin-top: -1px; }
.ddp-postcode { display: flex; align-items: center; }
.ddp-postcode .dda-input { padding: 0; text-align: center; }
.ddp-postcode .dda-input:first-child { width: 101px; }
.ddp-postcode .dda-input:last-of-type { width: 72px; }
.ddp-dash { width: 44px; font-size: 24px; text-align: center; }
.ddp-grid .ddp-country::after { content: none; }
.ddp-country .dda-input { padding-left: 66px; }
.ddp-country-list { max-height: 216px; }
.ddp-country-list li { display: flex; align-items: center; gap: 18px; padding: 13px 24px 13px 66px; }
.ddp-country-list img { width: 35px; height: 24px; object-fit: cover; }
.ddp-country-flag { position: absolute; top: 50%; left: 118px; width: 35px; height: 24px; object-fit: cover; transform: translateY(-50%); pointer-events: none; }
/* the buttons: Anterior outlined on the left, Continuar dark on the right */
.dda-actions.ddp-actions { justify-content: space-between; align-items: center; margin-top: 50px; padding-top: 20px; }
.ddp-back { position: relative; z-index: 0; display: flex; align-items: center; justify-content: center; width: 200px; height: 40px; overflow: hidden; border: 1px solid #242424; font-size: 14px; text-transform: uppercase; color: #242424; text-decoration: none; transition: color 0.25s ease-in-out, border-color 0.25s ease-in-out; }
.ddp-back::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform 0.25s ease-in-out; }
.ddp-back:hover { border-color: var(--blue); color: var(--yellow); }
.ddp-back:hover::before { transform: scaleY(1); }
@media (max-width: 700px) {
  .ddp-grid { grid-template-columns: 1fr; }
  .ddp-place { grid-template-columns: 1fr; row-gap: 21px; }
  .ddp-grid .dda-field::after { left: auto; right: -14px; }
  .ddp-back { width: 46%; }
  .dda-actions.ddp-actions .dda-btn { width: 46%; }
}
/* Adesão ao Débito Direto, steps 3 and 4 (debito-direto-verificacao.html, debito-direto-validacao.html), in the same
   shapes as steps 1 and 2: the SMS code in six square boxes with "Reenviar código" under them; then the tick in a
   circle with the title, and the details in a light box, two by two */
.dda-steps li.is-done > .dda-step-link { cursor: default; }
.ddv-form .ddp-legend, .ddz-box .ddp-legend { margin-bottom: 0; }
.dda-page p.ddv-text { margin: 40px 0 0; font-size: 18px; line-height: 24px; }
.ddv-text b { font-weight: 700; white-space: nowrap; }
.dda-field.ddv-code { display: flex; gap: 12px; width: fit-content; margin-top: 30px; }
.ddv-code .dda-input { width: 55px; padding: 0; text-align: center; font-size: 26px; }
.ddv-code.is-invalid .dda-input { border-color: #C30000; }
.dda-field.ddv-code::after { right: -14px; }
.dda-page p.ddv-error { margin: 10px 0 0; font-size: 14px; line-height: 17px; color: #C30000; }
.dda-page p.ddv-error[hidden] { display: none; }
.ddv-resend { display: block; margin-top: 20px; padding: 0; border: none; background: none; font-family: inherit; font-size: 14px; text-transform: uppercase; text-decoration: underline; color: #242424; cursor: pointer; transition: color 0.2s ease; }
.ddv-resend:hover:not(:disabled) { color: var(--blue); }
.ddv-resend:disabled { text-decoration: none; cursor: default; }
.ddv-form .ddp-actions { margin-top: 50px; }
.ddz-head { display: flex; align-items: center; gap: 24px; margin-top: 40px; }
.ddz-tick { flex-shrink: 0; width: 50px; height: 50px; color: var(--blue); }
.dda-page h1.ddz-title { margin: 0; font-family: "Roboto", var(--font-body); font-size: 24px; font-weight: 500; line-height: 29px; letter-spacing: normal; text-transform: none; color: #242424; }
.dda-page p.ddz-text { margin: 6px 0 0; font-size: 18px; line-height: 24px; }
.ddz-details { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px; margin: 40px 0 0; padding: 26px 30px; border: 1px solid #E6E6E6; }
.ddz-details div { min-width: 0; }
.ddz-details div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ddz-details dt { font-size: 14px; line-height: 17px; text-transform: uppercase; color: #707070; }
.ddz-details dd { margin: 3px 0 0; overflow-wrap: anywhere; font-size: 20px; line-height: 24px; color: #242424; }
.ddz-box .dda-actions { margin-top: 50px; }
.ddz-home { display: flex; align-items: center; justify-content: center; text-decoration: none; }
@media (max-width: 700px) {
  .ddv-code .dda-input { width: 44px; height: 50px; }
  .dda-field.ddv-code { gap: 8px; }
  .ddz-head { align-items: flex-start; }
  .ddz-details { grid-template-columns: 1fr; padding: 20px; }
}
/* Página em Manutenção (pagina-em-manutencao.html), as Benfica's: two columns of 5/12 a gap of 2.5% apart, the
   whistle in the middle of the left one and the text centred in height on the right; a light line under it */
.mt-section { display: flex; justify-content: center; padding: 10px 0 40px; font-family: "Roboto", var(--font-body); color: #242424; }
.mt-art { display: flex; align-items: center; justify-content: center; width: 41.6667%; height: 350px; }
/* (the 404 page's whistle, in black with its window and sound lines blue) */
.mt-whistle { display: block; width: 340px; }
.mt-text { display: flex; flex-direction: column; justify-content: center; width: 41.6667%; margin-left: 2.5%; }
.mt-text h1.mt-title { margin: 0 0 15px; font-family: inherit; font-size: 36px; font-weight: 700; line-height: 48px; letter-spacing: normal; text-transform: none; color: #242424; }
.mt-text p { margin: 0; font-size: 20px; line-height: 26px; }
/* the button: dark; hovered, blue slides up from the bottom and the text turns yellow */
.mt-btn { position: relative; z-index: 0; align-self: flex-start; display: inline-flex; align-items: center; height: 50px; margin-top: 37px; overflow: hidden; padding: 0 30px; border: 1px solid transparent; background: #242424; font-size: 18px; line-height: 18px; color: var(--white); text-decoration: none; transition: color 0.25s ease-in-out; }
.mt-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform 0.25s ease-in-out; }
.mt-btn:hover { color: var(--yellow); }
.mt-btn:hover::before { transform: scaleY(1); }
.mt-line { height: 0; margin: 20px 0; border: none; border-top: 1px solid #EEE; }
/* phones and small tablets: the whistle over the text */
@media (max-width: 900px) {
  .mt-section { flex-direction: column; align-items: center; padding: 10px 16px 40px; }
  .mt-art, .mt-text { width: 100%; margin-left: 0; }
  .mt-art { height: 260px; }
  .mt-text { align-items: flex-start; }
  .mt-text h1.mt-title { font-size: 30px; line-height: 38px; }
}
/* Saldos e Movimentos (movimentos.html), as Benfica's at full width: the title, the notifications and the grey box in
   a 1530px column, then the search and the table across the page (16px from each side) */
.sm-page { padding-top: 36px; font-family: "Roboto", var(--font-body); color: #242424; }
.sm-page h1.sm-title { margin: 0; font-family: "Roboto Condensed", var(--font-body); font-size: 32px; font-weight: 400; line-height: 38px; letter-spacing: normal; text-align: center; text-transform: uppercase; color: #242424; }
.sm-wrap { width: min(1530px, 80.5%); margin: 0 auto; }
.sm-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* the notifications: a small title on a line, the message, and Ver todas on the right */
.sm-notes { margin-top: 53px; }
.sm-page h2.sm-notes-title { margin: 0; padding-bottom: 4px; border-bottom: 1px solid #DDD; font-family: "Roboto Condensed", var(--font-body); font-size: 14px; font-weight: 400; line-height: 17px; letter-spacing: normal; text-transform: uppercase; color: #242424; }
.sm-notes-empty { margin: 5px 0 0; font-size: 14px; line-height: 17px; }
.sm-notes-all { display: flex; align-items: center; gap: 7px; width: fit-content; margin: 8px 14px 0 auto; font-size: 18px; font-weight: 500; line-height: 22px; color: #242424; text-decoration: none; transition: color 0.2s ease; }
.sm-notes-all svg { width: 6px; height: 10px; margin-top: 2px; }
.sm-notes-all:hover { color: var(--blue); }
/* Notificações (movimentos-notificacoes.html, Ver todas): Novas and Anteriores as the notifications above, the earlier
   ones greyer and closed by a line, then Voltar */
.smn-page { padding-top: 34px; }
.smn-wrap { padding: 43px 0 80px; }
.smn-group + .smn-group { margin-top: 40px; }
.smn-old { padding-bottom: 10px; border-bottom: 1px solid #DDD; }
.smn-page h2.sm-notes-title, .smn-page .sm-notes-empty { font-size: 14.5px; line-height: 18px; }
.smn-muted { color: #707070; }
.smn-back { display: flex; align-items: center; gap: 7px; width: fit-content; margin-top: 20px; font-size: 18px; font-weight: 500; line-height: 22px; color: #242424; text-decoration: none; transition: color 0.2s ease; }
.smn-back svg { width: 6px; height: 10px; }
.smn-back:hover { color: var(--blue); }
/* the grey box: the period on top (its arrows far apart), then the card, the sums and the family buttons */
.sm-box { margin-top: 37px; border: 1px solid #E6E6E6; background: #F9F9F9; }
.sm-period { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 83px; border-bottom: 1px solid #E2E2E2; }
.sm-period-name { margin: 0; font-family: "Roboto Condensed", var(--font-body); font-size: 24px; font-weight: 700; line-height: 29px; text-transform: uppercase; }
.sm-period-arrow { display: flex; align-items: center; justify-content: center; width: 34px; height: 43px; padding: 0; border: none; background: none; color: #8A8A8A; cursor: pointer; transition: color 0.2s ease; }
.sm-period-arrow:first-child { justify-self: end; margin-right: 210px; }
.sm-period-arrow:last-child { justify-self: start; margin-left: 210px; }
.sm-period-arrow svg { width: 12px; height: 24px; }
.sm-period-arrow:hover:not(:disabled) { color: #242424; }
.sm-period-arrow:disabled { color: #E2E2E2; cursor: default; }
.sm-body { display: grid; grid-template-columns: 234px 43px minmax(0, 541px) minmax(20px, 1fr) 182px; align-items: start; padding: 0 74px 0 137px; }
.sm-card.pf-card { grid-column: 1; width: 234px; margin-top: 42px; border-radius: 6px; }
.sm-sums { grid-column: 3; margin: 93px -40px 0 0; }
.sm-sum { display: flex; align-items: center; justify-content: space-between; height: 66px; font-family: "Roboto Condensed", var(--font-body); font-size: 24px; line-height: 29px; }
.sm-sum:first-child, .sm-earned { border-bottom: 1px solid #DCDCDC; }
/* Ganhaste opened: no line between it and its parts (the line goes under them) */
.sm-sum:first-child:has(.sm-sum-toggle[aria-expanded="true"]) { border-bottom-color: transparent; }
.sm-sum-toggle, .sm-sum-label { display: flex; align-items: center; gap: 13px; padding: 0; border: none; background: none; font: inherit; font-weight: 700; text-transform: uppercase; color: #242424; cursor: pointer; }
.sm-sum-label { cursor: default; }
.sm-sum-toggle svg { width: 19px; height: 10px; margin-top: 3px; transition: transform 0.8s ease, color 0.2s ease; }
.sm-sum-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sm-sum-toggle:hover svg { color: var(--blue); }
.sm-sum-value { font-weight: 400; }
.sm-sum-value--left { font-weight: 700; color: var(--blue); }
/* Ganhaste opened: its parts, smaller, under it */
.sm-earned { margin: -14px 0 0; padding: 0 0 12px; }
.sm-earned[hidden] { display: none; }
.sm-earned div { display: flex; justify-content: space-between; padding: 2px 0; font-family: "Roboto Condensed", var(--font-body); font-size: 13px; line-height: 17px; }
.sm-earned dd { margin: 0; }
/* the family: the note, the two greyed buttons (for Sócios Família only) and Criar Família */
.sm-family { grid-column: 5; display: flex; flex-direction: column; align-items: center; margin-top: 42px; }
.sm-family-note { max-width: 165px; margin: 0 0 20px; font-size: 16px; line-height: 27px; text-align: center; }
.sm-family-note b { font-weight: 600; }
.sm-family-btn { width: 160px; height: 48px; padding: 0; border: none; background: #ADADAD; font-family: "Roboto Condensed", var(--font-body); font-size: 19px; text-transform: uppercase; color: var(--white); cursor: default; }
.sm-family-btn + .sm-family-btn { margin-top: 11px; }
.sm-family-create { position: relative; z-index: 0; display: flex; align-items: center; justify-content: center; width: 154px; height: 48px; margin-top: 9px; overflow: hidden; background: #242424; font-size: 19px; color: var(--white); text-decoration: none; transition: color 0.25s ease-in-out; }
.sm-family-create::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform 0.25s ease-in-out; }
.sm-family-create:hover { color: var(--yellow); }
.sm-family-create:hover::before { transform: scaleY(1); }
/* the overdue quotas: the (!) and the line, Regularizar on the right */
.sm-fees { display: flex; align-items: center; margin: 107px 0 0 285px; padding-bottom: 64px; }
.sm-fees[hidden] { display: none; }
.sm-fees-icon { flex-shrink: 0; width: 26px; height: 26px; }
.sm-fees-text { width: 222px; margin: 0 0 0 11px; font-family: "Roboto Condensed", var(--font-body); font-size: 14px; line-height: 17px; text-transform: uppercase; }
.sm-fees-btn { position: relative; z-index: 0; display: flex; align-items: center; justify-content: center; width: 176px; height: 52px; overflow: hidden; border: 1px solid #242424; background: var(--white); font-family: "Roboto Condensed", var(--font-body); font-size: 17.5px; text-transform: uppercase; color: #242424; text-decoration: none; transition: color 0.25s ease-in-out, border-color 0.25s ease-in-out; }
.sm-fees-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform 0.25s ease-in-out; }
.sm-fees-btn:hover { border-color: var(--blue); color: var(--yellow); }
.sm-fees-btn:hover::before { transform: scaleY(1); }
/* the movements: across the page; the search and Filtros between two lines */
.sm-moves { margin: 43px 16px 0; }
.sm-tools { position: relative; display: flex; align-items: center; justify-content: space-between; height: 84px; border-top: 1px solid #E2E2E2; border-bottom: 1px solid #E2E2E2; }
.sm-search { display: flex; align-items: center; gap: 10px; margin-left: 0; padding: 17px 14px 17px 25px; border: 2px solid transparent; transition: border-color 0.2s ease; }
/* clicked into: an outline round the text and the magnifying glass */
.sm-search:focus-within { border-color: #242424; }
.sm-search input { width: 245px; padding: 0; border: none; outline: none; background: none; font-family: "Roboto Condensed", var(--font-body); font-size: 23px; color: #242424; }
.sm-search input::placeholder { color: #777; opacity: 1; }
.sm-search input::-webkit-search-cancel-button { display: none; }
.sm-search svg { flex-shrink: 0; width: 27px; height: 27px; color: #8A8A8A; }
.sm-filters { align-self: stretch; display: flex; }
/* Filtros: a cell at the end of the bar; opened, framed and blue, the bar's line still under it */
.sm-filters-btn { position: relative; z-index: 21; display: flex; align-items: center; gap: 11px; height: 100%; padding: 0 24px; border: none; border-left: 1px solid transparent; border-right: 1px solid transparent; background: var(--white); font-family: "Roboto Condensed", var(--font-body); font-size: 16.5px; text-transform: uppercase; color: #242424; cursor: pointer; transition: color 0.2s ease; }
.sm-filters-btn svg { width: 14px; height: 8px; transition: transform 0.8s ease; }
.sm-filters-btn:hover, .sm-filters-btn[aria-expanded="true"] { color: var(--blue); }
.sm-filters-btn[aria-expanded="true"] { border-color: #E2E2E2; }
.sm-filters-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
/* the panel: across the bar, over what's under it; the period, the category, then the value, the type and Filtrar */
.sm-filters-panel { position: absolute; top: calc(100% + 1px); left: 0; right: 0; z-index: 20; display: grid; grid-template-columns: auto minmax(0, 445px) minmax(0, 420px); justify-content: space-between; column-gap: 80px; padding: 20px 38px 16px 44px; border: 1px solid #E2E2E2; border-top: none; background: var(--white); box-shadow: 0 8px 14px rgba(0, 0, 0, 0.06); font-family: "Roboto Condensed", var(--font-body); color: #242424; }
.sm-filters-panel[hidden] { display: none; }
/* opened: it grows down out of the bar, the whole panel stretching from squashed to full height */
.sm-filters-panel:not([hidden]) { transform-origin: top; animation: sm-panel-down 0.45s cubic-bezier(0.22, 0.61, 0.36, 1); }
@keyframes sm-panel-down { from { transform: scaleY(0); opacity: 0; } 40% { opacity: 1; } to { transform: scaleY(1); opacity: 1; } }
/* closing: squashed back up into the bar, fading as it goes */
.sm-filters-panel.is-closing { pointer-events: none; animation: sm-panel-up 0.35s cubic-bezier(0.55, 0, 0.75, 0.4) forwards; }
@keyframes sm-panel-up { from { transform: scaleY(1); opacity: 1; } 60% { opacity: 1; } to { transform: scaleY(0); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sm-filters-panel:not([hidden]), .sm-filters-panel.is-closing { animation: none; } }
.sm-fp-col { display: flex; flex-direction: column; min-width: 0; }
.sm-fp-category { position: relative; left: 32px; }
.sm-fp-side { position: relative; left: -8px; }
.sm-fp-label { display: block; margin: 0 0 6px; font-size: 17px; line-height: 20px; text-transform: uppercase; }
.sm-fp-period .sm-fp-label { margin: 22px 0 0 10px; }
.sm-fp-label--type { margin-top: 34px; }
.sm-fp-select { width: 100%; height: 40px; padding: 0 44px 0 22px; border: 1px solid #242424; border-radius: 0; outline: none; appearance: none; -webkit-appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 14 9' fill='none' stroke='%23242424' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 22px center / 8px 5px; font-family: inherit; font-size: 17px; color: #242424; cursor: pointer; }
.sm-fp-select:focus-visible, .sm-fp-money:focus-within { outline: 2px solid #242424; outline-offset: 2px; }
/* Categoria's list: under its button, no outline, only a shadow; the options well apart, grey behind on hover */
.sm-fp-drop { position: relative; }
.sm-fp-drop .sm-fp-select { display: block; text-align: left; }
.sm-fp-list { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 5; margin: 0; padding: 0; list-style: none; background: var(--white); box-shadow: 0 6px 22px rgba(0, 0, 0, 0.16); }
.sm-fp-list[hidden] { display: none; }
.sm-fp-option { display: block; width: 100%; padding: 22px 22px; border: none; background: none; font-family: inherit; font-size: 17px; line-height: 20px; text-align: left; color: #242424; cursor: pointer; transition: background-color 0.15s ease; }
.sm-fp-option:hover { background: #EFEFEF; }
/* Tipo de movimento's options closer together */
.sm-fp-list--type .sm-fp-option { padding-top: 17px; padding-bottom: 17px; }
/* Valor: De [ €] a [ €] */
.sm-fp-value { display: flex; align-items: center; gap: 12px; font-size: 17px; }
.sm-fp-money { flex: 1; display: flex; align-items: center; min-width: 0; height: 40px; padding: 0 10px 0 14px; border: 1px solid #242424; }
.sm-fp-money input { flex: 1; min-width: 0; padding: 0; border: none; outline: none; background: none; font-family: inherit; font-size: 17px; color: #242424; }
/* Filtrar: on the right under the type; blue slides up on hover, the text yellow */
.sm-fp-apply { position: relative; z-index: 0; align-self: flex-end; width: 212px; height: 52px; margin-top: 40px; overflow: hidden; border: 1px solid #242424; background: var(--white); font-family: inherit; font-size: 17px; text-transform: uppercase; color: #242424; cursor: pointer; transition: color 0.25s ease-in-out, border-color 0.25s ease-in-out; }
.sm-fp-side .sm-fp-drop { margin-bottom: 30px; }
.sm-fp-apply::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform 0.25s ease-in-out; }
.sm-fp-apply:hover { border-color: var(--blue); color: var(--yellow); }
.sm-fp-apply:hover::before { transform: scaleY(1); }
/* the calendar: the month between its arrows, the week days, then the days; the weekend in bold, the chosen
   days filled blue as one band, its end rounded */
.sm-cal { width: 315px; margin: 20px 0 0 82px; }
.sm-cal-head { display: flex; align-items: center; justify-content: space-between; margin: 0 -8px 18px -14px; }
.sm-cal-month { margin: 0; font-size: 19px; line-height: 23px; text-transform: uppercase; }
.sm-cal-arrow { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border: none; background: none; color: #242424; cursor: pointer; transition: color 0.2s ease; }
.sm-cal-arrow svg { width: 6px; height: 11px; }
.sm-cal-week, .sm-cal-days { display: grid; grid-template-columns: repeat(7, 45px); }
.sm-cal-week { margin-bottom: 13px; font-size: 16px; font-weight: 700; text-align: center; text-transform: uppercase; }
.sm-cal-days { row-gap: 4px; }
.sm-cal-day { height: 32px; padding: 0; border: none; background: none; font-family: inherit; font-size: 16px; color: #242424; cursor: pointer; transition: color 0.15s ease; }
.sm-cal-day.is-weekend { font-weight: 700; }
/* hovered: a day on its own looks picked, a round blue pill (its number yellow) */
.sm-cal-day:not(.is-picked):hover { border-radius: 16px; background: var(--blue); color: var(--yellow); }
.sm-cal-day.is-picked { background: var(--blue); color: var(--yellow); }
.sm-cal-day.is-picked:hover { color: var(--yellow); }
.sm-cal-day.is-start { border-top-left-radius: 16px; border-bottom-left-radius: 16px; }
.sm-cal-day.is-end { border-top-right-radius: 16px; border-bottom-right-radius: 16px; }
/* the table: six even columns and a narrow one for the (i); the headings with their icons over them */
.sm-table-scroll { overflow-x: auto; }
.sm-table { width: 100%; min-width: 765px; border-collapse: collapse; table-layout: fixed; font-family: "Roboto Condensed", var(--font-body); text-align: center; }
.sm-table th { height: 111px; padding: 0 0 19px; border-bottom: 1px solid #E2E2E2; vertical-align: bottom; font-size: 14px; font-weight: 700; line-height: 17px; }
.sm-table th svg { display: block; width: 27px; height: 27px; margin: 0 auto 9px; }
.sm-table th:last-child { width: 53px; }
.sm-table td { height: 76px; padding: 0 7px; border-bottom: 1px solid #E2E2E2; font-size: 15px; line-height: 19px; text-transform: uppercase; }
.sm-table td.sm-td-date { font-weight: 700; }
.sm-table td.sm-td-discount { font-family: "Roboto", var(--font-body); font-size: 19px; color: var(--blue); }
.sm-table td.sm-td-balance { color: var(--blue); }
.sm-td-info { position: relative; }
.sm-info { display: flex; padding: 0; border: none; background: none; color: #242424; cursor: pointer; transition: color 0.2s ease; }
.sm-info svg { width: 26px; height: 26px; }
.sm-info:hover { color: var(--blue); }
/* a movement opened by its (i): no line under it, its details in the row below (centred, the labels in bold), then the line */
.sm-table tr.is-open td { border-bottom-color: transparent; }
.sm-detail[hidden] { display: none; }
.sm-table .sm-detail td { height: auto; padding: 26px 7px 38px; text-transform: none; }
.sm-detail-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 22px; row-gap: 10px; font-size: 16px; line-height: 20px; }
.sm-detail-inner p { margin: 0; text-transform: uppercase; }
.sm-detail-inner b { margin-right: 3px; font-weight: 700; text-transform: none; }
.sm-detail-inner .sm-detail-fees { margin-left: 12px; }
.sm-detail-inner .sm-detail-btn { width: 150px; height: 52px; }
.sm-empty { margin: 26px 0 0; font-size: 14px; text-align: center; }
.sm-foot { margin: 36px 0 0 161px; padding-bottom: 56px; font-size: 14px; line-height: 17px; }
/* laptops: the box's columns closer, the arrows nearer the period */
@media (min-width: 901px) and (max-width: 1599px) {
  .sm-body { padding: 0 54px 0 96px; grid-template-columns: 204px 34px minmax(0, 476px) minmax(20px, 1fr) 182px; }
  .sm-card.pf-card { width: 204px; }
  .sm-period-arrow:first-child { margin-right: 150px; }
  .sm-period-arrow:last-child { margin-left: 150px; }
  .sm-fees { margin: 94px 301px 0 255px; }
  .sm-fees-text { width: auto; flex: 1; margin-right: 34px; }
  .sm-filters-panel { column-gap: 40px; padding: 20px 30px 16px; }
  .sm-cal { margin-left: 48px; }
}
/* phones and small tablets: everything in one column, the table scrolling sideways */
@media (max-width: 900px) {
  .sm-page h1.sm-title { font-size: 26px; line-height: 31px; }
  .sm-wrap { width: auto; margin: 0 16px; }
  .sm-notes { margin-top: 31px; }
  .sm-notes-all { margin-right: 0; font-size: 16px; }
  .sm-period { height: 60px; }
  .sm-period-name { font-size: 19px; }
  .sm-period-arrow:first-child { margin-right: 10px; }
  .sm-period-arrow:last-child { margin-left: 10px; }
  .sm-body { display: flex; flex-direction: column; align-items: center; padding: 0 14px; }
  .sm-card.pf-card { margin-top: 24px; }
  .sm-sums { align-self: stretch; margin: 17px 0 0; }
  .sm-sum { height: 54px; font-size: 19px; }
  .sm-family { margin-top: 20px; }
  .sm-fees { flex-wrap: wrap; gap: 12px; margin: 31px 14px 0; padding-bottom: 27px; }
  .sm-fees-text { width: auto; flex: 1; }
  .sm-fees-btn { width: 100%; }
  .sm-tools { height: 61px; }
  .sm-search { margin-left: 0; padding: 12px 8px; }
  .sm-search input { width: 128px; font-size: 18px; }
  .sm-filters-btn { padding: 0 10px; }
  .sm-filters-panel { grid-template-columns: 1fr; row-gap: 26px; padding: 6px 16px 24px; }
  .sm-fp-category, .sm-fp-side { left: 0; }
  .sm-cal { width: 100%; max-width: 315px; margin: 18px auto 0; }
  .sm-cal-week, .sm-cal-days { grid-template-columns: repeat(7, 1fr); }
  .sm-fp-side .sm-fp-drop { margin-bottom: 24px; }
  .sm-fp-apply { align-self: stretch; width: auto; }
  .sm-foot { margin-left: 0; padding-bottom: 34px; }
}

/* the page's scrollbar (not on pages whose <html> has .native-scrollbar, which keep Chrome's own): a light grey bar (#F4F4F4) with a plain dark grey rectangle (#707070) sliding in it, no arrows */
html:not(.native-scrollbar)::-webkit-scrollbar { width: 7px; height: 7px; }
html:not(.native-scrollbar)::-webkit-scrollbar-track { background: #F4F4F4; }
html:not(.native-scrollbar)::-webkit-scrollbar-thumb { min-height: 150px; background: #707070; border-radius: 0; }
html:not(.native-scrollbar)::-webkit-scrollbar-button { display: none; }

/* ===== Adesão, step 1 "Dados Pessoais" (adesao-dados-pessoais.html), as Benfica's (measured on theirs): 914px wide;
   "Informação Pessoal" over a light line; the photo (200px circle, a camera at its corner) and, 80px to its right, the
   full name and the birth date; then the rows, each 55px boxes with an asterisk after the required ones. A box's label
   sits in it while it's empty and moves up onto its outline (small, on white) once it's typed in or focused */
.ad-form { width: 914px; max-width: calc(100% - 32px); margin: 41px auto 0; font-family: "Roboto Condensed", var(--font-body); color: #242424; }
.dda-page h2.ad-legend { margin: 0; padding: 0 0 5px; font-family: "Roboto Condensed", var(--font-body); font-size: 16px; font-weight: 400; line-height: 19.2px; letter-spacing: normal; text-transform: uppercase; color: #242424; }
.ad-body { padding: 20px 45px 0 0; border-top: 1px solid #F1F1F1; }
/* the floating labels */
.ad-field { position: relative; }
.ad-label { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; height: 55px; padding-left: 24px; pointer-events: none; transition: height 0.2s ease-in-out; }
.ad-label span { padding: 0 4px; background: var(--white); font-size: 24px; line-height: 36px; white-space: nowrap; color: #707070; transition: font-size 0.2s ease-in-out, line-height 0.2s ease-in-out; }
.ad-label.is-float, .ad-field .dda-input:focus + .ad-label, .ad-field .dda-input:not(:placeholder-shown) + .ad-label { height: 0; }
.ad-label.is-float span, .ad-field .dda-input:focus + .ad-label span, .ad-field .dda-input:not(:placeholder-shown) + .ad-label span { font-size: 10px; line-height: 10px; }
.ad-page .ad-field .dda-input { text-transform: none; }
.ad-form.is-loading .ad-label, .ad-form.is-loading .ad-label span { transition: none; }
/* the photo and, beside it, the name and the birth date */
.ad-top { display: flex; align-items: flex-start; }
.ad-photo { position: relative; flex-shrink: 0; width: 200px; height: 202px; margin-top: 15px; border: 1px solid #242424; border-radius: 50%; background: var(--white); }
.ad-photo-inner { position: absolute; inset: 5px; overflow: hidden; border-radius: 50%; background: #F4F4F4; cursor: pointer; }
.ad-photo-inner img { width: 100%; height: 100%; object-fit: cover; }
.ad-photo-inner img[hidden] { display: none; }
.ad-photo-camera { position: absolute; right: -1px; bottom: -1px; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border: 1px solid #242424; border-radius: 50%; background: var(--white); color: #242424; cursor: pointer; }
.ad-photo-camera svg { width: 39px; height: 39px; }
.ad-photo-camera:hover { color: var(--blue); border-color: var(--blue); }
.ad-top-side { flex: 1; min-width: 0; margin-left: 80px; padding-top: 53px; }
.ad-name { width: 571px; }
.ad-birth { display: flex; align-items: flex-start; width: 571px; margin-top: 45px; }
.ad-page p.ad-birth-title { width: 239px; margin: 0; font-size: 24px; font-weight: 300; line-height: 55px; text-transform: uppercase; white-space: nowrap; }
.ad-day, .ad-year { width: 83px; }
.ad-day .dda-input, .ad-year .dda-input { padding: 0; text-align: center; }
.ad-month { width: 166px; margin: 0 -1px; }
.ad-month .ddp-period-btn { padding-left: 24px; background-position: right 22px center; }
.ad-month .ddp-period-btn.is-chosen, .ad-select .ddp-period-btn.is-chosen { color: #242424; }
.ad-month .ddp-period-list { max-height: 196px; }
/* the postcode, its town (greyed, filled in) and the country */
.ad-place { display: flex; align-items: flex-start; margin-top: 50px; }
.ad-postcode { flex-shrink: 0; width: 199px; }
.ad-postcode .dda-input:first-child { width: 93px; }
.ad-postcode .dda-input:last-of-type { width: 66px; }
.ad-postcode .ddp-dash { width: 40px; }
.ad-page .ad-postcode.dda-field::after { right: auto; left: calc(100% + 5px); }
.ad-city { width: 412px; margin-left: 40px; }
.ad-city .dda-input:disabled { background: #EBEBE4; color: #000; opacity: 1; }
.ad-country { width: 199px; margin-left: 20px; }
.ad-page .ad-country.dda-field::after { content: "*"; right: auto; left: calc(100% + 5px); }
.ad-country .dda-input { padding-left: 56px; background-position: right 20px center; }
.ad-country .ddp-country-flag { left: 109px; }
/* "Morada Completa" and "Documento de Identificação" */
.ad-page p.ad-title { margin: 15px 0 0; font-size: 24px; font-weight: 300; line-height: 55px; text-transform: uppercase; }
.ad-page p.ad-title--doc { margin-top: 30px; }
/* the address: picked (the arrow right after its text, as Benfica's) or typed */
.ad-address-pick, .ad-address-typed { margin-top: 15px; }
.ad-address-pick[hidden], .ad-address-typed[hidden], .ad-door[hidden] { display: none; }
.ad-address, .ad-address-typed .ad-field { width: 869px; }
.ad-page .ad-body .dda-field::after { right: auto; left: calc(100% + 5px); }
.ad-page .ad-body .dda-field { padding: 0; }
.ad-page .ad-body .ad-gender { padding-left: 43px; }
.ad-address .ddp-period-btn { background: var(--white); text-transform: uppercase; }
.ad-address .ddp-period-text::after { content: ""; display: inline-block; width: 9px; height: 6px; margin-left: 4px; vertical-align: middle; background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='m2 2 4 4 4-4' fill='none' stroke='%23707070' stroke-width='1.3'/></svg>") no-repeat center / contain; }
.ad-address .ddp-period-btn.is-chosen { color: #242424; }
.ad-address .ddp-period-list li { text-transform: uppercase; }
.ddp-period-list li.ad-empty { color: #707070; cursor: default; }
.ddp-period-list li.ad-empty:hover { background: none; }
.ad-notfound { display: block; margin: 5px 0 0; padding: 0; border: none; background: none; font-family: inherit; font-size: 12px; line-height: 17px; text-transform: uppercase; text-decoration: underline; color: #242424; cursor: pointer; }
.ad-notfound:hover { color: var(--blue); }
.ad-town-row { display: flex; align-items: flex-start; margin-top: 30px; }
.ad-door { flex-shrink: 0; width: 199px; margin-right: 25px; }
.ad-town { width: 646px; }
/* two boxes side by side (each 422px, 25px apart) */
.ad-pair { display: flex; align-items: flex-start; gap: 25px; }
.ad-pair > .dda-field { flex: 0 0 422px; width: 422px; }
.ad-contacts { margin-top: 30px; }
.ad-tel .dda-input { padding-left: 120px; }
.ad-nif-row { margin-top: 36px; }
.ad-doc-row { margin-top: 15px; }
.ad-select .ddp-period-btn { padding-left: 24px; }
/* the gender: round choices, grey ring, a blue dot in the chosen one */
.ad-pair > .ad-gender { display: flex; gap: 70px; height: 34px; padding-left: 43px; }
.ad-radio { position: relative; display: flex; align-items: center; gap: 6px; width: 136px; padding-left: 15px; font-size: 24px; font-weight: 300; line-height: 34px; cursor: pointer; }
.ad-radio input { position: absolute; opacity: 0; pointer-events: none; }
.ad-radio-dot { position: relative; flex-shrink: 0; width: 20px; height: 20px; border: 1px solid #898989; border-radius: 50%; background: var(--white); }
.ad-radio-dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--blue); transform: scale(0); transition: transform 0.15s ease; }
.ad-radio input:checked + .ad-radio-dot::after { transform: scale(1); }
.ad-radio input:focus-visible + .ad-radio-dot { outline: 2px solid var(--blue); outline-offset: 2px; }
.ad-gender.is-invalid .ad-radio-dot { border-color: #C30000; }
/* "Campos de preenchimento obrigatório", the consent box and its text, the note */
.ad-page p.ad-required { margin: 50px 0 0; font-size: 16px; line-height: 23px; }
.ad-check { position: relative; display: flex; align-items: center; min-height: 23px; margin-top: 35px; padding-left: 40px; font-size: 14px; font-weight: 500; line-height: 20px; cursor: pointer; }
.ad-check input { position: absolute; opacity: 0; pointer-events: none; }
.ad-check-box { position: absolute; top: 0; left: 0; width: 23px; height: 23px; border: 1px solid #BBB; background: var(--white); }
.ad-check-box::after { content: ""; position: absolute; left: 8px; top: 4px; width: 5px; height: 9px; border: solid var(--blue); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform 0.15s ease; }
.ad-check input:checked + .ad-check-box::after { transform: rotate(45deg) scale(1); }
.ad-check input:focus-visible + .ad-check-box { outline: 2px solid var(--blue); outline-offset: 2px; }
.ad-check.is-invalid .ad-check-box { border-color: #C30000; }
.ad-check.is-invalid { color: #C30000; }
.ad-page p.ad-consent { position: relative; max-width: 849px; margin: 0; padding-left: 40px; font-size: 16px; line-height: 22.86px; text-indent: 24px; }
.ad-page .ad-check + p.ad-consent { margin-top: 23px; }
.ad-page p.ad-consent b { font-weight: 700; }
/* (ticking the box consents to both paragraphs: a bigger tick appears before each one) */
.ad-page p.ad-consent::before { content: ""; position: absolute; left: 38px; top: 1px; width: 20px; height: 20px; background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23014AAD' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='m4 12.5 5 5 11-11'/></svg>") no-repeat center / contain; opacity: 0; transform: scale(0.6); transition: opacity 0.15s ease, transform 0.15s ease; }
.ad-form:has(#adConsent:checked) p.ad-consent::before { opacity: 1; transform: none; }
.ad-page p.ad-consent sup, .ad-page p.ad-note sup { font-size: 12px; line-height: 0; }
.ad-page p.ad-consent a, .ad-page p.ad-note a { color: var(--blue); text-decoration: none; }
.ad-page p.ad-consent a:hover, .ad-page p.ad-note a:hover { text-decoration: underline; }
.ad-page p.ad-note { max-width: 849px; margin: 19px 0 0; padding-left: 40px; font-size: 13px; line-height: 18.57px; }
.dda-actions.ad-actions { margin-top: 40px; }
@media (max-width: 960px) {
  .ad-body { padding-right: 16px; }
  .ad-top { flex-direction: column; align-items: center; }
  .ad-top-side { width: 100%; margin-left: 0; padding-top: 30px; }
  .ad-name, .ad-birth, .ad-address, .ad-address-typed .ad-field, .ad-town { width: 100%; }
  .ad-birth { flex-wrap: wrap; }
  .ad-page p.ad-birth-title { width: 100%; }
  .ad-place, .ad-pair, .ad-town-row { flex-wrap: wrap; row-gap: 20px; }
  .ad-city, .ad-country { margin-left: 0; }
  .ad-city { width: 100%; }
  .ad-pair > .dda-field { flex-basis: 100%; width: 100%; }
  .ad-pair > .ad-gender { padding-left: 0; gap: 20px; }
}
/* (the first step a bit to the right, as on Benfica's adesão) */
.ad-page .dda-steps li:first-child { position: relative; left: 56px; }
.ad-page .dda-steps li:nth-child(2) { position: relative; left: 12px; }
.ad-page .dda-steps li { padding-top: 6px; }
.ad-page .dda-steps li:nth-child(3), .ad-page .dda-steps li:nth-child(4) { position: relative; left: -20px; }
.ad-page .dda-steps li:nth-child(4) { left: -55px; }
.ad-page .dda-steps { padding-bottom: 72px; }
/* (the breadcrumb further left, as on Benfica's adesão: 30px from the edge) */
.ad-page .dda-breadcrumb .container { padding-left: 30px; }

/* ===== Adesão, step 2 "Família" (adesao-familia.html), as Benfica's (measured on screenshots of theirs): "Criar Família"
   over the light line; "Nome" centred over a #DDD line; the new member's row (the avatar on the left, the name centred
   a little right of "Nome"); the note; a line 54px under it, Anterior (outlined, 120px) on the left and Continuar
   (7px in from the right) 40px under the line; the promise band 335px under the buttons */
.af-body { border-top: 1px solid #F1F1F1; }
.af-head { padding: 72px 0 12.8px; border-bottom: 1px solid #DDD; font-size: 16px; line-height: 19.2px; text-align: center; text-transform: uppercase; }
.af-head span { display: block; width: 642px; }
.af-row { position: relative; height: 104px; }
.af-avatar { position: absolute; top: 28px; left: 18px; width: 52px; height: 52px; overflow: hidden; border-radius: 50%; }
.af-avatar img { display: block; width: 52px; height: 52px; }
.af-name { position: absolute; top: 45px; left: 0; width: 662px; font-size: 16px; line-height: 19.2px; text-align: center; text-transform: uppercase; }
.ad-page p.af-note { margin: 11px 0 0; font-size: 14px; line-height: 18px; }
.ad-page p.af-note[hidden] { display: none; }
.dda-actions.af-actions { justify-content: space-between; align-items: center; margin-top: 53px; padding: 40px 7px 335px 0; }
.af-back { position: relative; z-index: 0; display: flex; align-items: center; justify-content: center; width: 120px; height: 40px; overflow: hidden; border: 1px solid #242424; font-size: 14px; text-transform: uppercase; color: #242424; text-decoration: none; transition: color 0.25s ease-in-out, border-color 0.25s ease-in-out; }
.af-back::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform 0.25s ease-in-out; }
.af-back:hover { border-color: var(--blue); color: var(--yellow); }
.af-back:hover::before { transform: scaleY(1); }
.af-page .qt-promises { margin-top: 0; }
@media (max-width: 960px) {
  .af-head span, .af-name { width: 100%; }
  .af-name { left: 0; padding-left: 80px; text-align: left; }
  .dda-actions.af-actions { padding-bottom: 80px; }
}

/* ===== Adesão, step 3 "Quotas" (adesao-quotas.html), as Benfica's (measured on screenshots of theirs): the two titles in
   normal case over their light lines; the Periodicidade box (458px) 31px under the first; "Meio de Pagamento *" (a
   bigger asterisk) 59px under the box; the two round choices 40px apart, 19px text; a line 30px under them, Anterior
   and Continuar 20px under it, Continuar grey (#919191) until both are chosen; the promise band 417px under them */
.dda-page h2.aq-legend { text-transform: none; }
.aq-body { border-top: 1px solid #F1F1F1; }
.aq-period { width: 458px; margin-top: 31px; }
.ad-page .aq-body .dda-field { padding: 0; }
.ad-page .aq-body .dda-field::after { right: auto; left: calc(100% + 5px); }
.aq-period .ddp-period-btn { background-position: right 29px center; }
.aq-period .ddp-period-btn.is-chosen { color: #242424; }
.dda-page h2.aq-legend--method { margin-top: 59px; }
.aq-legend--method span { display: inline-block; margin-left: 2px; font-size: 24px; line-height: 0; vertical-align: -3px; }
.aq-methods { display: flex; flex-direction: column; gap: 20px; padding: 30px 0 0 15px; }
.aq-radio { position: relative; display: flex; align-items: center; gap: 11px; width: fit-content; font-size: 19px; line-height: 20px; cursor: pointer; }
.aq-radio input { position: absolute; opacity: 0; pointer-events: none; }
.aq-radio input:checked + .ad-radio-dot::after { transform: scale(1); }
.aq-radio input:focus-visible + .ad-radio-dot { outline: 2px solid var(--blue); outline-offset: 2px; }
.dda-actions.aq-actions { margin-top: 30px; padding: 20px 0 417px; }
.aq-actions .dda-btn:disabled, .aq-actions .dda-btn:disabled:hover { border-color: #919191; background: #919191; color: var(--white); cursor: default; }
.aq-actions .dda-btn:disabled::before { display: none; }
@media (max-width: 960px) {
  .aq-period { width: 100%; padding-right: 16px; }
  .dda-actions.aq-actions { padding-bottom: 80px; }
}

/* ===== Adesão, step 4 "Confirmação" (adesao-confirmacao.html), as Benfica's (measured on screenshots of theirs):
   "Valor a Pagar" over its light line; the three rows (14px, capitals) 20px in, the prices on the right; the total in
   bold, its amount 24px; a line, Anterior on the left, Adicionar and Pagar (223px, 3px apart) on the right; the grey
   "Recomendados para ti" bar 40px under them; the promise band 393px under it */
.acf-summary { margin: 0; padding: 30px 0 0; border-top: 1px solid #F1F1F1; }
.acf-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-left: 20px; font-size: 14px; line-height: 27.2px; text-transform: uppercase; }
.acf-row dt, .acf-row dd { margin: 0; }
.acf-row:not(.acf-total) dd { font-size: 16px; }
.acf-row.acf-total { margin-top: 20.5px; padding-left: 21px; font-weight: 700; }
.acf-row.acf-total dd { font-size: 24px; }
.acf-row.acf-total dt { font-size: 16px; }
.dda-actions.acf-actions { margin-top: 16px; padding: 20px 0 0; }
.acf-buttons { display: flex; gap: 3px; }
.dda-btn.acf-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 223px; font-weight: 700; }
.acf-btn svg { flex: none; }
.acf-btn .acf-ico-bag { width: 24px; height: 24px; margin-top: -4px; }
.acf-btn .acf-ico-pay { width: 30px; height: 18px; }
.acf-recommended { height: 48px; margin: 40px 0 393px; border-top: 2px solid #EFEFEF; background: #F4F4F4; text-align: center; }
.acf-page .acf-recommended h2 { margin: 0; padding-top: 25px; font-family: inherit; font-size: 14px; font-weight: 700; line-height: 16px; letter-spacing: normal; text-transform: uppercase; color: #242424; }
@media (max-width: 960px) {
  .dda-actions.acf-actions { flex-wrap: wrap; gap: 12px; }
  .acf-buttons { width: 100%; }
  .dda-btn.acf-btn { flex: 1; width: auto; }
  .acf-recommended { margin-bottom: 80px; }
}

/* ===== The language popup (js/i18n.js): like the account popup, a plain white block against the right edge that slides
   in a little from the right: "Escolhe o idioma" (as the account popup's "Olá"), a light line, the four languages; a word turns blue on hover (the current one is blue) */
.lang-pop { position: fixed; right: 0; z-index: 700; width: 206px; max-width: 100vw; padding: 22px 20px 16px 26px; background: var(--white); opacity: 0; transform: translateX(24px); transition: transform 0.2s ease, opacity 0.2s ease; }
.lang-pop.is-open { opacity: 1; transform: none; transition: transform 0.25s ease, opacity 0.25s ease; }
.lang-pop[hidden] { display: none; }
.lang-pop-title { margin: 0; font-size: 17.75px; line-height: 24px; color: var(--ink); }
.lang-pop-list { margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid #F3F3F3; list-style: none; }
.lang-pop-opt { display: block; width: 100%; padding: 7.5px 0; border: 0; background: none; font-family: var(--font-body); font-size: 14px; text-align: left; color: var(--ink); cursor: pointer; }
.lang-pop-opt:hover, .lang-pop-opt.is-current { color: var(--blue); }
.lang-pop-opt.is-current { font-weight: 700; }
.lang-pop-opt:focus-visible { outline: 1px solid var(--blue); outline-offset: 2px; }

/* ===== Lisbon FC TV (lisbon-fc-tv.html), as Benfica's BTV page (measured on theirs at 1530px): the banner (618px of
   1530) with its title, white button and arrows; the channel's paragraph; three icon cards; "Sobre" (the control desk,
   583px, and the text from 713px); the grey "Aderir" band; "Últimos Conteúdos" (two big, three smaller); "Informações"
   on its side with what opens; the blue contact band; the address row. Their red is our blue */
.tv-page { color: #242424; font-family: var(--font-body); }
.tv-page h1, .tv-page h2, .tv-page h3, .tv-page h4 { font-family: var(--font-body); letter-spacing: normal; text-transform: none; }
.tv-nav .secondary-inner a { cursor: pointer; }
/* buttons: 50px, a thin dark border; the blue fill slides up and the text turns yellow on hover */
.tv-btn { position: relative; z-index: 0; display: inline-flex; align-items: center; justify-content: center; height: 50px; overflow: hidden; padding: 0 20px; border: 0.8px solid #242424; font-size: 18px; line-height: 18px; color: #242424; text-decoration: none; transition: color 0.25s ease-in-out, border-color 0.25s ease-in-out; }
.tv-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform 0.25s ease-in-out; }
.tv-btn:hover { border-color: var(--blue); color: var(--yellow); }
.tv-btn:hover::before { transform: scaleY(1); }
.tv-btn--white { border-color: var(--white); background: var(--white); }
.tv-link { display: flex; align-items: center; gap: 11px; width: fit-content; font-size: 18px; font-weight: 700; line-height: 24px; color: #242424; text-decoration: none; transition: color 0.2s ease; }
.tv-link:hover { color: var(--blue); }
.tv-chev { flex: none; width: 5px; height: 8px; margin-top: 2px; }
/* the banner */
.tv-hero { position: relative; aspect-ratio: 1530 / 618; max-height: 760px; min-height: 320px; width: 100%; margin-bottom: 50px; overflow: hidden; background: #050a18; }
.tv-slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity 0.6s ease, visibility 0s 0.6s; }
.tv-slide.is-active { visibility: visible; opacity: 1; transition: opacity 0.6s ease, visibility 0s; }
.tv-slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tv-slide-img--left { object-position: left center; }
.tv-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 8, 28, 0.55), rgba(0, 8, 28, 0) 45%); }
.tv-slide-logo { position: absolute; left: 50%; top: 50%; z-index: 1; width: min(26vw, 430px); transform: translate(-50%, -50%); filter: drop-shadow(0 4px 22px rgba(0, 0, 0, 0.45)); }
.tv-slide-info { position: absolute; left: 43px; bottom: 35px; z-index: 1; max-width: calc(100% - 200px); }
.tv-slide-info h2 { margin: 0 0 40px; font-size: 36px; font-weight: 700; line-height: 36px; color: var(--yellow); }
.tv-slide-info .tv-btn { border-color: var(--yellow); background: var(--yellow); color: var(--blue); }
.tv-slide-info .tv-btn:hover { border-color: var(--blue); color: var(--yellow); }
.tv-hero-arrows { position: absolute; right: 0; bottom: 26px; z-index: 2; display: flex; gap: 4px; }
.tv-hero-arrow { display: flex; align-items: center; justify-content: center; width: 52px; height: 42px; border: 0; background: none; color: var(--yellow); cursor: pointer; transition: color 0.2s ease; }
.tv-hero-arrow svg { width: 12px; height: 22px; transition: transform 0.25s ease; }
.tv-hero-arrow:hover { color: var(--blue); }
.tv-hero-arrow[data-tv-prev]:hover svg { transform: translateX(-5px); }
.tv-hero-arrow[data-tv-next]:hover svg { transform: translateX(5px); }
/* the channel's paragraph */
.tv-intro { max-width: 1147px; padding: 15px 15px 38px 48px; }
.tv-intro h1 { margin: 0 0 5px; font-size: 36px; font-weight: 700; line-height: 48px; color: #242424; }
.tv-intro p { margin: 0; font-size: 20px; line-height: 24px; }
/* the three cards */
.tv-cards { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 21px; padding-bottom: 60px; text-align: center; }
.tv-card { display: flex; flex-direction: column; align-items: center; padding: 0 20px; }
.tv-card-icon { display: block; width: 100px; height: 91px; object-fit: contain; }
.tv-page .tv-card h2 { margin: 11px 0 10px; font-size: 24px; font-weight: 500; line-height: 27.84px; color: #242424; }
.tv-page .tv-card h3 { max-width: 324px; margin: 0 0 20px; font-size: 20px; font-weight: 400; line-height: 24px; color: #242424; }
/* Sobre */
.tv-about { display: flex; align-items: center; padding-top: 10px; margin-bottom: 60px; }
.tv-about-img { flex: none; width: 38.1%; max-width: 640px; aspect-ratio: 583 / 557; overflow: hidden; }
.tv-about-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tv-about-text { width: 569px; max-width: 100%; margin-left: 8.5%; }
.tv-page .tv-about-text h4 { margin: 0; font-size: 20px; font-weight: 700; line-height: 26px; color: var(--blue); }
.tv-page .tv-about-text h2 { margin: 5px 0; font-size: 36px; font-weight: 700; line-height: 42px; color: #242424; }
.tv-about-text p { margin: 0 0 20px; font-size: 20px; line-height: 26px; }
.tv-about-text .tv-link { margin-bottom: 10px; }
/* Aderir */
.tv-join { margin-bottom: 40px; padding: 40px 24px 40px; background: #F4F4F4; text-align: center; }
.tv-page .tv-join h3 { margin: 0 0 10px; font-size: 32px; font-weight: 500; line-height: 40px; color: var(--blue); }
.tv-join p { margin: 0 0 45px; font-size: 28px; line-height: 40px; }
/* Últimos Conteúdos */
.tv-latest { padding: 0 26px 40px; }
.tv-page .tv-latest-title { margin: 0; padding: 15px 15px 43px 46px; font-size: 36px; font-weight: 700; line-height: 48px; color: #242424; }
.tv-videos { display: grid; gap: 0 24px; }
.tv-videos--two { grid-template-columns: repeat(2, 1fr); padding-bottom: 10px; }
.tv-videos--three { grid-template-columns: repeat(3, 1fr); }
.tv-video { display: block; padding-bottom: 30px; color: #242424; text-decoration: none; }
.tv-thumb { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 727 / 436; margin-bottom: 20px; overflow: hidden; background: linear-gradient(135deg, var(--blue), #002d6b); }
.tv-thumb img { width: auto; height: 58%; object-fit: contain; transition: transform 0.5s ease; }
.tv-video:hover .tv-thumb img { transform: scale(1.06); }
.tv-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0) 40%); }
.tv-thumb--supertaca { background: linear-gradient(120deg, #001F4D, #014AAD 60%, #0a5fd6); }
.tv-thumb--navy { background: linear-gradient(135deg, #00143a, #00348A); }
.tv-thumb--yellow { background: linear-gradient(135deg, #FFDE5A, #E8C233); }
.tv-thumb--green { background: linear-gradient(135deg, #0d5c3a, #1c8a55); }
.tv-play { position: absolute; left: 20px; bottom: 15px; z-index: 1; width: 24px; height: 24px; color: var(--white); }
.tv-play svg { display: block; width: 100%; height: 100%; }
.tv-video-title { margin: 0; padding-bottom: 5px; font-size: 40px; font-weight: 500; line-height: 44px; transition: color 0.2s ease; }
.tv-video-sub { margin: 0; font-size: 22px; line-height: 28px; transition: color 0.2s ease; }
.tv-video:hover .tv-video-title, .tv-video:hover .tv-video-sub { color: var(--blue); }
.tv-videos--three .tv-thumb { margin-bottom: 10px; }
.tv-videos--three .tv-video-title { font-size: 24px; line-height: 28px; }
.tv-videos--three .tv-video-sub { font-size: 16px; line-height: 22px; }
.tv-more { padding-top: 5px; text-align: center; }
/* Informações */
.tv-info { display: flex; align-items: flex-start; margin: 66px 95px 135px 35px; }
.tv-page .tv-info-title { flex: none; width: 48px; margin: 0 40px 0 0; font-size: 36px; font-weight: 700; line-height: 48px; white-space: nowrap; color: #242424; writing-mode: vertical-rl; transform: rotate(180deg); }
.tv-info-list { flex: 1; min-width: 0; border-top: 1px solid #EEE; }
.tv-info-item { border-bottom: 1px solid #EEE; }
.tv-info-head { display: flex; align-items: flex-start; justify-content: space-between; width: 100%; padding: 30px 20px 29px 0; border: 0; background: none; font-family: inherit; font-size: 32px; font-weight: 500; line-height: 38px; text-align: left; color: #242424; cursor: pointer; transition: color 0.2s ease; }
.tv-info-head svg { flex: none; width: 24px; height: 15px; margin-top: 12px; transition: transform 0.25s ease; }
.tv-info-head:hover, .tv-info-item.is-open .tv-info-head { color: var(--blue); }
.tv-info-item.is-open .tv-info-head svg { transform: rotate(180deg); }
.tv-info-body { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.35s ease, visibility 0s 0.35s; }
.tv-info-item.is-open .tv-info-body { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 0.35s ease, visibility 0s; }
.tv-info-inner { min-height: 0; overflow: hidden; }
.tv-info-inner p { padding: 0 80px 50px 0; }
.tv-info-body p { margin: 0; font-size: 20px; line-height: 28px; }
/* contacting */
.tv-contact { margin: 0 0 35px; padding: 75px 26px 82px; background: var(--blue); text-align: center; color: var(--yellow); }
.tv-page .tv-contact h2 { margin: 0 0 10px; font-size: 31px; font-weight: 500; line-height: 40px; color: var(--yellow); }
.tv-contact p { margin: 0 0 40px; font-size: 24px; line-height: 30px; }
.tv-contact-icons { display: flex; align-items: flex-end; justify-content: center; gap: 38px; }
.tv-contact-icons a { display: block; color: var(--yellow); transition: color 0.2s ease; }
.tv-contact-icons a:hover { color: var(--white); }
.tv-contact-icons svg { display: block; width: 50px; }
/* the address */
.tv-address { display: flex; justify-content: space-between; gap: 24px; padding: 40px 26px 40px; border-top: 0.8px solid #DDD; }
.tv-page .tv-address h2 { margin: 0; font-size: 24px; font-weight: 400; line-height: 28px; color: #242424; }
.tv-address p { margin: 0; font-size: 24px; line-height: 28px; text-align: right; }
@media (max-width: 1100px) {
  .tv-video-title { font-size: 28px; line-height: 32px; }
  .tv-video-sub { font-size: 18px; line-height: 24px; }
  .tv-about-text { margin-left: 5%; padding-right: 20px; }
  .tv-info { margin: 50px 24px 70px; }
}
@media (max-width: 900px) {
  .tv-hero { aspect-ratio: 16 / 10; }
  .tv-slide-logo { width: 52vw; top: 42%; }
  .tv-slide-info { left: 20px; bottom: 24px; }
  .tv-slide-info h2 { font-size: 28px; margin-bottom: 16px; }
  .tv-intro { padding: 10px 20px 30px; }
  .tv-intro h1, .tv-page .tv-latest-title, .tv-page .tv-about-text h2 { font-size: 28px; line-height: 36px; }
  .tv-intro p, .tv-about-text p, .tv-page .tv-card h3 { font-size: 17px; }
  .tv-cards { grid-template-columns: 1fr; row-gap: 40px; }
  .tv-about { flex-direction: column; align-items: stretch; }
  .tv-about-img { width: 100%; max-width: none; aspect-ratio: 16 / 10; }
  .tv-about-text { width: auto; margin: 28px 20px 0; padding: 0; }
  .tv-join p { font-size: 20px; line-height: 28px; }
  .tv-latest { padding: 0 16px 30px; }
  .tv-page .tv-latest-title { padding: 10px 4px 24px; }
  .tv-videos--two, .tv-videos--three { grid-template-columns: 1fr; }
  .tv-videos--two .tv-video-title { font-size: 24px; line-height: 28px; }
  .tv-video-sub { font-size: 16px; line-height: 22px; }
  .tv-info { flex-direction: column; margin: 40px 20px 60px; }
  .tv-page .tv-info-title { width: auto; margin: 0 0 16px; writing-mode: horizontal-tb; transform: none; font-size: 28px; }
  .tv-info-list { width: 100%; }
  .tv-info-head { font-size: 22px; line-height: 28px; padding: 22px 8px 21px 0; }
  .tv-info-head svg { margin-top: 7px; width: 18px; }
  .tv-info-inner p { padding: 0 0 32px; }
  .tv-info-body p { font-size: 16px; line-height: 24px; }
  .tv-contact { padding: 50px 20px; }
  .tv-page .tv-contact h2 { font-size: 26px; line-height: 32px; }
  .tv-contact p, .tv-address p, .tv-page .tv-address h2 { font-size: 18px; line-height: 24px; }
  .tv-address { padding: 30px 20px; }
}

/* ===== Lisbon FC TV, Adesão Online (lisbon-fc-tv-adesao.html), as Benfica's BTV one (measured at 1530px): the banner
   (351px of 1530), the channel's logo in its middle; the text from 386px (979 wide): the title 36px, its line 18/24,
   the paragraphs 18/28, the link with its little arrow, the dark button centred; a light line under it all */
.tva-banner { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1530 / 351; min-height: 200px; overflow: hidden; background: linear-gradient(90deg, #014AAD 0%, #013680 45%, #001536 100%); }
.tva-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.35) 0%, rgba(255, 255, 255, 0) 100%); }
.tva-banner-crest { position: absolute; right: -6%; top: 50%; width: 50%; transform: translateY(-50%); opacity: 0.08; filter: brightness(0) invert(1); }
.tva-banner-logo { position: relative; z-index: 1; width: 35.3%; max-width: 650px; }
.tva-body { max-width: 999px; margin: 0 0 0 23.9%; padding: 0 0 80px 20px; }
.tva-head { padding: 30px 0 30px; }
.tv-page .tva-head h1 { margin: 20px 0 15px; font-size: 36px; font-weight: 500; line-height: 43px; color: #242424; }
.tv-page .tva-head h2 { margin: 10px 0 0; font-size: 18px; font-weight: 400; line-height: 24px; color: #000; }
.tva-text { padding-bottom: 30px; }
.tva-text p { margin: 0; font-size: 18px; line-height: 28px; }
.tva-text p + p { margin-top: 23px; }
.tva-link { color: var(--blue); text-decoration: none; }
.tva-link:hover { text-decoration: underline; }
.tva-ext { display: inline-block; width: 15px; height: 15px; margin: 0 0 0 4px; vertical-align: -1px; }
.tva-action { padding: 30px 0; text-align: center; }
.tva-btn { position: relative; z-index: 0; display: inline-flex; align-items: center; justify-content: center; height: 50px; overflow: hidden; padding: 0 30px; border: 0.8px solid #242424; background: #242424; font-size: 18px; line-height: 18px; color: var(--white); text-decoration: none; transition: color 0.25s ease-in-out, border-color 0.25s ease-in-out; }
.tva-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform 0.25s ease-in-out; }
.tva-btn:hover { border-color: var(--blue); color: var(--yellow); }
.tva-btn:hover::before { transform: scaleY(1); }
.tva-page { border-bottom: 0.8px solid #DDD; }
@media (max-width: 1100px) {
  .tva-body { margin-left: 12%; padding-right: 24px; }
}
@media (max-width: 700px) {
  .tva-banner-logo { width: 46%; }
  .tva-body { margin: 10px 0 0; padding: 0 20px 50px; }
  .tv-page .tva-head h1 { font-size: 28px; line-height: 34px; }
  .tv-page .tva-head h2, .tva-text p { font-size: 16px; line-height: 24px; }
}

/* ===== Lisbon FC TV, live (lisbon-fc-tv-direto.html): the match band (as the Match Center's top: the clubs' letters
   behind, the clubs on each side, the competition, score and "Em direto" in the middle); the stage (the site's video
   player with the channel's mark and "Direto" over it, the match minute by minute beside it); today's schedule; the
   grey band; the latest videos (as the TV page's) */
.tvd-live-dot { display: inline-block; width: 9px; height: 9px; flex: none; border-radius: 50%; background: #E3262F; box-shadow: 0 0 0 0 rgba(227, 38, 47, 0.6); animation: tvdPulse 1.6s ease-out infinite; }
@keyframes tvdPulse { 0% { box-shadow: 0 0 0 0 rgba(227, 38, 47, 0.6); } 100% { box-shadow: 0 0 0 9px rgba(227, 38, 47, 0); } }
/* the stage */
.tvd-stage { max-width: 1200px; margin: 0 auto; padding: 40px 48px 60px; }
.tvd-player-box { position: relative; background: #000; }
.tvd-player-box .video-player { aspect-ratio: 16 / 9; }
.tvd-onair { position: absolute; left: 18px; top: 16px; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: rgba(0, 0, 0, 0.55); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); pointer-events: none; }
.tvd-bug { position: absolute; right: 14px; top: 2px; z-index: 5; width: 104px; opacity: 0.9; pointer-events: none; }
.tvd-player-info { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding-top: 26px; }
.tvd-tag { display: inline-block; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--blue); }
.tv-page .tvd-player-info h1 { margin: 0 0 10px; font-size: 32px; font-weight: 600; line-height: 38px; color: #242424; }
.tvd-player-info p { max-width: 820px; margin: 0; font-size: 18px; line-height: 26px; }
.tvd-viewers { display: inline-flex; flex: none; align-items: center; gap: 8px; margin-top: 4px; font-size: 15px; white-space: nowrap; color: #555; }
.tvd-viewers svg { width: 20px; height: 20px; color: var(--blue); }
.tvd-viewers b { color: #242424; }
.tvd-mc { margin-top: 10px; }
@media (max-width: 1100px) {
  .tvd-stage { padding: 30px 24px 50px; }
}
@media (max-width: 700px) {
  .tvd-stage { padding: 20px 16px 40px; }
  .tvd-player-info { flex-direction: column; gap: 12px; }
  .tv-page .tvd-player-info h1 { font-size: 24px; line-height: 30px; }
  .tvd-player-info p { font-size: 16px; line-height: 24px; }
  .tvd-bug { width: 70px; }
}
