.jacket-size-block, .pants-size-block {
  padding: 15px 10px;
  margin-bottom: 15px;
  background: #f7f7f7;
  position: relative;
}

.ak-suits-size .suits-size-header {
  display: flex;
  flex-direction: column;
  gap:10px;
  cursor: pointer;
}

.ak-suits-size .title-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  height: 24px;
  line-height: 24px;
}

.ak-suits-size .title-box .title{
	text-transform: uppercase;
    font-size: 20px;
	font-weight:600;
}

.ak-suits-size .title-box .arrow-down-icon{
	z-index: 10;
    width: 13px;
    height: 13px;
    cursor: pointer;
	transition: transform 0.3s ease;
}

.ak-suits-size .title-box .arrow-down-icon.rotate {
  transform: rotate(180deg);
}

.ak-suits-size .title-extra .has-select {
  font-size: 17px;
  line-height: 22px;
  color: #80583f;
  font-weight: 500;
  text-transform: uppercase;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.ak-suits-size .has-select .icon{
    margin-right:5px;
}

.ak-suits-size .title-extra .no-select{
	font-weight: 500;
	font-size: 17px;
    line-height: 22px;
    text-transform: uppercase;
    color: #666;
}

.ak-suits-size .fit-block{
	margin-top:15px;
}

.ak-suits-size .fit-block-header,
.ak-suits-size .size-block-header,
.ak-suits-size .length-block-header{
	display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.ak-suits-size .fit-block-header .fit-block-title,
.ak-suits-size .size-block-header .size-block-title,
.ak-suits-size .length-block-header .length-block-title {
  font-size: 17px;
  text-transform: uppercase;
}

.ak-suits-size .title-label {
  font-weight:600;
  margin-right:6px;
}

.ak-suits-size .title-value{
   font-weight:400;
}

.ak-suits-size .fit-block-main,
.ak-suits-size .length-block-main,
.ak-suits-size .size-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    grid-column-gap: 5px;
    -webkit-column-gap: 5px;
    -moz-column-gap: 5px;
    column-gap: 5px;
	grid-row-gap: 5px;
    -webkit-row-gap: 5px;
    -moz-row-gap: 5px;
    row-gap: 5px;
    margin: 10px 0 25px;
}

.ak-suits-size .fit-block-item,
.ak-suits-size .length-block-item,
.ak-suits-size .size-item {
  width: calc((100% - 20px) / 5);
  text-align: center;
  height:30px;
  line-height:30px;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
  color:#121212;
  background:#fff;
  transition: all 0.2s ease;
}

.ak-suits-size .fit-block-item.active,
.ak-suits-size .length-block-item.active,
.ak-suits-size .size-item.selected {
  border: 1px solid #121212;
  font-weight: 600;
}

.ak-suits-size .fit-block-item:hover,
.ak-suits-size .length-block-item:hover,
.ak-suits-size .size-item:hover{
    border: 1px solid #121212;
}

.ak-suits-size .suits-size-chart{
    color: #121212;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: 5px;
    cursor: pointer;
}
.ak-suits-size .suits-size-chart-btn {
  font-size: 13px;
  text-decoration: underline;
  margin-left:5px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  color: #121212;
}

.ak-suits-size .product-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #121212;
  text-transform: uppercase;
  text-decoration: none;
}

.ak-suits-size .product-link .right-arrow-icon{
  width: 1em;
  height: 1em;
  vertical-align: -.15em;
  overflow: hidden;
  margin-right: 5px;
}

@media (max-width:767px){
	.jacket-size-block, .pants-size-block{background:#fff!important;}
}

.suit_size__container {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: rgba(0, 0, 0, .5);
    z-index: 1000;
}

.suit_size__wrapper {
    position: relative;
    z-index: 1000;
    background-color: #fff;
    max-height: calc(80vh + 40px);
    overflow-y: auto;
    width: 900px;
    height: unset;
}

.model_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e2e2e2;
}

.suit_size__wrapper .tabs {
    display: flex;
    justify-content: center;
    border-bottom:1px solid #121212;
}

.suit_size__wrapper .tab {
    display:flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    color:#999;
    cursor: pointer;
    font-weight: 600;
    width:33.333333%;
    transition: 0.3s;
    border-bottom: 3px solid transparent;
}

.suit_size__wrapper .tab:hover {
    color: #121212;
}

.suit_size__wrapper .tab.active {
    color:#121212;
    border-bottom: 3px solid #121212;
}

.suit_size__wrapper .content-area {
    padding: 30px;
}

.suit_size__wrapper .options {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.suit_size__wrapper .fit-options {
    display: flex;
    overflow: hidden;
}

.suit_size__wrapper .fit-option {
    padding:0;
    margin-right:20px;
    cursor: pointer;
    color:#999;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.suit_size__wrapper .fit-option.active {
    border-bottom: 2px solid #121212;
    color: #121212;
    font-weight:600;
}

.suit_size__wrapper .unit-toggle {
    display: flex;
    align-items: center;
    background: #f8f3ef;
    border-radius: 5px;
    border:1px solid #80583f;
    overflow: hidden;
}

.suit_size__wrapper .unit {
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.suit_size__wrapper .unit.active {
    background: #80583f;
    color: #fff;
}

.suit_size__wrapper .measurement-guide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.suit_size__wrapper .measurement-item {
    margin-bottom: 20px;
}

.suit_size__wrapper .measurement-item h3 {
    color: #121212;
    margin-bottom: 8px;
    font-size: 18px;
}

.suit_size__wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border:1px solid #e2e2e2!important;
    cursor: pointer;
	font-size:14px!important;
}

.suit_size__wrapper th, .suit_size__wrapper td {
    padding: 0!important;
    height:40px;
    text-align: center!important;
}

.suit_size__wrapper th {
    background-color: #e7ded5;
    font-weight: 600;
    color: #2c3e50;
    border-bottom:1px solid #fff;
}

.suit_size__wrapper tr:nth-child(even) {
    background-color: #f8f3ef;
}

.suit_size__wrapper tr:hover {
    background-color: #e7ded5;
}

.suit_size__wrapper .human-figure {
    display: flex;
    justify-content: center;
    align-items: center;
}

.suit_size__wrapper .suits-size-guide-image{
    width: 100%;
    max-width: 405px;
    height: auto;
}

.suit_size__wrapper .th-dropdown {
    display: inline-block;
    position: relative;
    width:100%;
}

.suit_size__wrapper .dropdown-box {
    position: relative;
    display:flex;
    justify-content: center;
    align-items: center;
}

.suit_size__wrapper .dropdown-selected {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    height:40px;
}

.suit_size__wrapper .dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 100;
    width:100%;
    min-width: 180px;
    display: none;
	padding:0!important;
	margin:0!important;
}

.suit_size__wrapper .dropdown-list.active {
    display: block;
}

.suit_size__wrapper .dropdown-list li {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .suit_size__wrapper .measurement-guide {
        grid-template-columns: 1fr;
    }
    .suit_size__wrapper .content-area{
        padding:20px 10px!important;
    }
    
}