/* Updated styles for Sizing Guide (v6) */
:root {
  --green: #213629;
  --ink: #1e1d19;
  --lt: #f6f6f4;
  --mid: #f6f6f6;
  --border: #c3c0b4;
  --white: #ffffff;
}
html {
  box-sizing: border-box;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}
body {
  margin: 0;
  font-family: "Cabin", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  color: var(--ink);
  background: #fff;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5rem 0;
  line-height: 1.1;
}
h1.page-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 80px;
  font-weight: 400;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}
.section-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--green);
  text-align: center;
  margin: 2rem 0 1rem;
}
.brand-label {
  font-family: "Bebas Neue", sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin-left: 0.5rem;
}
.table-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
}
.section-intro {
  max-width: 880px;
  margin: 0 auto 2rem;
  text-align: center;
  font-size: 16px;
  line-height: 1.45;
}
.hero {
  background: #333
    url("https://assets.basspro.com/image/upload/v1762805875/UX/Experience/Size%20Guide/hero-bg.jpg")
    center/cover no-repeat;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.featured-brands {
  background: var(--white);
  padding: 1rem 1rem 2rem;
}
.other-brands {
  background: var(--lt);
  padding: 1rem;
}
.brand-accordion {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 1rem auto;
  max-width: 1200px;
  overflow: hidden;
  background: var(--white);
}
.brand-accordion.brand-other {
  background: var(--mid);
}
.brand-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 1rem 1.25rem;
  cursor: pointer;
  background: inherit;
}
.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.chevron {
  margin-left: auto;
  inline-size: 16px;
  block-size: 16px;
  display: inline-block;
  background: currentColor;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"/></svg>')
    center/contain no-repeat;
  transition: transform 0.2s ease;
}
details[open] .chevron {
  transform: rotate(180deg);
}
.accordion-content {
  padding: 1rem 1.25rem;
}
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: stretch;
  margin-bottom: 32px;
}
.quick-link {
  flex: 1 1 auto;
  text-align: center;
  padding: 10px 0;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-family: "Bebas Neue", sans-serif;
  font-size: 16px;
  border-radius: 4px;
}
.quick-link:focus,
.quick-link:hover {
  background: #1b2a23;
}
.table-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  margin: 24px 0 16px;
}
.how-to-measure {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green);
  text-decoration: underline;
  font-size: 14px;
}
.measure-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
}
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
}
.size-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  margin-top: 12px;
  margin-bottom: 24px;
}
.size-table th,
.size-table td {
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
  font-family: "Cabin", sans-serif;
  font-size: 14px;
  font-weight: 400;
  border: 1px solid var(--border);
}
.size-table thead {
  background: #fff;
  font-family: "Cabin", sans-serif;
  font-weight: 700;
}
.size-table tbody tr:nth-child(even) {
  background: var(--lt);
}
.size-table tbody tr:nth-child(odd) {
  background: #fff;
}
.size-table-block {
  padding-bottom: 24px;
}
.size-table .sticky-col {
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 2;
  box-shadow: 1px 0 0 rgba(0, 0, 0, 0.06);
}
.size-table thead .sticky-col {
  z-index: 3;
}
.modal {
  display: none;
}
.modal:target {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 999;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.modal__close-area {
  position: absolute;
  inset: 0;
  display: block;
}
.modal__dialog {
  max-width: 700px;
  width: 90%;

  border-radius: 8px;
  padding: 16px;
  overflow: auto;
  display: flex;
  flex-direction: row;
  gap: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  background: #fff;
}

.modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 0;
  background: #eee;
  border-radius: 4px;
  font-size: 20px;
  line-height: 1;
  padding: 2px 8px;
  cursor: pointer;
}
.modal__text strong {
  display: block;
  margin-top: 12px;
  font-size: 20px;
  font-weight: ;
}
.modal__title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 24px;
  color: var(--ink);
  margin: 0 0 0.5rem;
  display: none;
}
.modal__image {
  width: 164px;
  height: auto;
  margin: 0.5rem 0;
  background-color: #f6f6f4;
  border-radius: 8px;
}
.modal__text {
  font-size: 14px;
  line-height: 1.45;
}
.modal-image-and-text {
  display: flex;
  flex-direction: row;
}
@media (max-width: 480px) {
  .modal__dialog {
    max-width: 340px;
    max-height: 770px;
    flex-direction: column;
  }
  .modal__image {
    width: 50%;
    align-self: center;
  }
}

@media (max-width: 375px) {
  .modal__dialog {
    max-width: 340px;
    max-height: 80%;
    flex-direction: column;
  }
  .modal__image {
    width: 50%;
    align-self: center;
  }
}
