.brand {
  letter-spacing: normal;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-size: 18px;
  letter-spacing: .12em;
}

.brand-copy small {
  margin-top: 5px;
  color: #806943;
  font: 500 9px Montserrat, Arial, sans-serif;
  letter-spacing: .04em;
}

.quality-copy {
  max-width: 760px;
}

.quality-copy span {
  display: inline-block;
  margin-top: 10px;
  color: var(--gold);
}

footer a {
  color: #d7c7aa;
  font-size: 12px;
}

footer a:hover {
  color: var(--gold2);
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button-light {
  background: #fffaf0;
  color: var(--ink);
  border-color: #fffaf0;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  text-decoration: underline;
  text-decoration-color: rgba(224, 183, 103, .45);
  text-underline-offset: 4px;
}

.adult-sizes {
  margin-bottom: 58px;
  padding: 34px 40px;
  border: 1px solid rgba(138, 96, 29, .28);
  border-left: 6px solid var(--gold);
  background: #fffaf0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 15px 45px rgba(70, 44, 5, .08);
}

.adult-sizes span {
  color: #8a601d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
}

.adult-sizes h2 {
  margin: 8px 0 0;
  font-size: clamp(46px, 6vw, 72px);
  line-height: .9;
  letter-spacing: .08em;
}

.adult-sizes p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.sizes {
  background: #eadcbe;
}

.sizes-subtitle {
  margin: 0 0 18px;
  font-size: 32px;
}

.footer-brand > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.catalogue-title {
  margin: 0 0 24px;
  font-size: 28px;
}

.catalogue-level { display: none; }
.catalogue-level.active { display: block; animation: catalogue-in .25s ease; }
@keyframes catalogue-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.choice-card {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #fff, #eee2ce);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .2s ease, border-color .2s ease;
}

.choice-card:hover:not(.unavailable) { transform: translateY(-5px); border-color: var(--gold); }
.choice-card b { margin-bottom: auto; color: rgba(138, 96, 29, .22); font-size: 76px; }
.choice-card span { font: 800 38px "Barlow Condensed", Arial, sans-serif; }
.choice-card small { margin-top: 8px; color: #8a601d; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.choice-card.unavailable { opacity: .55; cursor: default; }

.catalogue-back {
  margin-bottom: 22px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: #6f5a38;
  font-weight: 700;
  cursor: pointer;
}

.country-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.country-card {
  min-height: 170px;
  padding: 25px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.country-card:hover { transform: translateY(-4px); box-shadow: 0 16px 35px rgba(70,44,5,.1); }
.country-card.unavailable { opacity: .55; cursor: default; }
.country-card.unavailable:hover { transform: none; box-shadow: none; }
.country-card .flag { font-size: 48px; }
.country-card.no-flag::before { content: ""; min-height: 48px; }
.country-card strong { margin-top: auto; font-size: 30px; }
.country-card small { color: #8a601d; font-weight: 700; }

.club-browser { margin-top: 8px; }
.club-prompt { margin: 0 0 18px; font: 800 26px "Barlow Condensed", Arial, sans-serif; }
.club-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.club-card {
  min-height: 155px;
  padding: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #fff, #f4ead8);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.club-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 16px 35px rgba(70,44,5,.1); }
.club-mark { color: rgba(138,96,29,.24); font: 900 42px "Barlow Condensed", Arial, sans-serif; }
.club-card strong { margin-top: auto; font-size: 27px; }
.club-card small { margin-top: 5px; color: #8a601d; font-weight: 700; }
.club-result-head { margin: 0 0 22px; }
.club-result-head .catalogue-back { margin-bottom: 12px; }
.club-result-title { margin: 0; font: 800 34px "Barlow Condensed", Arial, sans-serif; }
.product-grid[hidden], .club-browser[hidden], .club-result-head[hidden], .product-card[hidden] { display: none !important; }

.empty-country {
  min-height: 240px;
  padding: 35px;
  border: 1px dashed rgba(138, 96, 29, .4);
  background: #f4ead8;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.empty-country b { color: rgba(138, 96, 29, .18); font-size: 72px; }
.empty-country strong { margin-top: 15px; font-size: 28px; }
.empty-country span { margin-top: 8px; color: var(--muted); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.product-grid[data-direct-products] {
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
}

.kids-level { display: none; margin-bottom: 45px; }
.kids-level.active { display: block; animation: catalogue-in .25s ease; }

.product-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(70, 44, 5, .12);
}

.product-image {
  height: 310px;
  padding: 16px;
  background: #f5f2ec;
  border-bottom: 4px solid var(--gold);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}



.kids-product-grid .product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.kids-product-grid .product-image img {
  width: 84%;
  height: 84%;
  object-position: center;
}

.product-info {
  padding: 20px;
}

.product-info > span {
  color: #8a601d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
}

.product-info h3 {
  margin: 8px 0 10px;
  font-size: 27px;
}

.product-info strong {
  font-size: 25px;
}

.coming-categories {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.coming-categories span {
  padding: 12px 17px;
  background: #efe4d0;
  color: #705b37;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .club-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
  .choice-grid { grid-template-columns: 1fr; }
  .choice-card { min-height: 180px; }
  .country-grid { grid-template-columns: repeat(2, 1fr); }
  .club-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-image { height: 240px; }
}

@media (max-width: 440px) {
  .club-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-image { height: 330px; }
}

@media (max-width: 600px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .hero-mark { width: 90%; max-width: 390px; margin-left: auto; margin-right: auto; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { font-size: 7px; }
  .adult-sizes { padding: 27px; align-items: flex-start; flex-direction: column; }
  .adult-sizes h2 { font-size: 48px; }
  .contact-actions { width: 100%; flex-direction: column; }
  .contact-actions .button { width: 100%; text-align: center; }

  /* Catálogo pensado para utilização com uma só mão no telemóvel. */
  body.mobile-catalogue-open { padding-bottom: calc(136px + env(safe-area-inset-bottom)); }
  #catalogo, #criancas { scroll-margin-top: 76px; }
  .catalogue-title { margin-bottom: 18px; font-size: 25px; }
  .catalogue-back { min-height: 46px; padding: 12px 16px; font-size: 14px; }
  .country-grid, .club-grid { gap: 10px; }
  .country-card, .club-card { min-height: 122px; padding: 15px; }
  .country-card .flag { font-size: 36px; }
  .country-card.no-flag::before { min-height: 36px; }
  .country-card strong, .club-card strong { font-size: 22px; line-height: 1; }
  .country-card small, .club-card small { margin-top: 7px; font-size: 12px; }
  .club-mark { font-size: 31px; }

  .product-grid,
  .product-grid[data-direct-products] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .product-image { height: 185px; padding: 8px; }
  .kids-product-grid .product-image { padding: 12px; }
  .kids-product-grid .product-image img { width: 94%; height: 94%; }
  .product-info { padding: 13px 11px 15px; }
  .product-info > span { font-size: 12px; line-height: 1.3; letter-spacing: .04em; }
  .product-info h3 { margin: 7px 0 8px; font-size: 21px; line-height: 1.05; }
  .product-info strong { font-size: 22px; }

  .mobile-catalogue-back {
    position: fixed;
    z-index: 40;
    left: 16px;
    right: 16px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    min-height: 54px;
    padding: 14px 22px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 14px;
    background: #12100d;
    color: #fff;
    box-shadow: 0 14px 35px rgba(18,16,13,.32);
    font: 800 16px Montserrat, Arial, sans-serif;
    text-align: left;
    cursor: pointer;
  }
  .mobile-catalogue-back[hidden] { display: none; }

  .mobile-section-nav {
    position: fixed;
    z-index: 39;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: calc(66px + env(safe-area-inset-bottom));
    padding: 6px 5px env(safe-area-inset-bottom);
    border-top: 1px solid rgba(80,55,18,.16);
    background: rgba(255,250,240,.97);
    box-shadow: 0 -10px 30px rgba(18,16,13,.12);
    backdrop-filter: blur(14px);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .mobile-section-nav a {
    min-width: 0;
    min-height: 54px;
    padding: 5px 2px;
    color: #6e6559;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-radius: 9px;
  }
  .mobile-section-nav b {
    font: 800 18px "Barlow Condensed", Arial, sans-serif;
    line-height: 1;
  }
  .mobile-section-nav span {
    overflow: hidden;
    max-width: 100%;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-section-nav a.active {
    background: #12100d;
    color: #fff;
  }
}

@media (max-width: 350px) {
  .product-grid,
  .product-grid[data-direct-products] { grid-template-columns: 1fr; }
  .product-image { height: 300px; }
}

@media (min-width: 601px) {
  .mobile-catalogue-back, .mobile-section-nav { display: none !important; }
}
