.size.req.swatch-nomal.swatch {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 300px;
    margin: 10px 0;
}
.size.req.swatch-nomal.swatch::before {
    content: "Chọn kích thước";
    display: block;
    position: relative;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 12px 16px;
    padding-right: 45px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    z-index: 2;
}

.size.req.swatch-nomal.swatch::after {
    content: "▼";
    position: absolute;
    top: 25px;
    right: 15px;
    transform: translateY(-50%);
    font-size: 12px;
    color: #666;
    pointer-events: none;
    transition: transform 0.3s ease;
    z-index: 3;
}
.size.req.swatch-nomal.swatch:hover::before {
    border-color: #e41b35;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}
.size.req.swatch-nomal.swatch.open::before {
    border-color: #e41b35;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.size.req.swatch-nomal.swatch.open::after {
    transform: translateY(-50%) rotate(180deg);
}
.select-swatch {
    position: relative;
}
.size.req.swatch-nomal.swatch {
    background: #fff;
    border-top: none;
    border-radius: 0 0 8px 8px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    transition: max-height 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.size.req.swatch-nomal.swatch.open {
    max-height: 300px;
}
.size.req.swatch-nomal.swatch a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: all 0.2s ease;
    background: transparent;
    font-size: 14px;
    position: relative;
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    margin-bottom: 0;
    margin-right: 0;
}
.size.req.swatch-nomal.swatch a:last-child {
    border-bottom: none;
}

.size.req.swatch-nomal.swatch a:hover {
    background: #f8f9fa;
    color: #e41b35;
    padding-left: 20px;
}

.size.req.swatch-nomal.swatch a.active {
    background: #e41b35;
    color: #fff;
    font-weight: 600;
}

.size.req.swatch-nomal.swatch a.active::before {
    content: "✓";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
}

.size.req.swatch-nomal.swatch a.active {
    padding-left: 35px;
}

/* Price display in option */
.size.req.swatch-nomal.swatch a .price-attr {
    float: right;
    font-size: 12px;
    color: #666;
    font-weight: normal;
}

.size.req.swatch-nomal.swatch a.active .price-attr {
    color: #fff;
}
.size.req.swatch-nomal.swatch .attr-size {
    display: block;
    border-bottom: 1px solid #eee;
}

.size.req.swatch-nomal.swatch .attr-size:last-child {
    border-bottom: none;
}

.size.req.swatch-nomal.swatch .attr-size img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 12px;
    vertical-align: middle;
}

.size.req.swatch-nomal.swatch .attr-size a {
    display: flex;
    align-items: center;
    padding: 8px 16px;
}

.size.req.swatch-nomal.swatch .attr-size a:hover {
    padding-left: 16px;
}
.size.req.swatch-nomal.swatch.has-selection::before {
    content: attr(data-selected-text);
    color: #e41b35;
    font-weight: 600;
}
@media (max-width: 768px) {
    .size.req.swatch-nomal.swatch {
        max-width: 100%;
    }
    .size.req.swatch-nomal.swatch::before {
        padding: 10px 14px;
        padding-right: 40px;
        font-size: 13px;
    }
    .size.req.swatch-nomal.swatch a {
        padding: 10px 14px;
        font-size: 13px;
    }
    .size.req.swatch-nomal.swatch .attr-size a {
        padding: 6px 14px;
    }
    .size.req.swatch-nomal.swatch .attr-size img {
        width: 35px;
        height: 35px;
    }
}