
.size-guide-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.main-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.title-divider {
  width: 60px;
  border: none;
  border-top: 4px solid #ccc;
  margin: 0 auto 30px;
}

.subheading {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}

.description {
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.what-is-size {
  margin-bottom: 40px;
  font-size: 16px;
}

.icon {
  margin-right: 5px;
  font-size: 16px;
  vertical-align: middle;
}

.size-info-link {
  font-weight: 600;
  text-decoration: none;
  color: #000;
  border-bottom: 1px solid #000;
  font-size: 16px;
}

.tab-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 30px;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  padding: 0;
}

.tabs-left {
  display: flex;
}

.tab-button {
  background: #fff;
  border: none;
  padding: 15px 30px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  border-right: 1px solid #000;
  transition: background 0.3s, color 0.3s;
}

.tab-button:last-child {
  border-right: none;
}

.tab-button.active {
  background: #000;
  color: #fff;
}

.tabs-right {
  position: relative;
}

.dropdown-container {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  background: #fff;
  border-left: 1px solid #000;
  padding: 15px 30px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  border: none;
  height: 100%;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 48px;
  right:0;
  background: #fff;
  border: 1px solid #000;
  z-index: 999;
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: left;
  min-width: 120px;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: #000;
  font-size: 16px;
}

.dropdown-menu li a:hover {
  background: #f0f0f0;
}

.unit-toggle-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 16px;
}

.unit-label {
  margin: 0 10px;
  font-size: 16px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  vertical-align: middle;
}

.switch input { display: none; }

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right:0; bottom:0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left:3px;
  bottom:3px;
  background-color: #fff;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #000;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  text-align: left;
  font-size: 16px;
  table-layout: fixed;
}

.size-table th, .size-table td {
  padding: 10px;
  border-bottom: 1px solid #000;
}

.size-table th {
  font-weight: 700;
}

.last-col-header {
  text-align: left;
}

@media(max-width:768px) {
  .tab-button {
    padding: 10px 20px;
  }

  .unit-toggle-container {
    flex-direction: column;
    gap: 10px;
  }
  
  .dropdown-toggle {
    padding: 10px 20px;
  }
}
